HP 6125G HP 6125G & 6125G/XG Blade Switches High Availability Configur
HP 6125G Manual
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
HP 6125G manual content summary:
- HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 1
HP 6125 Blade Switch Series High Availability Configuration Guide Part number: 5998-3161 Software version: Release 2103 Document version: 6W100-20120907 - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 2
, or use of this material. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 3
12 Ethernet OAM configuration example 13 Configuring CFD 15 Overview 15 Basic CFD concepts 15 CFD functions 17 Protocols and standards 18 CFD configuration task list 18 Configuring basic CFD settings 19 Enabling CFD 19 Configuring the CFD protocol version 19 Configuring service instances - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 4
38 Resetting DLDP state 38 Displaying and maintaining DLDP 39 DLDP configuration examples 39 Automatically shutting down unidirectional links 39 Manually shutting down unidirectional links 43 Troubleshooting DLDP 46 Configuring RRPP 47 RRPP overview 47 Background 47 Basic concepts in RRPP - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 5
balancing mode 118 Overview 118 Assigning virtual MAC addresses 119 Virtual forwarder 121 Packet types 123 Configuring VRRP for IPv4 123 VRRP for IPv4 configuration task list 123 Configuring a VRRP operation mode 124 Specifying the type of MAC addresses mapped to virtual IP addresses 124 - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 6
199 Static routing-Track-BFD collaboration configuration example 204 VRRP-track-interface management collaboration configuration example (the master monitors the uplink interface 207 Support and other resources 211 Contacting HP 211 Subscription service 211 Related information 211 Documents - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 7
Index 214 v - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 8
Level 2 should be considered during network design. Level 3 should be considered during network deployment, according to the network infrastructure and service characteristics. Availability evaluation MTBF MTTR Mean Time Between Failures (MTBF) and Mean Time to Repair (MTTR) are used to evaluate - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 9
, can shut down the related port automatically or prompt users to take actions to avoid network problems. "Configuring DLDP" in High Availability Configuration Guide As a tool monitoring Layer 2 link status, Ethernet OAM is mainly used to address common link-related issues on the "last mile - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 10
services. Table 3 Protection switchover technologies Technology Ethernet Link Aggregation Smart Link MSTP RRPP GR Introduction Reference Ethernet dynamically back up one another. "Configuring Ethernet ink aggregation" in Layer 2-LAN Switching Configuration Guide Smart Link is a feature - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 11
provides highly reliable default links on multicast and broadcast LANs such as Ethernet, avoiding network interruption due to failure of a single link. "Configuring VRRP" in High Availability Configuration Guide A single availability technology cannot solve all problems. Therefore, a combination - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 12
Configuring Ethernet OAM Ethernet OAM overview Ethernet Operation, Administration and Maintenance (OAM) is point-to-point link between two directly connected devices. Major functions of Ethernet OAM Ethernet OAM provides the following functions: • Link performance monitoring-Monitors the performance - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 13
peer of their OAM configuration information and the OAM capabilities of the local nodes. An Ethernet OAM connection can be Ethernet OAM mode or passive Ethernet OAM mode, but a switch role will be somewhat different depending on the mode. Table 6 Active Ethernet OAM mode and passive Ethernet - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 14
not disconnected but network performance is degrading gradually. Link monitoring is used to detect and indicate link faults in various environments. Ethernet OAM implements link monitoring through the exchange of Event Notification OAMPDUs. When detecting one of the link error events listed in Table - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 15
OAMPDU. For more information about physical IRF ports, see IRF Configuration Guide. This Switch Series is unable to send information OAMPDUs carrying Critical Events. Remote loopback Remote loopback is available only after the Ethernet OAM connection is established. With remote loopback enabled, the - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 16
Command system-view interface interface-type interface-number 3. Set the Ethernet OAM mode. oam mode { active | passive } 4. Enable Ethernet OAM on the current port. oam enable Remarks N/A N/A Optional. The default is active Ethernet OAM mode. Ethernet OAM is disabled by default. Configuring - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 17
event triggering threshold. Command system-view oam errored-frame-seconds period period-value oam errored-frame-seconds threshold threshold-value Remarks N/A Optional. 60 second by default. Optional. 1 by default. Configuring Ethernet OAM remote loopback Enabling Ethernet OAM remote loopback 10 - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 18
2-LAN Switching Configuration Guide. Configuration procedure To enable Ethernet OAM remote loopback in user view: Task Enable Ethernet OAM remote loopback on a specific port. Command oam loopback interface interface-type interface-number Remarks Disabled by default. To enable Ethernet OAM remote - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 19
loopback on the port. oam loopback Remarks N/A N/A Disabled by default. Rejecting the Ethernet OAM remote loopback request from a remote port The Ethernet OAM remote loopback function impacts other services. To solve this problem, you can disable a port from being controlled by the Loopback - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 20
error events. Command display oam { local | remote } [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] reset oam [ interface interface-type interface-number ] Remarks Available in any view Available in user view Ethernet OAM configuration example - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 21
Use the display oam configuration command to display the Ethernet OAM configuration. For example: # Display the Ethernet OAM configuration on Device A. [DeviceA] display oam configuration Configuration of the link event window/threshold : Errored-symbol Event period(in seconds) : 1 - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 22
Configuring CFD Overview Connectivity Fault Detection (CFD) is an end-to-end per-VLAN link layer OAM CFD to rapidly locate failure points. MA A maintenance association (MA) is a part of an MD. You can configure multiple MAs in an MD as needed. An MA is identified by the "MD name + MA name". 15 - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 23
MPs in the same MA. The level of an MA equals the level of the MD that the MA belongs to. MP An MP is configured on a port and belongs to an MA. MPs include maintenance association end points (MEPs) and maintenance association intermediate points (MIPs). • MEPs MEPs define the boundary - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 24
a MEP ID not included in the MEP list of the MA, it drops the message. CFD functions CFD works effectively only in properly configured networks. Its functions, which are implemented through the MPs, include: • Continuity check (CC) • Loopback (LB) • Linktrace (LT) CC Connectivity faults are usually - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 25
Configuring basic CFD Configuring settings service instances Creating a service instance with the MD name Creating a service instance without the MD name Configuring MEPs Configuring MIP generation rules Configuring CFD functions Configuring CC on MEPs Configuring LB on MEPs Configuring - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 26
MD configured. To configure the CFD protocol version: Step Command Remarks 1. Enter system view. system-view N/A 2. Configure the CFD protocol version. cfd version { draft5 | draft5-plus | standard } Optional. By default, CFD uses the standard version of IEEE 802.1ag. Configuring service - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 27
a MEP: Step 1. Enter system view. Command system-view 2. Configure a MEP list. cfd meplist mep-list service-instance instance-id 3. Enter Layer 2 Ethernet interface interface interface-type view. interface-number Remarks N/A By default, no MEP list is configured. To create a MEP, the MEP ID - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 28
in the cfd mip-rule command changes. To configure the rules for generating MIPs: Step 1. Enter system view. Command system-view 2. Configure the rules for cfd mip-rule { default | explicit } generating MIPs. service-instance instance-id Remarks N/A By default, neither MIPs nor the rules - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 29
CC on a MEP: Step 1. Enter system view. Command system-view 2. Configure the interval field value in the CCM messages cfd cc interval interval-value sent by MEPs. service-instance instance-id 3. Enter Layer 2 Ethernet interface interface interface-type view. interface-number 4. Enable CCM - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 30
255. Based on the LTRs that the MIPs return, the fault source can be located. To configure LT on MEPs: Step Command Remarks 1. Find the path between a source MEP and a target MEP. cfd linktrace service-instance instance-id mep mep-id { target-mep target-mep-id | target-mac mac-address } [ ttl - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 31
Task Command Display the information of a remote MEP. display cfd remote-mep service-instance instance-id mep mep-id [ are configured on all ports. You should configure the MIP generation rule as default. • Configure CC to monitor the connectivity among all the MEPs in MD_A and MD_B. Configure LB - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 32
1/0/4 to VLAN 100. 2. Enable CFD: # Enable CFD on Device A. system-view [DeviceA] cfd enable Enable CFD on Device B through Device E using the same method. 3. Configure service instances: # Create MD_A (level 5) on Device A, create MA_A, which serves VLAN 100, in MD_A, and create - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 33
instance 1 on Device B as explicit. [DeviceB] cfd mip-rule explicit service-instance 1 # Configure the MIP generation rule in service instance 2 on Device C as default. [DeviceC] cfd mip-rule default service-instance 2 6. Configure CC: # On Device A, enable the sending of CCM frames for MEP 1001 - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 34
instance 1 on GigabitEthernet 1/0/4. [DeviceE] interface gigabitethernet 1/0/4 [DeviceE-GigabitEthernet1/0/4] cfd cc service-instance 1 mep 5001 enable [DeviceE-GigabitEthernet1/0/4] quit Verifying the configuration 1. Verify the LB function: When the CC function detects a link fault, use the - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 35
Unidirectional links result in problems such as loops in an STP-enabled network. For example, the link between two switches, Switch A and Switch B, is a bidirectional and can be configured to shut down the related port automatically or prompt users to take actions to avoid network problems. As a data - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 36
DLDP timer Active timer Advertisement timer Probe timer Description Determines the interval for sending Advertisement packets with RSY tags, which defaults to 1 second. By default, a device in the active DLDP link state sends one Advertisement packet with RSY tags every second. The maximum number - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 37
In this case, the device does the following: Sends Disable packets. Either prompts the user to shut down the port or shuts down the port automatically (depending on the DLDP down mode configured). Removes the corresponding neighbor entries. When a new neighbor joins, a neighbor entry is created and - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 38
DLDP mode is designed for addressing black holes. It prevents situations where one end of a link is up and the other is down. If you configure forced speed and full duplex mode on a port, the situation shown in Figure 8 may occur (take the fiber link for example). Without DLDP enabled, the - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 39
DLDP packets and drops any packets where the two fields conflict with the corresponding local configuration. • MD5 authentication: { Before sending a packet, the sending side encrypts the user configured password using MD5 algorithm, assigns the digest to the Authentication field, and sets the - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 40
Table 15 Procedures for processing different types of DLDP packets received Packet type Processing procedure Advertisement packet with RSY tag Retrieves the neighbor information If the corresponding neighbor entry does not exist, creates the neighbor entry, triggers the Entry timer, and - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 41
Disable packets. In addition, depending on the user-defined DLDP down mode, shuts down the local port or prompts users to shut down the port. • If the packets and RecoverEcho packets. If related ports are manually shut down with the shutdown command, the auto-recovery mechanism will not take effect. - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 42
works properly on a link, you must configure the full duplex mode for the ports at two ends of the link, and configure a speed for the two ports, rather than letting them negotiate a speed. For more information about the duplex and speed commands, see Layer 2-LAN Switching Command Reference. 35 - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 43
configure DLDP on the device, first enable DLDP globally, and then enable it on each port. To enable DLDP: Step 1. Enter system view. 2. Enable DLDP globally. 3. Enter Layer 2 Ethernet interface view. 4. Enable DLDP. Command will increase. HP recommends that you use the default interval in most - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 44
2. Set the DelayDown timer. Command system-view dldp delaydown-timer time Remarks N/A Optional. 1 second by default. NOTE: DelayDown timer setting applies log and traps to prompt you to manually shut down unidirectional link ports with the shutdown command. HP recommends that you do as prompted. - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 45
sides of a link are the same. To configure DLDP authentication: Step 1. Enter system view. 2. Configure DLDP authentication. Command system-view dldp authentication-mode { none | { md5 | simple } password } Remarks N/A none by default. Resetting DLDP state After DLDP detects a unidirectional - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 46
Ethernet interface view. 3. Reset DLDP state. Command system-view interface interface-type interface-number dldp reset Remarks N/A N/A N/A Displaying and maintaining DLDP Task Command Display the DLDP configuration view Available in user view DLDP configuration examples Automatically shutting - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 47
Device A GE1/1/3 GE1/1/4 Cross-connected fibers Device A GE1/1/3 GE1/1/4 GE1/1/3 GE1/1/4 GE1/1/3 GE1/1/4 Device B Ethernet optical port Tx end Rx end Device B Fiber link Configuration procedure 1. Configure Device A: # Enable DLDP globally. system-view [DeviceA] dldp enable - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 48
to auto. [DeviceB] dldp unidirectional-shutdown auto 3. Verify the configuration: After the configurations are complete, you can use the display dldp command to display the DLDP configuration information on ports. # Display the DLDP configuration information on all the DLDP-enabled ports of Device - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 49
that in this example, the unidirectional links are caused by cross-connected fibers. Correct the fiber connections on detecting the unidirectional link problem. As a result, the ports shut down by DLDP automatically recover, and Device A displays the following log information: %Jan 18 17 - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 50
to manually shut down the faulty port. Figure 10 Network diagram Correct fiber connection Cross-connected fibers Device A Device A GE1/1/3 GE1/1/4 GE1/1/3 GE1/1/4 GE1/1/3 GE1/1/4 GE1/1/3 GE1/1/4 Device B Ethernet optical port Tx end Rx end Device B Fiber link Configuration procedure - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 51
port shutdown mode to manual. [DeviceB] dldp unidirectional-shutdown manual 3. Verify the configuration: After the configurations are complete, you can use the display dldp command to display the DLDP configuration information on ports. # Display the DLDP configuration information on all the DLDP - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 52
the Tx direction or cross-connected links exist between the local device and its neighbor. The shutdown mode is MANUAL. The port needs to be shut down by the user. The output shows that DLDP has detected a unidirectional link on both GigabitEthernet 1/1/3 and GigabitEthernet 1/1/4, and is asking you - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 53
1/1/4 is now up. Troubleshooting DLDP Symptom Two DLDP- in Advertisement state. Analysis The problem can be caused by the following passwords on Device A and Device B are not the same. Solution Make sure the interval to send Advertisement packets, the authentication mode, and the password configured - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 54
) and enterprise networks usually use the ring structure to improve reliability. However, services will be interrupted if any node in the ring network fails. A ring network usually uses Resilient Packet Ring (RPR) or Ethernet rings. RPR is high in cost because it needs dedicated hardware. Contrarily - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 55
state-Some physical links on the Ethernet ring are broken As shown in Figure 11, Domain 1 contains two RRPP rings: Ring 1 and Ring 2. The level of Ring 1 is set to 0, and that of Ring 2 is set to 1. Ring 1 is configured as the primary ring, and Ring 2 is configured as a subring. Control VLAN and - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 56
ports. Device B's Port 3 and Device C's Port 3 access only the subring, so they are edge ports. RRPP ring group To reduce Edge-Hello traffic, you can configure a group of subrings on the edge node or assistant-edge node. For more information about Edge-Hello packets, see "RRPPDUS." You must - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 57
for Forwarding Database. The master node initiates Complete-Flush-FDB packets to instruct the transit nodes to update their own MAC entries and ARP/ND primary ring. RRPP timers When RRPP checks the link state of an Ethernet ring, the master node sends Hello packets out of the primary port according - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 58
VLANs and sending Common-Flush-FDB packet to instruct all the transit nodes, the edge nodes, each node updates its own entries, traffic is switched to the normal link. Ring recovery The node of Ring 1 in Domain 2. With such configurations, traffic of different VLANs can be transmitted on different - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 59
Edge-Hello traffic, you can assign Ring 2 and Ring 3 to an RRPP ring group configured on the edge node Device B and assign Ring 2 and Ring 3 to an RRPP ring group configured on Device C. After such configurations, if all rings are activated, only Ring 2 on Device B sends Edge-Hello packets. Typical - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 60
, two or more rings are in the network topology and two common nodes exist between rings. You only need to define an RRPP domain and configure one ring as the primary ring and the other rings as subrings. Figure 14 Schematic diagram for an intersecting-ring network Dual homed rings As - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 61
diagram for a single-ring load balancing network Intersecting-ring load balancing In an intersecting-ring network, you can also achieve load balancing by configuring multiple domains. As shown in Figure 17, Ring 1 is the primary ring, and Ring 2 is the subring in both Domain 1 and Domain 2. Domain - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 62
-ring load balancing network Protocols and standards RFC 3619 Extreme Networks' Ethernet Automatic Protection Switching (EAPS) Version 1 is related to RRPP. RRPP configuration task list You can create RRPP domains based on service planning, specify control VLANs and data VLANs for each RRPP domain - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 63
configuration on all nodes in the RRPP domain to be configured. Configuration guidelines • To ensure proper forwarding of RRPPDUs, do not configure the default the undo control-vlan command to delete a control VLAN. • To transparently transmit RRPPDUs on a device not configured with RRPP, you must - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 64
0 (the CIST) by default. For more information about the commands, see Layer 2-LAN Switching Command Reference. 4. Activate MST region configuration manually. active region-configuration For more information about the command, see Layer 2-LAN Switching Command Reference. Optional. Available in - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 65
information, see the undo link-delay command (Layer 2-LAN Switching Command Reference). Configuration procedure To configure RRPP ports: Step 1. Enter system view. 2. Enter Layer 2 Ethernet interface view or Layer 2 aggregation interface view. Command system-view interface interface-type interface - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 66
spanning tree feature. 6. Configure the port to trust the 802.1p precedence of the received packets. Command port link-type trunk port default. By default, the port priority is trusted. Configuring RRPP nodes If a device carries multiple RRPP rings in an RRPP domain, only one ring can be configured - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 67
configure the primary ring before configuring the subrings. Perform this configuration on a device to be configured as an assistant-edge node. To specify an assistant-edge node: Step Command 1. Enter system view. 2. Enable RRPP. Command system-view rrpp enable Remarks N/A Disabled by default. 60 - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 68
rrpp domain domain-id ring ring-id enable Remarks N/A Disabled by default. Configuring RRPP timers Perform this configuration on the master node of an RRPP domain. To configure RRPP timers: Step Command 1. Enter system view. system-view 2. Enter RRPP domain view. rrpp domain domain-id - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 69
. Command system-view rrpp ring-group ring-group-id domain domain-id ring ring-id-list Displaying and maintaining RRPP Task Command Remarks id [ ring ring-id ] Available in user view RRPP configuration examples Single ring configuration example Networking requirements As shown in Figure 18 - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 70
on GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2, disable the spanning tree feature, and set the trusted packet priority type to 802.1p priority. Configure the two ports as trunk ports, and assign them to VLANs 1 through 30. [DeviceA] interface gigabitethernet 1/0/1 [DeviceA-GigabitEthernet1 - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 71
of RRPP domain 1. [DeviceB] rrpp domain 1 [DeviceB-rrpp-domain1] control-vlan 4092 [DeviceB-rrpp-domain1] protected-vlan reference-instance 1 # Configure Device B as the transit node of primary ring 1, with GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the secondary port - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 72
similar to that on Device B and is not shown here. 5. Verify the configuration: Use the display command to view RRPP configuration and operational information on each device. Intersecting ring configuration example Networking requirements As shown in Figure 19, • Device A, Device B, Device C, Device - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 73
of RRPP domain 1. [DeviceA] rrpp domain 1 [DeviceA-rrpp-domain1] control-vlan 4092 [DeviceA-rrpp-domain1] protected-vlan reference-instance 1 # Configure Device A as the master node of primary ring 1, with GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the secondary port, and - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 74
of RRPP domain 1. [DeviceB] rrpp domain 1 [DeviceB-rrpp-domain1] control-vlan 4092 [DeviceB-rrpp-domain1] protected-vlan reference-instance 1 # Configure Device B as a transit node of primary ring 1, with GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the secondary port, and - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 75
of RRPP domain 1. [DeviceC] rrpp domain 1 [DeviceC-rrpp-domain1] control-vlan 4092 [DeviceC-rrpp-domain1] protected-vlan reference-instance 1 # Configure Device C as a transit node of primary ring 1, with GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the secondary port, and - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 76
of RRPP domain 1. [DeviceD] rrpp domain 1 [DeviceD-rrpp-domain1] control-vlan 4092 [DeviceD-rrpp-domain1] protected-vlan reference-instance 1 # Configure Device D as the transit node of primary ring 1, with GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the secondary port - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 77
[DeviceE-rrpp-domain1] quit # Enable RRPP. [DeviceE] rrpp enable 6. Verify the configuration: Use the display command to view RRPP configuration and operational information on each device. Dual homed rings configuration example Networking requirements As shown in Figure 20, • Device A through Device - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 78
node of the primary ring and assistant-edge nodes of the connected subrings, their GigabitEthernet 1/0/3 and GigabitEthernet 1/0/4 as the edge ports. NOTE: Configure the primary and secondary ports on the master nodes properly to make sure that other protocols still work normally when data VLANs are - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 79
of RRPP domain 1. [DeviceA] rrpp domain 1 [DeviceA-rrpp-domain1] control-vlan 4092 [DeviceA-rrpp-domain1] protected-vlan reference-instance 1 # Configure Device A as the master node of primary ring 1, with GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the secondary port, and - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 80
on GigabitEthernet 1/0/1 through GigabitEthernet 1/0/4, disable the spanning tree feature, and set the trusted packet priority type to 802.1p priority. Configure the four ports as trunk ports, and assign them to VLANs 1 through 30. [DeviceB] interface gigabitethernet 1/0/1 [DeviceB-GigabitEthernet1 - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 81
, and enable subring 2. [DeviceB-rrpp-domain1] ring 2 node-mode assistant-edge edge-port gigabitethernet 1/0/4 [DeviceB-rrpp-domain1] ring 2 enable # Configure Device B as the assistant-edge node of subring 3, with GigabitEthernet 1/0/3 as the edge port, and enable subring 3. [DeviceB-rrpp-domain1 - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 82
, and enable subring 4. [DeviceC-rrpp-domain1] ring 4 node-mode assistant-edge edge-port gigabitethernet 1/0/3 [DeviceC-rrpp-domain1] ring 4 enable # Configure Device C as the assistant-edge node of subring 5, with GigabitEthernet 1/0/4 as the edge port, and enable subring 5. [DeviceC-rrpp-domain1 - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 83
of RRPP domain 1. [DeviceD] rrpp domain 1 [DeviceD-rrpp-domain1] control-vlan 4092 [DeviceD-rrpp-domain1] protected-vlan reference-instance 1 # Configure Device D as the transit node of primary ring 1, with GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the secondary port - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 84
of RRPP domain 1. [DeviceE] rrpp domain 1 [DeviceE-rrpp-domain1] control-vlan 4092 [DeviceE-rrpp-domain1] protected-vlan reference-instance 1 # Configure Device E as the master node of subring 2, with GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the secondary port, and - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 85
of RRPP domain 1. [DeviceF] rrpp domain 1 [DeviceF-rrpp-domain1] control-vlan 4092 [DeviceF-rrpp-domain1] protected-vlan reference-instance 1 # Configure Device F as the master node of subring 3, with GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the secondary port, and - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 86
of RRPP domain 1. [DeviceG] rrpp domain 1 [DeviceG-rrpp-domain1] control-vlan 4092 [DeviceG-rrpp-domain1] protected-vlan reference-instance 1 # Configure Device G as the master node of subring 4, with GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the secondary port, and - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 87
rrpp-domain1] quit # Enable RRPP. [DeviceH] rrpp enable 9. Verify the configuration: Use the display command to view RRPP configuration and operational information on each device. Intersecting-ring load balancing configuration example Networking requirements As shown in Figure 21, • Device A, Device - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 88
GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2, disable the spanning tree feature, and set the trusted packet priority type to 802.1p priority. Configure the two ports as trunk ports, and assign them to VLAN 1 and VLAN 2. [DeviceA] interface gigabitethernet 1/0/1 [DeviceA-GigabitEthernet1/0/1] undo - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 89
VLAN of RRPP domain 1. [DeviceA] rrpp domain 1 [DeviceA-rrpp-domain1] control-vlan 100 [DeviceA-rrpp-domain1] protected-vlan reference-instance 1 # Configure Device A as the master node of primary ring 1, with GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the secondary port - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 90
VLAN of RRPP domain 1. [DeviceB] rrpp domain 1 [DeviceB-rrpp-domain1] control-vlan 100 [DeviceB-rrpp-domain1] protected-vlan reference-instance 1 # Configure Device B as a transit node of primary ring 1 in RRPP domain 1, with GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 91
, and set the trusted packet priority type to 802.1p priority. Configure the port as a trunk port, remove it from VLAN 1, assign it to VLAN 2, and configure VLAN 2 as its default VLAN. [DeviceC] interface gigabitethernet 1/0/3 [DeviceC-GigabitEthernet1/0/3] undo link-delay [DeviceC-GigabitEthernet1 - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 92
VLAN of RRPP domain 1. [DeviceC] rrpp domain 1 [DeviceC-rrpp-domain1] control-vlan 100 [DeviceC-rrpp-domain1] protected-vlan reference-instance 1 # Configure Device C as the transit node of primary ring 1 in RRPP domain 1, with GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 93
VLAN of RRPP domain 1. [DeviceD] rrpp domain 1 [DeviceD-rrpp-domain1] control-vlan 100 [DeviceD-rrpp-domain1] protected-vlan reference-instance 1 # Configure Device D as the transit node of primary ring 1 in RRPP domain 1, with GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 94
the two ports as trunk ports, remove them from VLAN 1, assign them to VLAN 2, and configure VLAN 2 as their default VLAN. [DeviceE] interface gigabitethernet 1/0/1 [DeviceE-GigabitEthernet1/0/1] undo link-delay [DeviceE-GigabitEthernet1/0/1] undo stp enable [DeviceE-GigabitEthernet1/0/1] qos - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 95
1 as the protected VLAN. [DeviceF] rrpp domain 1 [DeviceF-rrpp-domain1] control-vlan 100 [DeviceF-rrpp-domain1] protected-vlan reference-instance 1 # Configure Device F as the master node of subring 3 in RRPP domain 1, with GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 96
rrpp-ring-group1] domain 2 ring 2 [DeviceC-rrpp-ring-group1] domain 1 ring 3 8. Verify the configuration: Use the display command to view RRPP configuration and operational information on each device. Troubleshooting Symptom When the link state is normal, the master node cannot receive Hello packets - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 97
on convergence speed. RRPP can meet users' demand on convergence speed, but it involves complicated networking and configurations and is mainly used in ring-shaped networks. For more information about STP and RRPP, see Layer 2-LAN Switching Configuration Guide and "Configuring RRPP." Smart Link is - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 98
dual uplink networks • Subsecond convergence • Easy to configure Terminology Smart link group A smart link group consists of fails, the slave port takes over to forward traffic. As shown in Figure 22, you can configure Port1 of Device C and Port1 of Device D as master ports, and Port2 of Device C - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 99
port switches to the forwarding state, the system outputs log information to notify the user of the to environments with devices not supporting Smart Link, including devices of occurs: • If the smart link group is not configured with role preemption, to keep traffic forwarding stable, Port1 - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 100
are not member ports of any aggregation group or service loopback group. NOTE: A loop may occur on the configuring the protected VLANs, configure the mappings between MSTIs and the VLANs to be protected. For more information about MSTI, see Layer 2-LAN Switching Configuration Guide. To configure - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 101
CIST (MSTI 0) by default. For more information about the commands, see Layer 2-LAN Switching Command Reference. 4. Activate MST region configuration manually. active region-configuration For more information about the command, see Layer 2-LAN Switching Command Reference. Optional. Available in - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 102
link group, and enter smart link group view. 3. Enable role preemption. 4. Configure the preemption delay. Command system-view smart-link group group-id preemption mode role preemption delay delay-time Remarks N/A N/A By default, the device works in the non-preemption mode. Optional. 1 second by - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 103
Enter Layer 2 Ethernet interface view or Layer 2 aggregate interface view. Command system-view interface interface-type interface-number Remarks N/A N/A 3. Configure the control VLANs smart-link flush enable for receiving flush messages. [ control-vlan vlan-id-list ] By default, no control VLAN - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 104
Task Clear the statistics about flush messages. Command reset smart-link statistics Remarks Available in user view Smart Link configuration examples Single smart link group configuration example Network requirements As shown in Figure 23, Device C and Device D are smart link devices, and Device - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 105
port link-type trunk [DeviceC-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30 [DeviceC-GigabitEthernet1/0/2] quit # Create smart link group 1, and configure all VLANs mapped to MSTI 1 as the protected VLANs. [DeviceC] smart-link group 1 [DeviceC-smlk-group1] protected-vlan reference-instance - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 106
and assign it to VLANs 1 through 30. Disable the spanning tree feature and enable flush message receiving on it, and configure VLAN 20 as the receive control VLAN. [DeviceB] interface gigabitethernet 1/0/2 [DeviceB-GigabitEthernet1/0/2] port link-type trunk [DeviceB-GigabitEthernet1/0/2] port trunk - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 107
and assign it to VLANs 1 through 30. Disable the spanning tree feature and enable flush message receiving on it, and configure VLAN 10 as the receive control VLAN. [DeviceE] interface gigabitethernet 1/0/2 [DeviceE-GigabitEthernet1/0/2] port link-type trunk [DeviceE-GigabitEthernet1/0/2] port trunk - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 108
control-vlan 10 20 [DeviceA-GigabitEthernet1/0/2] quit 6. Verify the configuration: You can use the display smart-link group command to display the smart link group configuration on a device. # Display the smart link group configuration on Device C. [DeviceC] display smart-link group 1 Smart - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 109
port link-type trunk [DeviceC-GigabitEthernet1/0/2] port trunk permit vlan 1 to 200 [DeviceC-GigabitEthernet1/0/2] quit # Create smart link group 1, and configure all VLANs mapped to MSTI 1 as the protected VLANs for smart link group 1. [DeviceC] smart-link group 1 [DeviceC-smlk-group1] protected - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 110
-smlk-group1] preemption mode role [DeviceC-smlk-group-1] flush enable control-vlan 10 [DeviceC-smlk-group-1] quit # Create smart link group 2, and configure all VLANs mapped to MSTI 2 as the protected VLANs for smart link group 2. [DeviceC] smart-link group 2 [DeviceC-smlk-group2] protected-vlan - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 111
control-vlan 10 110 [DeviceA-GigabitEthernet1/0/2] quit 5. Verify the configuration: You can use the display smart-link group command to display the smart link group configuration on a device. # Display the smart link group configuration on Device C. [DeviceC] display smart-link group all Smart - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 112
5 16:37:20 2010/02/21 GigabitEthernet1/0/1 SLAVE STANDBY 1 17:45:20 2010/02/21 You can use the display smart-link flush command to display the flush messages received on a device. # Display the flush messages received on Device B. [DeviceB] display smart-link flush Received flush packets - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 113
Configuring Monitor Link Monitor Link overview Monitor Link is a port collaboration function. Monitor Link usually works together with Layer 2 topology protocols. The idea is to monitor - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 114
up, the monitor link group goes up and brings up all the downlink ports. HP does not recommend manually shutting down or bringing up the downlink ports in a monitor link group. Configuring Monitor Link Configuration prerequisites Make sure that the port is not the member port of any aggregation - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 115
link group in interface view: Step 1. Enter system view. 2. Enter Layer 2 Ethernet interface view or Layer 2 aggregate interface view. 3. Configure the current interface as a member of a monitor link group. Command system-view interface interface-type interface-number port monitor-link group group - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 116
/0/2] port link-type trunk [DeviceC-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30 [DeviceC-GigabitEthernet1/0/2] quit # Create smart link group 1, and configure all the VLANs mapped to MSTI 1 as the protected VLANs for smart link group 1. [DeviceC] smart-link group 1 [DeviceC-smlk-group1 - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 117
-type trunk [DeviceB-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30 [DeviceB-GigabitEthernet1/0/1] smart-link flush enable [DeviceB-GigabitEthernet1/0/1] quit # Configure GigabitEthernet 1/0/2 as a trunk port, assign it to VLANs 1 through 30, disable the spanning tree feature, and enable flush - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 118
gigabitethernet 1/0/1 uplink [DeviceD-mtlk-group1] port gigabitethernet 1/0/2 downlink [DeviceD-mtlk-group1] quit 5. Verify the configuration: Use the display monitor-link group command to display the monitor link group information on devices. For example, when GigabitEthernet 1/0/2 on Device - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 119
switches. • The term interface in the VRRP feature refers to VLAN interfaces. VRRP overview Typically, as shown in Figure 27, you can configure a default introduces the problem of routing among the egresses. Virtual Router Redundancy Protocol (VRRP) is designed to address this problem. VRRP adds - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 120
, which has its own IP address. Hosts on the Ethernet use the virtual router as the default gateway. The router with the highest priority among the three router is called the IP address owner. Only one IP address owner can be configured for a VRRP group. A router in a VRRP group can be in master - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 121
. The greater the number, the higher the priority. Priorities 1 to 254 are configurable. Priority 0 is reserved for special uses and priority 255 for the IP address a backup. Authentication mode To avoid attacks from unauthorized users, VRRP adds authentication keys into packets for authentication. - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 122
Packet format The master multicasts VRRP packets periodically to declare its existence. VRRP packets are also used for checking the parameters of the virtual router and electing the master. VRRP packets are encapsulated in IP packets, with the protocol number being 112. Figure 29 shows the format of - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 123
support MD5 authentication. • Adver Int-Interval for sending advertisement packets. For VRRPv2, the interval is in seconds and defaults to 1. For VRRPv3, the interval is in centiseconds and defaults . The VRRP group configuration might be different on routers, and network problems might exist, so - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 124
not able to access external networks because of the uplink failure. This problem can be solved by tracking a specified uplink interface. If the tracked normal communication. For more information about track entries, see "Configuring track." VRRP application (taking IPv4-based VRRP for example) - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 125
In load sharing mode, multiple routers provide services simultaneously. This mode requires two or more B, and Router C, hosts on the LAN need to be configured to use VRRP group 1, 2, and 3 as the default gateways. When you configure VRRP priorities, make sure that each router holds such a priority - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 126
on VRRP standard protocol mode, so mechanisms, such as master election, preemption, and tracking functions, in the standard protocol mode are also supported in the load balancing mode. In addition, VRRP load balancing mode has new mechanisms, which are introduced in the following sections. Assigning - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 127
Figure 34 Answering ARP requests Network Router A Master Virtual MAC: 000f-e2ff-0011 Virtual IP: 10.1.1.1/24 Router B Backup Virtual MAC: 000f-e2ff-0012 ARP request Target IP: 10.1.1.1/24 Gateway IP: 10.1.1.1/24 ARP reply Target MAC: 000f-e2ff-0011 ARP request Target IP: 10.1.1.1/24 ARP - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 128
Virtual forwarder Creating a virtual forwarder Virtual MAC addresses help different hosts transmit packets to different routers in a VRRP group. To enable the routers in the VRRP group to forward the packets, be sure to create virtual forwarders (VFs) on the routers. Each VF associates with a - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 129
Figure 36 VF information Figure 36 illustrates the VF information on each router in the VRRP group and how the routers back up one another. The master, Router A, assigns virtual MAC addresses 000f-e2ff-0011, 000f-e2ff-0012, and 000f-e2ff-0013 to itself, Router B, and Router C, respectively. The VFs - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 130
the AVF as their gateway MAC address cannot access the external network. This problem can be solved by the VF tracking function. You can monitor the uplink balancing. Configuring VRRP for IPv4 VRRP for IPv4 configuration task list To form a VRRP group, perform the following configurations on each - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 131
: Step 1. Enter system view. 2. Configure a VRRP operation mode. Command system-view Remarks N/A Configure VRRP to operate in standard protocol mode: undo vrrp mode Configure VRRP to operate in load balancing mode: vrrp mode load-balance Use either command. By default, VRRP operates in standard - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 132
advertisements of these VRRP groups are to be sent through QinQ networks, HP recommends you to map the real MAC addresses of the interfaces to the Command system-view vrrp method { real-mac | virtual-mac } Remarks N/A Optional. Virtual MAC address by default. Creating a VRRP group and configuring - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 133
for the VRRP group. Command system-view interface interface-type interface-number vrrp vrid virtual-router-id virtual-ip virtual-address Remarks N/A N/A VRRP group is not created by default. Configuring router priority, preemptive mode and tracking function Configuration guidelines • The running - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 134
in preemptive mode and the preemption delay is 0 seconds by default. Optional. No interface is being tracked by default. Optional. Not configured by default. Configuring VF tracking Configuration guidelines • You can configure the VF tracking function when VRRP is operating in either standard - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 135
Configure VF tracking. Command Remarks system-view N/A interface interface-type interface-number N/A Configure configured by default. Configuring VRRP packet attributes Configuration guidelines • You might configure problem, prolong the time interval to send VRRP advertisements. • Configuring - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 136
Network Management and Monitoring Configuration Guide. To enable the trap function for VRRP: Step 1. Enter system view. 2. Enable the trap function for VRRP. Command system-view snmp-agent trap enable vrrp [ authfailure | newmaster ] Remarks N/A Optional. Enabled by default. For more information - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 137
VRRP group status. Display VRRP group statistics. Clear VRRP group statistics. Command Remarks display vrrp [ verbose ] [ interface interface-type interface-number ] ] Available in user view Configuring VRRP for IPv6 VRRP for IPv6 configuration task list Task Configuring a VRRP operation mode - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 138
one IPv6 address. To avoid such as problem, map the virtual IPv6 address of the Command system-view vrrp ipv6 method { real-mac | virtual-mac } Remarks N/A Optional. Virtual MAC address by default. Creating a VRRP group and configuring a virtual IPv6 address When creating a VRRP group, configure - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 139
a VRRP group, and must be removed the last. Optional. By default, no global unicast address is configured as the virtual IPv6 address of a VRRP group. Configuring router priority, preemptive mode and tracking function Configuration guidelines • The running priority of an IP address owner is always - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 140
view. Command system-view Remarks N/A 2. Enter the specified interface view. interface interface-type interface-number N/A 3. Configure the priority of the router in the VRRP group. vrrp ipv6 vrid virtual-router-id priority priority-value Optional. 100 by default. 4. Configure the router - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 141
Configure VF tracking. Command system-view Remarks N/A interface interface-type interface-number N/A Configure configured by default. Configuring VRRP packet attributes Configuration guidelines • You might configure problem, prolong the time interval to send VRRP advertisements. • Configuring - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 142
vrid virtual-router-id ] ] Available in user view IPv4-based VRRP configuration examples Single VRRP group configuration example Network requirements • Host A wants to access Host B on the Internet, using 202.38.160.111/24 as its default gateway. • Switch A and Switch B belong to VRRP group 1 with - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 143
as five seconds to avoid frequent status switchover. [SwitchA-Vlan-interface2] vrrp vrid 1 preempt-mode timer delay 5 2. Configure Switch B: # Configure VLAN 2. system-view [SwitchB] vlan 2 [SwitchB-Vlan2] port gigabitethernet 1/0/5 [SwitchB-vlan2] quit [SwitchB] interface vlan-interface - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 144
, Host B can be pinged successfully on Host A. To verify your configuration, use the display vrrp verbose command. # Display the detailed information about VRRP group 1 on Switch A. [SwitchA-Vlan-interface2] display vrrp verbose IPv4 Standby Information: Run Mode : Standard Run Method - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 145
Switch A fails, Switch B becomes the master, and packets sent from Host A to Host B are forwarded by Switch B. # After Switch A resumes normal operation, use the display vrrp verbose command by Switch B. • To prevent attacks to the VRRP group from illegal users by using spoofed packets, configure - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 146
as five seconds to avoid frequent status switchover. [SwitchA-Vlan-interface2] vrrp vrid 1 preempt-mode timer delay 5 # Set VLAN interface 3 on Switch A to be tracked, and configure the amount by which the priority value decreases to be more than 10 (30 in this example), so that when VLAN-interface - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 147
, Host B can be pinged successfully on Host A. To verify your configuration, use the display vrrp verbose command. # Display the detailed information about VRRP group 1 on Switch A. [SwitchA-Vlan-interface2] display vrrp verbose IPv4 Standby Information: Run Mode : Standard Run Method - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 148
To view the detailed information about the VRRP group, use the display vrrp verbose command. # If VLAN-interface 3 on Switch A is not available, the detailed information about VRRP group 1 on Switch A is displayed. [SwitchA-Vlan-interface2] display vrrp verbose IPv4 Standby Information: Run Mode - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 149
VRRP with multiple VLANs configuration example Network requirements • Hosts in VLAN 2 use 202.38.160.100/25 as their default gateway and hosts in VLAN 3 use 202.38.160.200/25 as their default gateway. • Switch A and Switch B belong to both VRRP group 1 and VRRP group 2. The virtual IP address of - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 150
[SwitchB-Vlan-interface3] vrrp vrid 2 priority 110 3. Verify the configuration: To verify your configuration, use the display vrrp verbose command. # Display the detailed information about the VRRP group on Switch A. [SwitchA-Vlan-interface3] display vrrp verbose IPv4 Standby Information: Run - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 151
Internet through Switch A; in VRRP group 2 Switch A is the backup, Switch B is the master and hosts with the default gateway of 202.38.160.200/25 accesses the Internet through Switch B. VRRP load balancing mode configuration example Network requirements • Switch A, Switch B, and Switch C belong to - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 152
• Configure track entries on Switch C to monitor Switch A and Switch B. When Switch A or Switch B fails, Switch C immediately takes over the AVF on Switch A or Switch B. Figure 40 Network diagram Network Switch A Master Vlan-int3 AVF 1 Switch B Vlan-int3 Backup AVF 2 Vlan-int2 IP: 10.1.1.2/24 - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 153
, another router with a higher weight can take over. [SwitchA] interface vlan-interface 2 [SwitchA-Vlan-interface2] vrrp vrid 1 weight track 1 reduced 250 2. Configure Switch B: # Configure VLAN 2. system-view [SwitchB] vlan 2 [SwitchB-vlan2] port gigabitethernet 1/0/5 [SwitchB-vlan2] quit - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 154
-switchover member-ip 10.1.1.3 4. Verify the configuration: After the configuration, Host A can ping the external network. To verify your configuration, use the display vrrp verbose command. # Display the detailed information about VRRP group 1 on Switch A. [SwitchA-Vlan-interface2] display vrrp - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 155
Weight Track Information: Track Object : 1 State : Positive Weight Reduced : 250 # Display the detailed information about VRRP group 1 on Switch B. [SwitchB-Vlan-interface2] display vrrp verbose IPv4 Standby Information: Run Mode : Load Balance Run Method : Virtual MAC Total number of - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 156
Weight Track Information: Track Object : 1 State : Positive Weight Reduced : 250 # Display the detailed information about VRRP group 1 on Switch C. [SwitchC-Vlan-interface2] display vrrp verbose IPv4 Standby Information: Run Mode : Load Balance Run Method : Virtual MAC Total number of - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 157
one AVF and two LVFs that act as the backups. # When VLAN-interface 3 on Switch A fails, use the display vrrp verbose command to display the detailed information about VRRP group 1 on Switch A. [SwitchA-Vlan-interface2] display vrrp verbose IPv4 Standby Information: Run Mode : Load Balance Run - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 158
Track Information: Track Object : 1 State : Negative Weight Reduced : 250 # Use the display vrrp verbose command to display the detailed information about VRRP group 1 on Switch C. [SwitchC-Vlan-interface2] display vrrp verbose IPv4 Standby Information: Run Mode : Load Balance Run Method - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 159
corresponding to MAC address 000f-e2ff-0011 on Switch C becomes the AVF, and Switch C takes over Switch A for packet forwarding. # When the seconds) expires, display the detailed information about VRRP group 1 on Switch C. [SwitchC-Vlan-interface2] display vrrp verbose IPv4 Standby Information: - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 160
does not forward the packets destined for the MAC address any more. # When Switch A fails, use the display vrrp verbose command to display the detailed information about VRRP group 1 on Switch B. [SwitchB-Vlan-interface2] display vrrp verbose IPv4 Standby Information: Run Mode : Load Balance - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 161
group configuration example Network requirements • Switch A and Switch B belong to VRRP group 1 with the virtual IP addresses of 1::10/64 and FE80::10. • Host A wants to access Host B on the Internet, and learns 1::10/64 as its default gateway through RA messages sent by the switches. • When Switch - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 162
-Vlan-interface2] vrrp ipv6 vrid 1 preempt-mode timer delay 5 # Enable Switch A to send RA messages, so that Host A can learn the default gateway address. [SwitchA-Vlan-interface2] undo ipv6 nd ra halt 2. Configure Switch B: # Configure VLAN 2. system-view [SwitchB] ipv6 [SwitchB] vlan - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 163
, Host B can be pinged successfully on Host A. To verify your configuration, use the display vrrp ipv6 verbose command. # Display the detailed information about VRRP group 1 on Switch A. [SwitchA-Vlan-interface2] display vrrp ipv6 verbose IPv6 Standby Information: Run Mode : Standard - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 164
tracking configuration example Network requirements • Switch A and Switch B belong to VRRP group 1 with the virtual IP addresses of 1::10/64 and FE80::10. • Host A wants to access Host B on the Internet, and learns 1::10/64 as its default gateway through RA messages sent by the switches. 157 - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 165
A connects to the Internet is not available, packets sent from Host A to Host B are forwarded by Switch B. • To prevent attacks to the VRRP group from illegal users by using spoofed packets, configure the authentication mode as plain text to authenticate the VRRP packets in VRRP group 1, and specify - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 166
Switch A to send RA messages, so that Host A can learn the default gateway address. [SwitchA-Vlan-interface2] undo ipv6 nd ra halt 2. Configure Switch B: # Configure the configuration, use the display vrrp ipv6 verbose command. # Display the detailed information about VRRP group 1 on Switch A. - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 167
detailed information about the VRRP group, use the display vrrp ipv6 verbose command. # When interface VLAN-interface 3 on Switch A is not available, the detailed information about VRRP group 1 on Switch A is displayed. [SwitchA-Vlan-interface2] display vrrp ipv6 verbose IPv6 Standby Information - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 168
VLANs configuration example Network requirements • Switch A and Switch B belong to both VRRP group 1 and VRRP group 2. The virtual IPv6 addresses of VRRP group 1 are 1::10/64 and FE80::10, and those of VRRP group 2 are 2::10/64 and FE90::10. • Hosts in VLAN 2 learn 1::10/64 as their default gateway - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 169
1 priority 110 [SwitchA-Vlan-interface2] quit # Enable Switch A to send RA messages, so that hosts in VLAN 2 can learn the default gateway address. [SwitchA-Vlan-interface2] undo ipv6 nd ra halt [SwitchA-Vlan-interface2] quit # Configure VLAN 3. [SwitchA] vlan 3 [SwitchA-vlan3] port gigabitethernet - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 170
vrid 2 priority 110 # Enable Switch B to send RA messages, so that hosts in VLAN 3 can learn the default gateway address. [SwitchB-Vlan-interface3] undo ipv6 nd ra halt 3. Verify the configuration: To verify the configuration, use the display vrrp ipv6 verbose command. # Display the detailed - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 171
left Auth Type : None Virtual IP : FE90::10 2::10 Master IP : FE90::2 # Display the detailed information about the VRRP group on Switch B. [SwitchB-Vlan-interface3] display vrrp ipv6 verbose IPv6 Standby Information: Run Mode : Standard Run Method : Virtual MAC Total number of virtual - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 172
the Internet through Switch A; in VRRP group 2 Switch A is the backup, Switch B is the master and hosts with the default gateway of 2::10/64 accesses the Internet through Switch B. VRRP load balancing mode configuration example Network requirements • Switch A, Switch B, and Switch C belong to VRRP - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 173
of Switch B (110) and that of Switch C (100), so that Switch A can become the master. [SwitchA-Vlan-interface2] vrrp ipv6 vrid 1 priority 120 # Configure Switch A delay 5 # Enable Switch A to send RA messages so that hosts on network segment 1::/64 can learn the default gateway address. [SwitchA- - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 174
track 1 reduced 250 4. Verify the configuration: After the configuration, Host A can ping the external network. To verify the configuration, use the display ipv6 vrrp verbose command. # Display the detailed information about VRRP group 1 on Switch A. [SwitchA-Vlan-interface2] display vrrp ipv6 - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 175
Weight Track Information: Track Object : 1 State : Positive Weight Reduced : 250 # Display the detailed information about VRRP group 1 on Switch B. [SwitchB-Vlan-interface2] display vrrp ipv6 verbose IPv6 Standby Information: Run Mode : Load Balance Run Method : Virtual MAC Total number - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 176
Weight Track Information: Track Object : 1 State : Positive Weight Reduced : 250 # Display the detailed information about VRRP group 1 on Switch C. [SwitchC-Vlan-interface2] display vrrp ipv6 verbose IPv6 Standby Information: Run Mode : Load Balance Run Method : Virtual MAC Total number - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 177
has one AVF and two LVFs acting as the backups. # When VLAN interface 3 on Switch A fails, use the display vrrp ipv6 verbose command to display the detailed information about VRRP group 1 on Switch A. [SwitchA-Vlan-interface2] display vrrp ipv6 verbose IPv6 Standby Information: Run Mode : Load - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 178
Track Information: Track Object : 1 State : Negative Weight Reduced : 250 # Use the display vrrp ipv6 verbose command to display the detailed information about VRRP group 1 on Switch C. [SwitchC-Vlan-interface2] display vrrp ipv6 verbose IPv6 Standby Information: Run Mode : Load Balance Run - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 179
to MAC address 000f-e2ff-4011 on Switch C becomes the AVF, and Switch C takes over Switch A for packet forwarding. # When the seconds) expires, display the detailed information about VRRP group 1 on Switch C. [SwitchC-Vlan-interface2] display vrrp ipv6 verbose IPv6 Standby Information - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 180
does not forward the packets destined for the MAC address any more. # When Switch A fails, use the display vrrp ipv6 verbose command to display the detailed information about VRRP group 1 on Switch B. [SwitchB-Vlan-interface2] display vrrp ipv6 verbose IPv6 Standby Information: Run Mode : Load - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 181
Troubleshooting VRRP The screen frequently displays error prompts. Analysis This error is probably caused by: • Inconsistent configuration of the devices in the VRRP group. • A device is attempting to send illegitimate VRRP packets. Solution • In the first case, modify the configuration. • In the - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 182
Configuring BFD The term router in the BFD feature refers to both routers and Layer 3 switches. BFD overview Devices must quickly detect communication failures so that measures can be taken promptly to ensure service , but not all media types support hardware detection. • Hello mechanism-Devices - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 183
, the protocol will use it to forward packets. NOTE: No detection time resolution is defined in the BFD draft. Most devices supporting BFD provide detection measured in milliseconds. BFD detection methods • Single-hop detection-Detects the IP connectivity between two directly connected systems - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 184
packets with port number 3784 for single-hop detection or port number 4784 for multi-hop detection. (It can also be 3784 based on the configuration task.) BFD echo packets have a similar format to BFD control packets (except that the Desired Min TX Interval and Required Min RX Interval fields are - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 185
zero is reserved. • Required Min RX Interval-This is the minimum interval, in microseconds, between received BFD control packets that this system is capable of supporting. If this value is zero, the transmitting system does not want the remote system to send any periodic BFD control packets. 178 - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 186
that adjacent nodes are reachable to each other at the network layer • Configure the routing protocols that support BFD Configuration procedure To configure BFD basic functions: Step 1. Enter system view. Command system-view 2. Specify the mode for establishing a BFD session. bfd session init - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 187
key | sha1 key-id [ cipher ] key | simple key-id [ cipher ] password } Remarks Optional. The source IP address should not be on the same network segment 5 by default. Optional. By default, the interface operates in the non-authentication mode. In Figure 45 for example, if you configure the Desired - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 188
on Router A). Displaying and maintaining BFD Task Command Remarks Display information about BFD-enabled interfaces. view Display information about enabled BFD debugging. display bfd debugging-switches [ | { begin | exclude | include } regular-expression slot-number ] Available in user view 181 - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 189
Configuring track Track overview Introduction to collaboration The track module works between application and detection modules, as shown in Figure 48. It shields the differences between - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 190
that interface; however, this result in packet forwarding failure because the uplink route has not yet been recovered. To solve this problem, configure a delay before the track module notifies the application modules of the track entry status changes. Collaboration application example The following - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 191
Associating track with NQA NQA supports multiple test types to analyze network performance, services, service quality. For example, an Positive state. For more information about NQA, see Network Management and Monitoring Configuration Guide. To associate track with NQA: Step 1. Enter system view. 2. - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 192
-ip local ip local-ip [ delay { negative negative-time | positive positive-time } * ] Remarks N/A No track entry is created by default. NOTE: When associating track with BFD, do not configure the virtual IP address of a VRRP group as the local or remote address of a BFD session. Associating track - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 193
Command either approach. No track entry is created by default. Associating the track module with an application module in the LAN cannot access the external network. This problem can be solved by establishing a track-VRRP group switch to the master immediately to maintain normal communication. 186 - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 194
group by default. This command is supported when VRRP is operating in both standard protocol mode and load balancing mode. To associate track with VRRP VF: Step 1. Enter system view. Command system-view Remarks N/A 2. Enter interface view. 3. Create a VRRP group and configure its virtual IP - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 195
command to create the track entry. Associating track with static routing A static route is a manually configured route. With a static route configured, make the routes unreachable, causing network breaks. To prevent this problem, configure another route to back up the static route. When the static - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 196
examples VRRP-track-NQA collaboration configuration example (the master monitors the uplink) Network requirements • As shown in Figure 49, Host A needs to access Host B on the Internet. The default gateway of Host A is 10.1.1.10/24. • Switch A and Switch B belong to VRRP group 1, whose virtual - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 197
-nqa-admin-test-icmp-echo] quit # Start the NQA test. [SwitchA] nqa schedule admin test start-time now lifetime forever 3. Configure a track entry on Switch A: # Configure track entry 1, and associate it with reaction entry 1 of the NQA test group (with the administrator admin, and the operation tag - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 198
ping Host B on Host A, and you can see that Host B is reachable. Use the display vrrp command to view the configuration result. # Display detailed information about VRRP group 1 on Switch A. [SwitchA-Vlan-interface2] display vrrp verbose IPv4 Standby Information: Run Mode : Standard Run Method - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 199
B is a backup. Packets from Host A to Host B are forwarded through Switch A. When a fault is on the link between Switch A and Switch C, you can still successfully ping Host B on Host A. Use the display vrrp command to view information about VRRP group 1. # Display detailed information about VRRP - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 200
Packets from Host A to Host B are forwarded through Switch B. Configuring BFD for a VRRP backup to monitor the master Network requirements • As shown in Figure 50, Switch A and Switch B belong to VRRP group 1, whose virtual IP address is 192.168.0.10. • The default gateway of the hosts in the LAN is - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 201
-Vlan-interface2] vrrp vrid 1 virtual-ip 192.168.0.10 [SwitchA-Vlan-interface2] vrrp vrid 1 priority 110 [SwitchA-Vlan-interface2] return 3. Configure BFD on Switch B: # Configure the source address of BFD echo packets as 10.10.10.10. system-view [SwitchB] bfd echo-source-ip 10.10.10 - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 202
| Virtual Router 1 : Backup --> Master reason: The status of the tracked object changed # Display the detailed information about the VRRP group on Switch B. display vrrp verbose IPv4 Standby Information: Run Mode : Standard Run Method : Virtual MAC Total number of virtual routers - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 203
, so that a backup can quickly preempt as the master. Configuring BFD for the VRRP master to monitor the uplinks Network requirements • As shown in Figure 51, Switch A and Switch B belong to VRRP group 1, whose virtual IP address is 192.168.0.10. • The default gateway of the hosts in the LAN is 192 - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 204
interface2] vrrp vrid 1 priority 110 [SwitchA-Vlan-interface2] vrrp vrid 1 track 1 reduced 20 [SwitchA-Vlan-interface2] return 5. Configure VRRP on Switch B: # Create VRRP group 1, and configure the virtual IP address of the group as 192.168.0.10. system-view [SwitchB] interface vlan - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 205
10 Master IP : 192.168.0.101 The output shows that when the status of track entry 1 becomes Positive, Switch A is the master, and Switch B the backup. # When the uplink of Switch A goes down, the status of track entry 1 becomes Negative. display track 1 Track ID: 1 Status: Negative - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 206
connected to two segments 20.1.1.0/24 and 30.1.1.0/24. Configure static routes on these switches so that the two segments can communicate with each other, and configure route backup to improve reliability of the network. Switch A is the default gateway of the hosts in segment 20.1.1.0/24. Two static - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 207
IP address of each VLAN interface as shown in Figure 52. (Details not shown.) 2. Configure Switch A: # Configure a static route to 30.1.1.0/24, with the address of the next hop as 10.1.1.2 and the default priority 60. This static route is associated with track entry 1. system-view [SwitchA - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 208
of the next hop as 10.3.1.1. [SwitchC] ip route-static 20.1.1.0 24 10.3.1.1 5. Configure Switch D: # Configure a static route to 20.1.1.0/24, with the address of the next hop as 10.2.1.2 and the default priority 60. This static route is associated with track entry 1. system-view [SwitchD - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 209
[SwitchD] track 1 nqa entry admin test reaction 1 6. Verify the configuration: # Display information about the track entry on Switch A. [SwitchA] display track all Track ID: 1 Status: Positive Duration: 0 days 0 hours 0 minutes 32 seconds Notification delay: Positive 0, Negative 0 (in seconds - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 210
: the master route is unavailable. (The status of the track entry is Negative.) The backup static route takes effect and Switch A forwards packets to 30.1.1.0/24 through Switch C. # When the master route fails, the hosts in 20.1.1.0/24 can still communicate with the hosts in 30.1.1.0/24. [SwitchA - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 211
the IP address of each VLAN interface as shown in Figure 53. (Details not shown.) 2. Configure Switch A: # Configure a static route to 30.1.1.0/24, with the address of the next hop as 10.2.1.2 and the default priority 60. This static route is associated with track entry 1. system-view 204 - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 212
] track 1 bfd echo interface vlan-interface 2 remote ip 10.2.1.2 local ip 10.2.1.1 3. Configure Switch B: # Configure a static route to 20.1.1.0/24, with the address of the next hop as 10.2.1.1 and the default priority 60. This static route is associated with track entry 1. system-view - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 213
system-view [SwitchB] interface vlan-interface 2 [SwitchB-Vlan-interface2] undo ip address # Display information about the track entry on Switch A. [SwitchA] display track all Track ID: 1 Status: Negative Duration: 0 days 0 hours 0 minutes 32 seconds Notification delay: Positive 0, Negative - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 214
ms VRRP-track-interface management collaboration configuration example (the master monitors the uplink interface) Network requirements • As shown in Figure 54, Host A needs to access Host B on the Internet. The default gateway of Host A is 10.1.1.10/24. • Switch A and Switch B belong to VRRP group - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 215
ping Host B on Host A, and you can see that Host B is reachable. Use the display vrrp command to view the configuration result. # Display detailed information about VRRP group 1 on Switch A. [SwitchA-Vlan-interface2] display vrrp verbose IPv4 Standby Information: Run Mode : Standard Run Method - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 216
Vlan-interface2] interface vlan-interface 3 [SwitchA-Vlan-interface3] shutdown After shutting down the uplink interface on Switch A, you can still successfully ping Host B on Host A. Use the display vrrp command to view information about VRRP group 1. # After shutting down the uplink interface on - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 217
IP : 10.1.1.10 Virtual MAC : 0000-5e00-0101 Master IP : 10.1.1.2 The output shows that when the uplink interface on Switch A is shut down, the priority of Switch A decreases to 80. Switch A becomes the backup, and Switch B becomes the master. Packets from Host A to Host B are forwarded through - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 218
HP A-Series Acronyms. Websites • HP.com http://www.hp.com • HP Networking http://www.hp.com/go/networking • HP manuals http://www.hp.com/support/manuals • HP download drivers and software http://www.hp.com/support/downloads • HP software depot http://www.software.hp.com • HP Education http://www.hp - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 219
Command conventions Convention Boldface Italic [ ] { x | y | ... } [ x | y | ... ] { x | y | ... } * [ x | y | ... ] * & # Description Bold text represents commands and menu items are in bold text. For example, the New User window appears; click OK. Multi-level menus are separated by angle - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 220
, or firewall. Represents a routing-capable device, such as a router or Layer 3 switch. Represents a generic switch, such as a Layer 2 or Layer 3 switch, or a router that supports Layer 2 forwarding and other Layer 2 features. Port numbering in examples The port numbers in this document are for - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 221
loopback,10 Configuring link monitoring,9 Configuring Monitor Link,107 Configuring protected VLANs,57 Configuring RRPP rings,58 Configuring RRPP timers,61 Configuring the duplex mode and speed of an Ethernet interface,35 Configuring VRRP for IPv4,123 Configuring VRRP for IPv6,130 Contacting HP,211 - HP 6125G | HP 6125G & 6125G/XG Blade Switches High Availability Configur - Page 222
port shutdown mode,37 Smart Link configuration examples,97 Smart Link configuration task list,93 Smart Link overview,90 T Track configuration examples,189 Track configuration task list,183 Track overview,182 Troubleshooting,89 Troubleshooting DLDP,46 Troubleshooting VRRP,174 V VRRP load balancing
HP 6125 Blade Switch Series
High Availability
Configuration Guide
Part number: 5998-3161
Software version: Release 2103
Document version: 6W100-20120907