Exemple
Dans l'exemple suivant, le nombre maximal de sauts configurés est de 10. Si une BPDU
transite par plus de 10 ponts, elle est rejetée par la onzième.
localhost# config
Entering configuration mode terminal
localhost(config)# switch spanning-tree mstp max-hops 10
localhost(config-switch-spanning-tree)# commit
Commit complete.
localhost(config-switch-spanning-tree)# end
localhost# show switch spanning-tree mstp max-hops
switch
spanning-tree
mstp max-hops 10
exit
exit
10.1.5.2
Ajout du nom d'une région.
La région MSTP porte par défaut le nom de l'adresse MAC de l'appareil. Il est toutefois possible de
définir n'importe quel autre nom si nécessaire.
Pour ajouter un nom de région MSTP, procédez comme suit :
Opéra‐
1
2
3
4
5
Exemple
Dans l'exemple suivant, on définit le nom sinecos pour la région MSTP.
localhost# config
Entering configuration mode terminal
localhost(config)# switch spanning-tree mstp region name sinecos
localhost(config-switch-spanning-tree)# commit
Commit complete.
localhost(config-switch-spanning-tree)# end
localhost# show switch spanning-tree mstp region name
switch
spanning-tree
mstp region name sinecos
exit
exit
Command Line Interface (CLI) SINEC OS V2.4
Manuel de configuration, 10/2023, C79000-G8977-C498-07
Instruction
tion
Passez en mode de configuration.
Entrez le nom de la région MSTP.
Par défaut : 00-0A-DC-92-00-00
Validez la modification.
Quittez le mode de configuration.
Contrôlez la configuration.
Redondance de réseaux
10.1 Spanning Tree Protocol (STP)
Commande
config
switch spanning-tree mstp
region name { Nom }
commit
end
show switch spanning-tree mstp
region name
395