Ich habe 2 Cisco C2960 Switche mit 2 Links redundant verbunden und wie erwartet hat STP auf einem Link davon den einen Port deaktiviert.
SW1
_____________
| | <- Root Bridge
--------------
Fa0/1 Fa0/2
| |
| |
| |
Fa0/1 Fa0/2
_____________
| D R | <- D=Designated, R=Root
--------------
SW2
Jetzt wollte ich den Root Port konfigurieren und in allen Tutiorials heißt es ich muss die Path Cost oder die Port Priority einstellen. Ich habe die Port Priority (Default 128) größer und kleiner gestellt es hat absolut nichts verändert.
Switch#sh span
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0007.EC03.56CD
Cost 19
Port 1(FastEthernet0/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 0009.7CB9.710A
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/1 Root LSN 19 128.1 P2p
Fa0/2 Altn BLK 19 128.2 P2p
Switch#
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int fa0/1
Switch(config-if)#span
Switch(config-if)#spanning-tree vlan 1 port-p
Switch(config-if)#spanning-tree vlan 1 port-priority
Switch(config-if)#spanning-tree vlan 1 port-priority 16
Switch(config-if)#
Switch(config-if)#
Switch(config-if)#do sh span
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0007.EC03.56CD
Cost 19
Port 1(FastEthernet0/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 0009.7CB9.710A
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/1 Root LSN 19 16.1 P2p
Fa0/2 Altn BLK 19 128.2 P2p
Switch(config-if)#spanning-tree vlan 1 port-priority 144
Switch(config-if)#do sh span
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 0007.EC03.56CD
Cost 19
Port 1(FastEthernet0/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 0009.7CB9.710A
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/1 Root LSN 19 144.1 P2p
Fa0/2 Altn BLK 19 128.2 P2p
Switch(config-if)#
Muss ich die Path Cost und die Port Priority ändern oder genügt eines von beiden?