Professional Documents
Culture Documents
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#!
R1(config)#interface Loopback0
R1(config-if)#
%LINK-5-CHANGED: Interface Loopback0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R1(config-if)#ip address 10.1.1.1 255.255.255.252
R1(config-if)#!
R1(config-if)#interface FastEthernet0/0
R1(config-if)#no ip address
R1(config-if)#duplex auto
R1(config-if)#speed auto
R1(config-if)#no shutdown
R1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R1(config-if)#!
R1(config-if)#interface FastEthernet0/0.5
R1(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet0/0.5, changed state to up
R1(config-subif)#!
R1(config-subif)#interface FastEthernet0/0.10
R1(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet0/0.10, changed state to up
R1(config-subif)#!
R1(config-subif)#!
R1(config-subif)#interface FastEthernet0/0.18
R1(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet0/0.18, changed state to up
R1(config-subif)#encapsulation 18
^
% Invalid input detected at '^' marker.
R1(config-subif)#ip address 18.18.18.1 255.255.255.0
R1(config-subif)#!
R1(config-subif)#ip route 192.168.20.0 255.255.255.0 192.168.10.2
R1(config)#ip route 192.168.30.0 255.255.255.0 192.168.10.3
R1(config)#!
R1(config)#line con 0
R1(config-line)#exec-timeout 0 0
R1(config-line)#logging synchronous
R1(config-line)#!
R1(config-line)#end
R1#
%SYS-5-CONFIG_I: Configured from console by console
R1#
SWITCH 1
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname S1
S1(config)#!
S1(config)#vtp mode transparent
Device mode already VTP TRANSPARENT.
S1(config)#vlan 5
S1(config-vlan)#name 10-11
S1(config-vlan)#exit
S1(config)#!
S1(config)#interface FastEthernet0/1
S1(config-if)#switchport trunk allowed vlan 5,10,11
S1(config-if)#switchport mode trunk
S1(config-if)#
S1(config-if)#switchport trunk native vlan 5
S1(config-if)#!
S1(config-if)#interface FastEthernet1/1
%Invalid interface type and number
S1(config)#interface FastEthernet0/2
S1(config-if)#switchport trunk allowed vlan 5,10,11
S1(config-if)#switchport mode trunk
S1(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down
S1(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to down
S1(config-line)#logging synchoronous
^
% Invalid input detected at '^' marker.
S1(config-line)#logging synchronous
S1(config-line)#end
S1#
%SYS-5-CONFIG_I: Configured from console by console
SWITCH 2
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname S2
S2(config)#
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (1),
with S1 FastEthernet0/2 (5).
vtp mode transparent
Setting device to VTP TRANSPARENT mode.
S2(config)#ip subnet-zero
^
% Invalid input detected at '^' marker.
S2(config)#
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (1),
with S1 FastEthernet0/2 (5).
S2(config)#ip subnet-zero
^
% Invalid input detected at '^' marker.
S2(config)#vlan 5,10-11,18
^
% Invalid input detected at '^' marker.
S2(config)#vlan 5
S2(config-vlan)#name 10-11,18
S2(config-vlan)#interface FastEthernet0/1
S2(config-if)#switc
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (1),
with S1 FastEthernet0/2 (5).
% Incomplete command.
S2(config-if)#switchport trunk allowed vlan 5,10,11,18
S2(config-if)#switchport mode access
S2(config-if)#!
S2(config-if)#interface FastEthernet 0/2
S2(config-if)#switchport trunk allowed vlan 5,10,11,18
S2(config-if)#
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (1),
with S1 FastEthernet0/2 (5).
S2(config-if)#!
S2(config-if)#switchport port-security mac-address sticky
S2(config-if)#switchport port-security mac-address sticky 0336.5ble.33fa
^
% Invalid input detected at '^' marker.
S2(config-if)#
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (1),
with S1 FastEthernet0/2 (5).
S2(config-if)#interface FastEthernet0/11
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (1),
wit
S2(config-if)#interface FastEthernet0/18
S2(config-if)#switchport access vlan 18
% Access VLAN does not exist. Creating vlan 18
S2(config-if)#interface vlan1
S2(config-if)#no ip address
S2(config-if)#shutdown
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (1),
with S1 FastEthernet0/2 (5).
S2(config-if)#interface vlan5
S2(config-if)#
%LINK-5-CHANGED: Interface Vlan5, changed state to up
S2(config-line)#logging synchronuos
^
% Invalid input detected at '^' marker.
S2(config-line)#
S2(config-line)#logging synchronous
S2(config-line)#end
S2#
%SYS-5-CONFIG_I: Configured from console by console
S2#
S2#enable
S2#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
S2(config)#interface
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (1),
with S1 FastEthernet0/2 (5).
S2(config)#interface vlan18
S2(config-if)#
%LINK-5-CHANGED: Interface Vlan18, changed state to up
S2(config-if)#interface FastEthernet0/18
S2(config-if)#switchport access vlan 18
S2(config-if)#switchport mode access
S2(config-if)#switchport
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (1),
with S1 FastEthernet0/2 (5).
S2(config-if)#switchport port-security
S2(config-if)#switchport port-security mac-address sticky
S2(config-if)#switchport port-security mac-address sticky 022c.abl3.22fb
^
% Invalid input detected at '^' marker.
S2(config-if)#end
S2#
%SYS-5-CONFIG_I: Configured from console by console
S2#
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (1),
with S1 FastEthernet0/2 (5).
S2#
SWITCH 3
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname S3
S3(config)#vtp mode transparent
Setting device to VTP TRANSPARENT mode.
S3(config)#vlan 5
S3(config-vlan)#name 10-11,18
S3(config-vlan)#interface FastEthernet0/1
S3(config-if)#switchport trunk allowed vlan 5,10,11,18
S3(config-if)#switchport mode trunk
S3(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
^
% Invalid input detected at '^' marker.
S3(config-if)#interface FastEthernet0/2
S3(config-if)#switchport trunk allowed vlan 5,10,11,18
S3(config-if)#switchport mode trunk
S3(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down
S3(config-if)#interface vlan5
S3(config-if)#
%LINK-5-CHANGED: Interface Vlan5, changed state to up
S3#
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (5),
with S2 FastEthernet0/3 (1).
S3#
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (5),
with S2 FastEthernet0/4 (1).
S3#