dimanche 10 janvier 2016

STP configuration

STP : Spanning tree protocol

+Changer la priorité d'un Switch pour le vlan (1.50.10.20) :
Comm1(config)#spanning-tree vlan (1,50,10,20) priority 8000
---------------------------------------------------------------------

+changer le cout d'un port d'accés :
Comm1(config-if)#spanning-tree cost "4"
---------------------------------------------------------------------

+changer le cout d'un port de tronc :
Comm1(config-if)#spannig-tree vlan "99" cost "19"   (128 par défaut)

---------------------------------------------------------------------

+changer la priorité d'un port d'accés (en cas des couts égaux) :
Comm1(config-if)#spanning-tree port-priority "0-255"
---------------------------------------------------------------------

+changer la priorité d'un port de tronc (en cas des couts égaux) :
Comm1(config-if)#spanning-tree vlan "99" port-priority "0-255"
---------------------------------------------------------------------

+pour le diangnostic :
Comm1#show spanning-tree
Comm1#show spanning-tree vlan 99
---------------------------------------------------------------------

+Désactivation de STP :
Comm1(config)# no spanning-tree vlan 1

Aucun commentaire:

Enregistrer un commentaire