0% found this document useful (0 votes)
5 views1 page

Router Configuration for Subinterfaces

The document outlines the configuration steps for a router, specifically enabling and configuring two sub-interfaces on a GigabitEthernet interface. It includes commands to bring the interfaces up and assign IP addresses with VLAN encapsulation. The configuration is saved successfully at the end.

Uploaded by

vampirehouse2020
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

Router Configuration for Subinterfaces

The document outlines the configuration steps for a router, specifically enabling and configuring two sub-interfaces on a GigabitEthernet interface. It includes commands to bring the interfaces up and assign IP addresses with VLAN encapsulation. The configuration is saved successfully at the end.

Uploaded by

vampirehouse2020
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

Router>en

Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int
Router(config)#interface
Router(config)#interface g
Router(config)#interface gigabitEthernet 0/0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state


to up

Router(config-if)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#
Router#
Router#
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#inte
Router(config)#interface gig
Router(config)#interface gigabitEthernet 0/0.1
Router(config-subif)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0.1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0.1, changed state


to up

Router(config-subif)#en
Router(config-subif)#encapsulation d
Router(config-subif)#encapsulation dot1Q 10
Router(config-subif)#ip add
Router(config-subif)#ip address [Link] [Link]
Router(config-subif)#exit
Router(config)#int
Router(config)#interface gi
Router(config)#interface gigabitEthernet 0/0.2
Router(config-subif)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0.2, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0.2, changed state


to up

Router(config-subif)#enc
Router(config-subif)#encapsulation do
Router(config-subif)#encapsulation dot1Q 20
Router(config-subif)#ip add
Router(config-subif)#ip address [Link] [Link]
Router(config-subif)#exit
Router(config)#do wr
Building configuration...
[OK]
Router(config)#

You might also like