0% found this document useful (0 votes)
44 views

Ccna 6612

The document contains configuration commands for routers R1, S1 and HQ. R1 is configured with subinterfaces on GigabitEthernet 0/0 with encapsulation dot1Q and IP addresses for VLANs 10, 20, 30, 88 and 99. S1 has GigabitEthernet 0/1 configured as a trunk port with native VLAN 99. HQ routes IP networks for VLANs 10, 20, 30 and 88 over serial interface S0/0/0 and routes the 209.165.200.0 network with a gateway over S0/1/0.

Uploaded by

Imam Mutaqin
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views

Ccna 6612

The document contains configuration commands for routers R1, S1 and HQ. R1 is configured with subinterfaces on GigabitEthernet 0/0 with encapsulation dot1Q and IP addresses for VLANs 10, 20, 30, 88 and 99. S1 has GigabitEthernet 0/1 configured as a trunk port with native VLAN 99. HQ routes IP networks for VLANs 10, 20, 30 and 88 over serial interface S0/0/0 and routes the 209.165.200.0 network with a gateway over S0/1/0.

Uploaded by

Imam Mutaqin
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

R1>en

R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int g0/0.10
R1(config-subif)#encap
R1(config-subif)#encapsulation dot
R1(config-subif)#encapsulation dot1Q 10
R1(config-subif)#ip address 172.31.10.1 255.255.255.0
R1(config-subif)#int g0/0.20
R1(config-subif)#encapsulation dot1Q 20
R1(config-subif)#ip address 172.31.20.1 255.255.255.0
R1(config-subif)#int g0/0.30
R1(config-subif)#encapsulation dot1Q 30
R1(config-subif)#ip address 172.31.30.1 255.255.255.0
R1(config-subif)#int g0/0.88
R1(config-subif)#encapsulation dot1Q 88
R1(config-subif)#ip address 172.31.88.1 255.255.255.0
R1(config-subif)#int g0/0.99
R1(config-subif)#encapsulation dot1Q 99 native
R1(config-subif)#ip address 172.31.99.1 255.255.255.0
R1(config-subif)#exit
R1(config)#int g0/0
R1(config-if)#no sh

S1>en
S1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#ex
S1#
%SYS-5-CONFIG_I: Configured from console by console
S1#sh run
Building configuration...
!
!
!
end
S1#sh vlan brief
S1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#int g0/1
S1(config-if)#sw
S1(config-if)#switchport mode trunk

S1(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to
down

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


up

S1(config-if)#switchport trunk native vlan 99


S1(config-if)#end
S1#
%SYS-5-CONFIG_I: Configured from console by console
S1#
HQ>en
HQ#conf t
Enter configuration commands, one per line. End with CNTL/Z.
HQ(config)#ip route 172.31.10.0 255.255.255.0 s0/0/0
%Default route without gateway, if not a point-to-point interface, may impact performance
HQ(config)#ip route 172.31.20.0 255.255.255.0 s0/0/0
%Default route without gateway, if not a point-to-point interface, may impact performance
HQ(config)#ip route 172.31.30.0 255.255.255.0 s0/0/0
%Default route without gateway, if not a point-to-point interface, may impact performance
HQ(config)#ip route 172.31.88.0 255.255.255.0 s0/0/0
%Default route without gateway, if not a point-to-point interface, may impact performance
HQ(config)#ip route 209.165.200.30 255.255.255.224 s0/1/0
%Default route without gateway, if not a point-to-point interface, may impact performance
%Inconsistent address and mask
HQ(config)#ip route 209.165.200.0 255.255.255.224 s0/1/0
%Default route without gateway, if not a point-to-point interface, may impact performance
HQ(config)#ip route 209.165.200.0 255.255.255.224 s0/1/1 10
HQ(config)#
R1>en
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#ip route 0.0.0.0 0.0.0.0 s0/0/0
%Default route without gateway, if not a point-to-point interface, may impact performance
R1(config)#

You might also like