拓扑图:
ip具体配置
vlan端口类型具体配置:
题目要求:
开始配置:
SW4:
sysname
sysname SW4
vlan batch 20
stp mode rstp
interface Ethernet0/0/1
port link-type access
port default vlan 20
stp edged-port enable
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10 20 99
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 10 20 99
port-group 1
group-member Ethernet 0/0/1 to Ethernet 0/0/10
port link-type access
port default vlan 10
stp edged-port enable
千万别忘了保存!!!!!!!!!!!!!!!!!!!!!
SW3:
sysname
sysname SW3
vlan batch 10
stp mode rstp
interf