Guide de configuration des commutateurs Oracle® ES2-72 et ES2-64

Quitter la vue de l'impression

Mis à jour : Avril 2015
 
 

Configuration de RSTP

Cette tâche montre le flux de trafic dans la configuration RSTP sur SEFOS exécuté sur les commutateurs cibles. Cette tâche vérifie si une boucle est présente dans la topologie, si elle est détectée et si le trafic est bloqué pour le port de remplacement.

Voir la section Switching Feature Topology pour connaître la topologie de cette tâche.

  1. Configurez les paramètres initiaux.

    Voir la section Configure Initial Settings.

  2. Configurez le transfert de VLAN dans SEFOS-1 et SEFOS-2.

    Voir la section Configure VLAN Forwarding.

  3. Sur SEFOS-1, vérifiez le statut du port en mode RSTP.
    SEFOS-1# show spanning-tree
    Root Id          Priority   32768
                     Address    00:14:4f:6c:63:0f 
                     Cost       0
                     Port       0 [0]
                     Max Age 20 Sec, Forward Delay 15 Sec
     
    Spanning tree Protocol Enabled.
    Bridge is executing the rstp compatible Rapid Spanning Tree Protocol
    Bridge Id        Priority 32768
                       Address    00:14:4f:6c:63:0f
                       Cost       0
                       Port       0 [0]
                       Max Age 20 Sec, Forward Delay 15 Sec
     
    Spanning tree Protocol Enabled.
     
    Bridge is executing the rstp compatible Rapid Spanning Tree Protocol
    Bridge Id          Priority 32768
                       Address 00:14:4f:6c:63:0f
                       Hello Time 2 sec, Max Age 20 sec, Forward Delay 15 sec
                       Dynamic Path Cost is Disabled
                       Dynamic Path Cost Lag-Speed Change is Disabled
    Name              Role         State        Cost     Prio   Type
    ----              ----         -----        ----     ----   ----
    X10/1            		Designated 	 Forwarding   2000     128 	 P2P
    X10/2 	           	Designated 	 Forwarding   2000     128 	 P2P
    X10/21           		Designated 	 Forwarding   2000     128 	 P2P
    X10/22           		Designated 	 Forwarding   2000     128  	P2P
    ...
    
  4. Sur SEFOS-2, vérifiez le statut du port en mode RSTP.
    SEFOS-2# show spanning-tree
    Root Id         Priority   32768
                    Address    00:14:4f:6c:63:0f
                    Cost       4000
                    Port       X10/1
                    Max Age 20 Sec, Forward Delay 15 Sec
     
    Spanning tree Protocol Enabled.
     
    Bridge is executing the rstp compatible Rapid Spanning Tree Protocol
    Bridge Id       Priority 32768
                    Address 00:14:4f:6c:6e:0e
                    Hello Time 2 sec, Max Age 20 sec, Forward Delay 15 sec
                    Dynamic Path Cost is Disabled
                    Dynamic Path Cost Lag-Speed Change is Disabled
    Name              Role         State        Cost     Prio   Type
    ----              ----         -----        ----     ----   ------
    X10/1            		Designated  Forwarding   2000     128 	 P2P
    X10/21           		root	        Forwarding   2000     128 	 P2P
    X10/22           		Alternate   Discarding   2000     128 	P2P
    ...
    
  5. Envoyez une commande ping de l'hôte A vers l'hôte C.
    # ping -s 20.0.0.30
    

    Le trafic est acheminé via le port xl-ethernet 0/21 de SEFOS-1 vers le port 21 de SEFOS-2.

  6. Arrêtez le port xl-ethernet 0/21 à partir de SEFOS-2 et vérifiez le statut du port.
    SEFOS-2# configure terminal
    SEFOS-2(config)# int xl 0/1
    SEFOS-2(config)# shut
    SEFOS-2(config)# exit
    SEFOS-2# show spanning-tree
    Root Id         Priority   32768
                    Address    00:14:4f:6c:69:0f
                    Cost       4000
                    Port       Xl0/2
                    Max Age 20 Sec, Forward Delay 15 Sec
     
    Spanning tree Protocol Enabled.
     
    Bridge is executing the rstp compatible Rapid Spanning Tree Protocol
    Bridge Id       Priority 32768
                    Address 00:14:4f:6c:6e:0e
                    Hello Time 2 sec, Max Age 20 sec, Forward Delay 15 sec
                    Dynamic Path Cost is Disabled
                    Dynamic Path Cost Lag-Speed Change is Disabled
    Name              Role         State        Cost     Prio   Type
    ----              ----         -----        ----     ----   ------
    Xl0/2             root         Forwarding   2000     128    P2P
    Xl0/25            root         Forwarding   2000     128    P2P
    Xl0/25            root         Forwarding   2000     128    P2P
    ...
    
  7. Envoyez une commande ping de l'hôte A vers l'hôte C.
    # ping 20.0.0.30
    

    Le trafic doit être acheminé via le port xl-ethernet 0/2 sur SEFOS-1. Si RSTP fonctionne, le statut du port sera modifié.

Informations connexes