30.1.5 Notes on using of the Ring Protocol and spanning tree protocols together
- <Structure of this section>
-
-
(4) About Stopping Spanning Tree Protocols by Configuring and Deleting Ring Protocol
-
(5) Network construction when Ring Protocol and Spanning Tree Protocols are used together
-
(6) About Ring Protocol failure monitoring times and spanning tree BPDU sending intervals
-
(9) Recovery Procedure from Multiple Failures in a Combined Spanning Tree Environment
(1) About Associating Virtual-Link VLAN with VLAN Mapping
VLANs specified for virtual link VLANs must belong (be set in the VLAN mapping and VLAN group) to the VLAN for data transfer within a ring.
(2) About Virtual-Link VLAN Configuration Scopes
-
Settings for ring networks
For both single ring and multi-ring configurations (including multi-ring configurations with shared links) on ring networks comprising a virtual link, the virtual link VLAN needs to be set for the VLAN for data transfer. The setting must be specified for all nodes for which control frames might be sent or received between virtual links. If there are insufficient settings, virtual links cannot be used to send and receive control frames between base nodes, possibly causing faults to be mistakenly detected.
-
Settings for Spanning Tree networks
Because virtual link VLANs are used within ring networks, they cannot be used for downstream Spanning Tree Protocols. Therefore, loops might occur when a virtual link VLAN is set for a downstream port controlled by a Spanning Tree Protocol.
(3) About Spanning Tree when virtual link VLAN is not set
If no virtual link VLAN is set, the intended topology cannot be built because virtual links cannot be built. As a result, loops might occur.
(4) About Stopping Spanning Tree Protocols by Configuring and Deleting Ring Protocol
Setting and deleting a Ring Protocol configuration may cause the running Spanning Tree Protocols to be stopped. If Spanning Tree is stopped, the applicable VLAN may be looped, which may affect the topology of Spanning Tree Protocols.
-
When PVST+ is running and the first configuration of Ring Protocol is set, the running PVST+ is stopped. Before setting the first configuration for Ring Protocol, make sure that the ports (physical ports or channel groups) belonging to VLAN are set to shutdown. After the configuration command axrp vlan-mapping is set and the topology of all VLAN is ready to be constructed, place the port that was in the down status in the up status.
-
If Ring Protocol and PVST+ are used together and the configuration command axrp vlan-mapping is deleted, the active PVST+ is stopped. When deleting a axrp vlan-mapping command, make sure that the port (physical port or channel group) belonging to VLAN is in shutdown status, for example. Delete the setting of the applicable VLAN or delete all Ring Protocol configurations, and then bring up the port that was in the down status.
-
When Ring Protocol and Multiple Spanning Tree are used together and the last configuration of Ring Protocol is deleted, part of the running Multiple Spanning Tree is stopped. When deleting the last configuration of Ring Protocol, make sure that the ports (physical ports or channel groups) that comprise Spanning Tree Protocols are set to shutdown, etc. After deleting the last configuration in Ring Protocol, make sure that the port that was in the down status is in the up status.
(5) Network construction when Ring Protocol and Spanning Tree Protocols are used together
The basic configuration of a network using the Ring Protocol and a Spanning Tree Protocol is a loop. Before building a Spanning Tree Protocol on an access network for an existing ring network, bring the configuration port (physical port or channel group) on the Spanning Tree network down, such as by setting the shutdown command.
(6) About Ring Protocol failure monitoring times and spanning tree BPDU sending intervals
Set the fault monitoring time for health check frames for the Ring Protocol (health-check holdtime) to a value less than the timeout detection time for Spanning Tree BPDUs (hello-time x 3 (in seconds)). If a greater value is set and a fault occurs in the ring network, the Spanning Tree Protocol detects a BPDU timeout before the Ring Protocol detects a fault, causing the topology to change, and possibly creating a loop.
(7) Response to Program Restart on Transit Node
When restarting the Ring Protocol program (restart axrp operation command), first put the configuration port on the Spanning Tree network (physical port or channel group) into the down state (for example, by setting shutdown). After restart, either wait for the reception hold time for flush control frames on the transit node (forwarding-shift-time) to time out, or after the Forwarding transition time for control VLANs (forwarding-delay-time) is used to perform path switching, clear the shutdown (for example) on the port put into the down state.
(8) Handling unidirectional link failures in a ring network
The Ring Protocol does not detect ring faults for one-way link faults. When a one-way link fault occurs on a ring network, because virtual link control frames can no longer be sent or received, the Spanning Tree Protocol might mistakenly detect a BPDU timeout. This might cause a loop that lasts until the one-way link fault is resolved.
When the Ring Protocol and the IEEE 802.3ah/UDLD functionality are used together, one-way link faults can be detected to prevent the occurrence of the loops that they cause.
(9) Recovery Procedure from Multiple Failures in a Combined Spanning Tree Environment
When faults occur in multiple places in a ring network (multi-fault), virtual link control frames can no longer be sent and received, causing topology changes for the Spanning Tree Protocol. Multi-faults include when faults occur on both ring ports for a device using both the Ring Protocol and a Spanning Tree Protocol. In these cases, perform the following to restore all faults within a ring network:
-
Bring the configuration port of the Spanning Tree network (physical port or channel group) down such as by shutdown.
-
Restore the faults in the ring network, to have the master node detect ring fault restoration.
-
Clear shutdown for the configuration port of the Spanning Tree network to allow restoration.
(10) Consistency between Ring Protocol's VLAN mapping and VLAN belonging to MST instances of Multiple Spanning Tree
When a change in configuration causes the settings for VLAN mappings for the Ring Protocol and VLANs belonging to MST instances of Multiple Spanning Tree to no longer match, the unmatched VLANs might be put in Blocking status, preventing communication.