Redondance de réseaux
10.1 Spanning Tree Protocol (STP)
Exemple
Dans l'exemple suivant, le coût ethernet0/1 vers MSTI 1 est paramétré à 30 000.
localhost# config
Entering configuration mode terminal
localhost(config)# interface ethernet0/1 spanning-tree mst 1 cost 30000
localhost(config-mst-1)# commit
Commit complete.
localhost(config-mst-1)# end
localhost# show running-config interface ethernet0/1 spanning-tree mst 1
cost
interface ethernet0/1
spanning-tree
mst 1
exit
exit
exit
10.1.7
Surveillance STP
Ce paragraphe décrit les différentes méthodes de surveillance du service Spanning Tree.
10.1.7.1
Affichage de l'état du STP
Pour afficher l'état du service Spanning Tree, exécutez la commande suivante en mode de
fonctionnement :
show switch spanning-tree
Si vous ne souhaitez afficher que des informations définies, exécutez la commande avec
l'option appropriée :
show switch spanning-tree [ bridge-status | bridge-id | root-id | root-port
| root-cost | learned-hello-time | learned-forward-delay | learned-max-age
| total-topology-changes | time-since-last-tc ]
402
cost 30000
Command Line Interface (CLI) SINEC OS V2.4
Manuel de configuration, 10/2023, C79000-G8977-C498-07