Guía de configuración de Oracle® Switch ES2-72 y Oracle Switch ES2-64

Salir de la Vista de impresión

Actualización: Abril de 2015
 
 

Configurar RSTP

Esta tarea muestra el flujo de tráfico en la configuración de RSTP en el SEFOS que se ejecuta en los conmutadores de destino. Esta tarea verifica si hay un bucle en la tipología, si se detecta y si se bloquea el tráfico para el puerto alternativo.

Consulte Switching Feature Topology para obtener la topología de esta tarea.

  1. Configure los parámetros iniciales.

    Consulte Configure Initial Settings.

  2. Configure el reenvío de VLAN en SEFOS-1 y SEFOS-2.

    Consulte Configure VLAN Forwarding.

  3. En SEFOS-1, verifique el estado del puerto en el modo 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. En SEFOS-2, verifique el estado del puerto en el modo 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. Ejecute Ping desde el host A al host C.
    # ping -s 20.0.0.30
    

    El tráfico se reenvía mediante el puerto xl-ethernet 0/21 en SEFOS-1 a SEFOS-2 puerto 21.

  6. Cierre el puerto xl-ethernet 0/21 desde SEFOS-2 y compruebe el estado del puerto.
    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. Ejecute Ping desde el host A al host C.
    # ping 20.0.0.30
    

    El tráfico debe reenviarse mediante el puerto xl-ethernet 0/2 en SEFOS-1. Si RSTP funciona, se producirá un cambio en el estado del puerto.

Información relacionada