该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
SA#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SA(config)#spanning-tree vlan 1
SA(config)#spanning-tree vlan 10
SA(config)#spa
SA(config)#spanning-tree vlan20
^
% Invalid input detected at '^' marker.
SA(config)#spanning-tree vlan 20
SA(config)#end
SA#
%SYS-5-CONFIG_I: Configured from console by console
wr
Building configuration...
[OK]
SA#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SA(config)#sp
SA(config)#spanning-tree vlan 1 root pri
SA(config)#spanning-tree vlan 1 root primary
SA(config)#ap
SA(config)#sp
SA(config)#spanning-tree vla
SA(config)#spanning-tree vlan 1 pri
SA(config)#spanning-tree vlan 1 priority 4096
SA(config)#end
%SYS-5-CONFIG_I: Configured from console by console
SA#wr
Building configuration...
[OK]
SA#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SA(config)#spanning-tree vlan 1 root primary
SA(config)#spanning-tree vlan 1 priority 8192
SA(config)#end
SA#
%SYS-5-CONFIG_I: Configured from console by console
wr
Building configuration...
[OK]
SA#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SA(config)#spanning-tree vlan 1 root primary
SA(config)#spanning-tree vlan 1 priority 4096
SA(config)#end
%SYS-5-CONFIG_I: Configured from console by console
SA#wr
Building configuration...
[OK]
SA#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SA(config)#spanning-tree vlan 1 root primary
SA(config)#spanning-tree vlan 1 priority 0
SA(config)#end
%SYS-5-CONFIG_I: Configured from console by console
SA#wr
Building configuration...
[OK]
SA#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SA(config)#in
SA(config)#interface fa
SA(config)#interface fastEthernet 0/23
SA(config-if)#sw
SA(config-if)#switchport m
SA(config-if)#switchport mode t
SA(config-if)#switchport mode trunk
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/23, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/23, changed state to up
SA(config-if)#sw
SA(config-if)#switchport t
SA(config-if)#switchport trunk all
SA(config-if)#switchport trunk allowed vl
SA(config-if)#switchport trunk allowed vlan 10
SA(config-if)#ex
SA(config)#in
SA(config)#interface fa
SA(config)#interface fastEthernet 0/24
SA(config-if)#sw
SA(config-if)#switchport m
SA(config-if)#switchport mode t
SA(config-if)#switchport mode trunk
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to up
SA(config-if)#sw
SA(config-if)#switchport t
SA(config-if)#switchport trunk al
SA(config-if)#switchport trunk allowed vlan 20
SA(config-if)#end
SA#
%SYS-5-CONFIG_I: Configured from console by console
wr
Building configuration...
[OK]
SA#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SA(config)#spanning-tree vlan 1 root pri
SA(config)#spanning-tree vlan 1 root primary
SA(config)#spanning-tree vlan 1 pri
SA(config)#spanning-tree vlan 1 priority 4096
SA(config)#end
SA#
%SYS-5-CONFIG_I: Configured from console by console
wr
Building configuration...
[OK]
SA#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SA(config)#spanning-tree vlan 1 root primary
SA(config)#spanning-tree vlan 1 priority 4096
SA(config)#end
%SYS-5-CONFIG_I: Configured from console by console
SA#wr
Building configuration...
[OK]
SA#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
%LINK-5-CHANGED: Interface FastEthernet0/10, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/10, changed state to down
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
%LINK-5-CHANGED: Interface FastEthernet0/10, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/10, changed state to up
SA#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SA(config)#in
SA(config)#interface fa
SA(config)#interface fastEthernet 0/1
SA(config-if)#sw
SA(config-if)#switchport a
SA(config-if)#switchport access v
SA(config-if)#switchport access vlan 10
SA(config-if)#ex
SA(config)#in
SA(config)#interface fa
SA(config)#interface fastEthernet 0/10
SA(config-if)#sw
SA(config-if)#switchport a
SA(config-if)#switchport access v
SA(config-if)#switchport access vlan 20
SA(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
SA#wr
Building configuration...
[OK]
SA#