term_server>1
[resuming connection 1 to switch 1 … ]
sw1#conft
enter configuration commands, one per line. end with cntl/z
sw1(config)#inte0/1
sw1(config-if)#vlan-membership ?
dynameic set vlan membership type as dynamic
static set vlan membership type as static
sw1(config-if)#vlan-membership static 10
sw1(config-if)#int e0/2
sw1(config-if)#vlan-membership static 11
sw1(config-if)#int e0/3
sw1(config-if)#vlan-membership static 12
sw1(config-if)#int e0/10
sw1(config-if)#vlan-membership static 10
sw1(config-if)#
sw1#sh vlan
vlan namestatus ports
————————–
1 defaultenabled4-9, 11-12, aui, a, b
10 dept1 enabled1,10
11 dept2 enabled2
12 dept3 enabled3
13 dept4 enabled
1002 fddi-default suspended
1003 token-ring-defau suspended
1004 fddinet-default suspended
1005 trnet-default suspended
—————————–
vlan typesaidmtuparent ringnobridgenostp transltrans2
———————————-
1 ethernet 100001 1500 000unkn 10021003
10ethernet 100010 1500 011unkn 00
11ethernet 100011 1500 011unkn 00
12ethernet 100012 1500 011unkn 00
13ethernet 100013 1500 011unkn 00
1002 fddi101002 1500 00 unkn 1 1003
1003 token-ring 101003 1500 10 unkn 1 1002
1004 fddi-net101004 1500 01 ieee 0 0
1005 token-ring-net 101005 1500 01 ieee 0 0
———————-
sw1#sh vlan 11
vlan namestatus ports
—————–
11dept2 enabled 2
————–
vlan type said mtuparent ringno bridgeno stp trans1 trans2
————
11 ethernet 100011 1500 011unkn0 0
——————-
sw1#sh vlan-membership
port vlan membership type port vlan membership type
———- ————
110 static
211static
312static
41 static
51 static
61 static
71 static
81 static
91 static
10 10 static
111 static
121 static
aui 1 static
a1 static
b1 static
第5段:查看stp信息
sw1#sh spantree 10
vlan1o is executing the ieee compatible spanning tree protocol
bridge identifier has priority 32768,address 0004.dd4e.9c81
configured hello time 2, max age 20, forward delay 15
current root has priority
root port is fastethernet0/26,cost of root path is 10
topology change flag not set, detected flag not set
topology changes 1, last topology change occured 0d00h04ml0s ago
times: hold 1, topology change 8960
hello 2, max age 20, forward delay 15
timers: hello 2, topology change 35, notification 2
port ethernet 0/1 of vlanio is forwarding
port path cost 100, port priority 128
designated root has priority 32768, address 0004.27c4.2401
designated bridge has priority 32768, address 0004.dd4e.9c81
designated port is 1, path cost 10
timers: message age 20, forward delay 15, hold 1
port ethernet 0/10 of vlanio is forwarding
port path cost 100, port priority 128
designated root has priority 32768,address 0004.27c4.2401
designated bridge has priority 32768,address 0004.dd4e.9c81
designated port is 10, path cost 10
timers: message age 20, forward delay 15, hold 1
port fastethernet 0/26 of vlanio is forwarding
port path cost 10, port priority 128
designated root has priority 32768,address 0004.27c4.2401
designated bridge has priority 32768, address 0004.27c4.2401
designated port is 26, path cost 0
timers: message age 20, forward delay 15, hold 1
sw1#
sw1#conft
enter configuration commands, one per line. end with cntl/z
sw1(config)#no spantree 10
sw1(config)#
sw1#sh spantree 10
error>r:-stp is not enabled for vlan 10
sw1#
(1)第1段是对vtp进行配置。
在全局配置模式下,使用vtp?命令查看vtp的可配置项目。可以看到,有vtp域名、vtp模式(server、clien
挂机用腾讯云服务器配置怎样检查腾讯企业邮箱的功能?虚拟主机哪个便宜19阿里云学生购买服务器优惠和域名一起收购,爱奇艺随刻近30万将suike.cn纳入囊中500m的虚拟主机够用吗?500m的虚拟主机够不够上海阿里云服务器购买国内稳定云服务器租用