- Table of Contents
-
- 10-High Availability Configuration Guide
- 00-Preface
- 01-Ethernet OAM configuration
- 02-CFD configuration
- 03-DLDP configuration
- 04-RRPP configuration
- 05-ERPS configuration
- 06-Smart Link configuration
- 07-Monitor Link configuration
- 08-VRRP configuration
- 09-BFD configuration
- 10-Track configuration
- 11-Process placement configuration
- 12-Reth interface and redundancy group configuration
- Related Documents
-
Title | Size | Download |
---|---|---|
12-Reth interface and redundancy group configuration | 158.85 KB |
Restrictions and guidelines: Reth interface configuration
Member interface configuration
Restoring default settings for a Reth interface
Displaying and maintaining Reth interfaces
Operating mechanism of a redundancy group
Redundancy group configuration tasks at a glance
Configuring a redundancy group node
Assigning physical Ethernet interfaces to a redundancy group
Assigning Reth interfaces to a redundancy group
Configuring the switchover timers
Performing a manual switchover to the low-priority node
Performing a manual switchover back to the high-priority node
Enabling SNMP notifications for redundancy groups
Displaying and maintaining redundancy groups
Configuring Reth interfaces
About Reth interfaces
A redundant Ethernet (Reth) interface is a virtual Layer 3 interface that uses two member interfaces to ensure link availability. One member interface is active and the other is inactive. When the active interface fails, the inactive interface becomes active. The member interface switchover does not interrupt traffic.
Operating mechanism
A member interface of a Reth interface can be in either of the following states:
· Active—The interface can forward packets. A Reth interface can have only one active member interface.
· Inactive—The interface cannot forward packets.
A Reth interface determines the state of its member interfaces by using the following rules:
· When the member interfaces are physically up, the member interface with the higher priority is active. The other member interface is inactive. The priority of an interface is user configurable.
· When the member interfaces are physically down, both interfaces are inactive.
· When the active member interface goes down physically, the inactive interface automatically becomes active to forward packets.
If the Reth interface is added to a redundancy group, the member interface states are determined by the redundancy group. For more information, see "Configuring redundancy groups."
The switchover between the Reth member interfaces is not visible to the network and does not cause network topology changes. For the upstream and downstream devices, they are connected to the Reth interface and learn only the MAC address of the Reth interface.
Application scenario
The Reth interface feature is typically used with the redundancy group feature. For more information, see "Configuring redundancy groups."
Restrictions and guidelines: Reth interface configuration
After you assign a management Ethernet interface to a Reth interface, the IP address of the management Ethernet interface no longer takes effect. You can log in only through the IP address of the Reth interface.
Member interface configuration
When you configure a Reth interface, follow these restrictions and guidelines:
· You can assign a maximum of two member interfaces to a Reth interface. The member interfaces must have different priorities.
· As a best practice, assign interfaces of the same type and speed to a Reth interface.
· You can assign an interface or subinterface to only one Reth interface.
· Do not specify a Reth interface as the outgoing interface in IPv6 static neighbor entries if its member interfaces contain subinterfaces. For more information about IPv6 static neighbor entries, see Layer 3—IP Services Configuration Guide.
Settings made on the member interfaces of a Reth interface will not take effect until they are removed from the Reth interface.
Member interface deletion
Before you delete a Reth interface, make sure all its member interfaces have been removed.
Configuring a Reth interface
1. Enter system view.
system-view
2. Create a Reth interface and enter its view.
interface reth interface-number
By default, no Reth interfaces exist.
3. Assign a member interface to the Reth interface.
member interface interface-type interface-number priority priority
By default, a Reth interface does not have member interfaces.
4. (Optional.) Configure the expected bandwidth for the Reth interface.
bandwidth bandwidth-value
By default, the expected bandwidth is 10000 kbps.
The expected bandwidth is an informational parameter used only by higher-layer protocols for calculation. You cannot adjust the actual bandwidth of an interface by using this command.
5. (Optional.) Configure the description of the Reth interface.
description text
The default description of a Reth interface is interface-name Interface (for example, Reth1 Interface).
6. (Optional.) Set the MTU of the Reth interface.
mtu size
By default, the MTU of a Reth interface is 1500 bytes.
7. Bring up the Reth interface.
undo shutdown
By default, a Reth interface is not manually shut down.
Restoring default settings for a Reth interface
Restrictions and guidelines
CAUTION: The default command might interrupt ongoing network services. Make sure you are fully aware of the impacts of this command when you execute it on a live network.. |
This command might fail to restore the default settings for some commands for reasons such as command dependencies and system restrictions.
To resolve this issue:
1. Use the display this command in interface view to identify these commands.
2. Use their undo forms or follow the command reference to restore their default settings.
3. If the restoration attempt still fails, follow the error message instructions to resolve the issue.
Procedure
1. Enter system view.
system-view
2. Enter a Reth interface view.
interface reth interface-number
3. Restore the default settings for the Reth interface.
default
Displaying and maintaining Reth interfaces
Execute display commands in any view and reset commands in user view.
Task |
Command |
Display information about the member interfaces of a Reth interface. |
display reth interface interface-type interface-number |
Display Reth interface information. |
display interface [ reth [ interface-number ] ] [ brief [ description | down ] ] |
Clear statistics for Reth interfaces. |
reset counters interface [ reth [ interface-number ] ] |
Configuring redundancy groups
About redundancy groups
A redundancy group works on IRF fabrics. It allows traffic to enter and leave an IRF fabric through the same member device.
Operating mechanism of a redundancy group
As shown in Figure 1, a redundancy group has two redundancy group nodes. Each node is bound to an IRF member device.
A redundancy group node is a collection of objects on its bound IRF member device. The objects include member interfaces of Reth interfaces and individual physical Ethernet interfaces. The state of the objects is consistent with the state of the node.
In a redundancy group, one node is in primary state, and the other node is in secondary state. Only the primary node forwards traffic. When the primary node fails, the redundancy group switches over to the secondary node. This mechanism ensures path symmetry for traffic.
As shown in Figure 1, a redundancy group performs a switchover as follows:
1. When both IRF member devices are operating correctly, the redundancy group forwards traffic through Node 1 (Device A) and backs up services and data (such as NAT) to Node 2 (Device B).
2. When the upstream interface on Device A fails, the redundancy group shuts down the downstream interface on Device A and switches traffic over to Device B.
Figure 1 Redundancy group operating mechanism
Redundancy group node states
A redundancy group node can act as the primary or secondary node. Only the primary node can forward traffic.
When both nodes are operating correctly, the primary node is selected in the following order:
1. The node with higher node priority.
2. The node with smaller ID if the two nodes have the same priority.
When the primary node fails, the secondary node takes over the primary role to forward traffic. For more information about the state monitoring and switchover mechanisms, see "Redundancy group switchover."
Redundancy group members
Application scenarios of redundancy group members
Redundancy group members can be physical Ethernet interfaces and Reth interfaces that are located on the IRF member devices bound to the group's nodes.
You can assign physical Ethernet interfaces or Reth interfaces to a redundancy group for symmetric traffic forwarding, as shown in Table 1.
Table 1 Application scenarios of physical Ethernet interfaces and Reth interfaces
Member type |
Application scenarios |
Supported interfaces |
Physical Ethernet interfaces |
Dynamic routing protocols run between the IRF fabric and its upstream and downstream devices. |
Layer 2 Ethernet interfaces. Later 3 Ethernet interfaces. |
Reth interfaces |
No dynamic routing protocol runs between the IRF fabric and its upstream and downstream devices. |
A Reth interface can use the following interfaces and their subinterfaces as member interfaces: · Layer 3 Ethernet interfaces. · Layer 3 aggregate interfaces. · EFM interfaces. |
Using physical Ethernet interfaces in a redundancy group
You assign physical Ethernet interfaces to a redundancy group by binding them to their respective redundancy group nodes.
For symmetric traffic switchover, you must bind a minimum of one downlink interface and a minimum of one uplink interface with each node of the redundancy group.
The state of the member physical Ethernet interfaces changes with the state of the redundancy group nodes. Only the member interfaces on the primary node can forward traffic.
As shown in Figure 2, Interface A1 and Interface A2 are on Node 1, and Interface B1 and Interface B2 are on Node 2. When Node 1 is in primary state, Interface A1 and Interface A2 are up to forward traffic, while Interface B1 and Interface B2 are shut down by the Reth module.
When Interface A1 goes down, the Reth module places Node 1 in secondary state and shuts down Interface A2. Node 2 changes to the primary state, and Interface B1 and Interface B2 come up to forward traffic, as shown in Figure 3.
Figure 2 States of the member interfaces when both nodes are operating correctly
Figure 3 States of the member interfaces after a switchover
Using Reth interfaces in a redundancy group
To use Reth interfaces for symmetric forwarding, you must assign two Reth interfaces to a redundancy group: one for uplink traffic and the other for downlink traffic. The Reth interfaces must meet the following requirements:
· The Reth interface for uplink traffic contains one uplink port on each redundancy group node.
· The Reth interface for downlink traffic contains one downlink port on each redundancy group node.
· The high-priority member of each Reth interface belongs to the high-priority node.
The state of each Reth interface's members depends on the state of the redundancy group nodes.
· When the high-priority node is in primary state, the high-priority member is active.
· When the low-priority node is in primary state, the low-priority member is active.
As shown in Figure 4, redundancy group 1 contains Reth 1 for uplink traffic and Reth 2 for downlink traffic. Reth 1 contains Interface A1 (on Node 1) and Interface B1 (on Node 2). Reth 2 contains Interface A2 (on Node 1) and Interface B2 (on Node 2).
When Node 1 is in primary state, Interface A1 in Reth 1 and Interface A2 in Reth 2 are active to forward uplink and downlink traffic, respectively.
When Interface A1 fails, the Reth module places Node 1 in secondary state and shuts down Interface A2, as shown in Figure 5. Node 2 changes to the primary state, and Interface B1 and Interface B2 become active to forward uplink and downlink traffic.
Figure 4 States of each Reth interface's members when both nodes are operating correctly
Figure 5 States of each Reth interface's members after a switchover
Redundancy group switchover
Switchover types
Redundancy group switchovers include automatic switchovers and manual switchovers.
Automatic switchover timers
Timers for automatic switchovers include the hold-down timer and the preemption delay timer.
· Hold-down timer—The hold-down timer specifies the minimum interval between two switchovers to prevent frequent switchovers. The timer starts when a switchover is finished. The redundancy group can perform the next switchover only after the hold-down timer expires.
· Preemption delay timer—The preemption delay timer specifies the delay for a switchover back to the high-priority node. The preemption delay timer starts when the switchover is triggered. The redundancy group performs the switchover only after the timer expires. The delay allows the system to process events (such as interface state changes) required for the switchover.
Automatic switchover
A redundancy group cooperates with the Track module to monitor link and interface status for automatic switchovers.
A redundancy group node has a weight of 255 (not configurable). Each redundancy group node is associated with one or multiple track entries that have a user-configurable weight decrement rate. When the state of a track entry changes, the weight of the associated node is reduced or increased, as follows:
· When the track entry changes to the NotReady or Negative state, the node weight is reduced by the weight decrement rate of the track entry.
· When the track entry changes to the Positive state, the node weight is increased by the weight decrement rate of the track entry.
When the node weight decreases to 0 or a lower value, a switchover request is triggered.
· Switchover to the low-priority node occurs when the hold-down timer expires.
· Switchover to the high-priority node occurs when the preemption delay timer expires.
Manual switchover
You can issue a manual switchover request in one of the following situations:
· Automatic switchover is disabled.
Automatic switchover is disabled for a redundancy group in one of the following situations:
¡ No tracked interfaces are excluded from the shutdown action by the Reth module.
¡ The preemption delay timer is set to 0.
· Switchovers are required when both redundancy group nodes operate correctly. For example, component replacement is required on the high-priority node.
Redundancy group configuration tasks at a glance
To configure a redundancy group, perform the following tasks:
1. Creating a redundancy group
2. Configuring a redundancy group node
3. Assigning members to the redundancy group
¡ Assigning physical Ethernet interfaces to a redundancy group
This task is applicable to the network scenario where a dynamic routing protocol runs between the IRF fabric and its upstream and downstream devices.
¡ Assigning Reth interfaces to a redundancy group
This task is applicable to the network scenario where no dynamic routing protocol runs between the IRF fabric and its upstream and downstream devices.
4. Configuring the switchover timers
5. (Optional.) Performing a manual switchover
6. (Optional.) Performing a manual switchover back to the high-priority node
7. (Optional.) Enabling SNMP notifications for redundancy groups
Creating a redundancy group
Restrictions and guidelines
Before you delete a redundancy group, you must remove all its Reth interfaces and redundancy group nodes.
Procedure
1. Enter system view.
system-view
2. Create a redundancy group and enter its view.
redundancy group group-name
By default, no redundancy groups exist.
Configuring a redundancy group node
Restrictions and guidelines
You can configure a maximum of two nodes for a redundancy group. Nodes in different redundancy groups can use the same ID.
You can create only one-to-one bindings between redundancy group nodes and IRF member devices. You cannot change the binding for a node if it has member interfaces or is associated with track entries.
When you associate a track entry with a redundancy group node, follow these restrictions and guidelines:
· You cannot associate a track entry with both nodes in a redundancy group.
· For correct interface state recovery, you must exclude a tracked interface from the shutdown action by the Reth module if the interface has one of the following roles:
¡ Member interface in the redundancy group.
¡ Member of a Reth interface in the redundancy group.
· On the high-priority node, do not exclude a subinterface from the shutdown action by the Reth module if its main interface has one of the following roles:
¡ Member interface of the redundancy group.
¡ Member of a Reth interface in the redundancy group.
When the Reth module shuts down the main interface, the subinterface is also shut down. The shutdown subinterface cannot recover automatically to trigger an automatic switchover.
Prerequisites
Before you associate a track entry with a redundancy group, you must configure the track entry. For more information about configuring track entries, see "Configuring Track."
Procedure
1. Enter system view.
system-view
2. Enter redundancy group view.
redundancy group group-name
3. Create a redundancy group node and enter its view.
node node-id
By default, no redundancy group nodes exist.
4. Set the priority of the redundancy group node.
priority priority
By default, the priority of a redundancy group node is 1.
5. Bind the redundancy group node with an IRF member device.
bind slot slot-number
By default, a node is not bound with an IRF member device.
6. Associate an existing track entry with the redundancy group node.
track track-entry-number [ reduced weight-reduced ] [ interface interface-type interface-number ]
By default, a node is not associated with track entries.
Assigning physical Ethernet interfaces to a redundancy group
Restrictions and guidelines
For symmetric traffic switchover, you must bind a minimum of one uplink interface and a minimum of one downlink interface with each node of the redundancy group.
You can bind a physical Ethernet interface with only one redundancy group node.
You cannot bind a member of a Reth interface with a redundancy group node.
Procedure
1. Enter system view.
system-view
2. Enter redundancy group view.
redundancy group group-name
3. Enter redundancy group node view.
node node-id
4. Bind a physical Ethernet interface with the redundancy group node.
node-member interface interface-type interface-number
By default, a physical Ethernet interface is not bound with a redundancy group node.
Assigning Reth interfaces to a redundancy group
Restrictions and guidelines
To use Reth interfaces for symmetric forwarding, you must assign two Reth interfaces to a redundancy group: one for uplink traffic and the other for downlink traffic. The Reth interfaces must meet the following requirements:
· The Reth interface for uplink traffic contains one uplink port on each redundancy group node.
· The Reth interface for downlink traffic contains one downlink port on each redundancy group node.
· The high-priority member of each Reth interface belongs to the high-priority node.
Procedure
1. Enter system view.
system-view
2. Create a Reth interface and enter its view.
interface reth interface-number
3. Assign a member interface to the Reth interface.
member interface interface-type interface-number priority priority
By default, a Reth interface does not have member interfaces.
Repeat this step to assign two member interfaces to the Reth interface. Assign a higher priority for the priority argument to the member interface on the high-priority redundancy node.
4. Return to system view.
quit
5. Enter redundancy group view.
redundancy group group-name
6. Assign the Reth interface to the redundancy group.
member interface reth interface-number
By default, a redundancy group does not contain Reth interfaces.
Configuring the switchover timers
1. Enter system view.
system-view
2. Enter redundancy group view.
redundancy group group-name
3. Set the hold-down timer for the redundancy group.
hold-down-interval second
By default, the hold-down timer is 1 second.
4. Set the preemption delay timer for the redundancy group.
preempt-delay min
By default, the preemption delay timer is 1 minute.
If you set this timer to 0 seconds, manual and automatic switchovers to the high-priority node are disabled.
Performing a manual switchover to the low-priority node
1. Enter system view.
system-view
2. Enter redundancy group view.
redundancy group group-name
3. Request a switchover to the low-priority node.
switchover request
Performing a manual switchover back to the high-priority node
1. Enter system view.
system-view
2. Enter redundancy group view.
redundancy group group-name
3. Request a switchover back to the high-priority node.
switchover reset
Enabling SNMP notifications for redundancy groups
About SNMP notifications for redundancy groups
This feature enables SNMP notifications for the following events:
· A manual switchover is performed.
· An interface goes down.
· A faulty interface is recovered.
To send the event notifications to an NMS, you must also configure SNMP as described in Network Management and Monitoring Configuration Guide.
Procedure
1. Enter system view.
system-view
2. Enable SNMP notifications for redundancy groups.
snmp-agent trap enable rddc
By default, SNMP notifications are enabled for redundancy groups.
Displaying and maintaining redundancy groups
Execute display commands in any view.
Task |
Command |
Display redundancy group information. |
display redundancy group [ group-name ] |