【ネットワーク】spanning-treeを構成する

両極のPCはVLAN10に所属させる
switch0とswitch1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
configure terminal vlan 10 name VLAN10 exit interface fastethernet 0/1 switchport mode access switchport access vlan 10 exit interface fastethernet0/11 switchport mode trunk switchport trunk allow vlan 10 exit interface fastethernet0/12 switchport mode trunk switchport trunk allow vlan 10 exit spanning-tree mode pvst show spanning-tree vlan 10 |
switch2
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
configure terminal vlan 10 name VLAN10 exit interface fastethernet0/11 switchport mode trunk switchport trunk allow vlan 10 exit interface fastethernet0/12 switchport mode trunk switchport trunk allow vlan 10 exit spanning-tree mode pvst show spanning-tree vlan 10 |