Page 2
SecPro, SecPoint, SecEngine, SecPath, Comware, Secware, Storware, NQA, VVG, V G, V G, PSPT, XGbus, N-Bus, TiGem, InnoVision and HUASAN are trademarks of Hangzhou H3C Technologies Co., Ltd. All other trademarks that may be mentioned in this manual are the property of their respective owners Notice The information in this document is subject to change without notice.
Page 3
The High Availability Command Reference describes VRRP, track, and stateful failover configuration commands. NOTE: Support of the H3C WX series access controllers for commands may vary by device model. For the About the WX Series Access Controllers Command References command matrixes, see...
Page 4
An alert that provides helpful information. Port numbering in examples The port numbers in this document are for illustration only and might be unavailable on your device. About the H3C WX documentation set The H3C WX documentation set includes: Category...
Page 5
Obtaining documentation You can access the most up-to-date H3C product documentation on the World Wide Web at http://www.h3c.com. Click the links on the top navigation bar to obtain different categories of product documentation: [Technical Support & Documents > Technical Documents] –...
VRRP configuration commands NOTE: Support of the H3C WX series access controllers for commands may vary by device model. For the • About the WX Series Access Controllers Command References command matrixes, see At present, the interfaces that VRRP involves can be only LAN interfaces.
Page 8
Examples # When VRRP is operating in standard protocol mode, display brief information about all VRRP groups on the router. <Sysname> display vrrp IPv4 Standby Information: Run Mode : Standard Run Method : Virtual MAC Total number of virtual routers : 1 Interface VRID State...
Page 9
Config Pri : 150 Running Pri : 140 Preempt Mode : Yes Delay Time Auth Type : Simple : hello Virtual IP : 1.1.1.1 Virtual MAC : 0000-5e00-0101 Master IP : 1.1.1.2 VRRP Track Information: Track Interface: Vlan3 State : Down Pri Reduced : 10 Track Object State : Positive...
Page 10
Field Description Authentication key. Virtual IP Virtual IP address of the VRRP group. Virtual MAC address that corresponds to the virtual IP address of the Virtual MAC VRRP group. It is displayed only when the router is the master. Primary IP address of the interface where the router in master state Master IP resides.
Page 11
Table 3 Command output (load balancing mode) Field Description Current VRRP working mode: • Run Mode Standard—Standard protocol mode. • Load Balance—Load balancing mode. Current VRRP running mode, including • Real MAC—Real MAC mode, which means the virtual IP address of the Run Method VRRP group is mapped to the real MAC address of the interface.
Page 12
Virtual IP : 10.1.1.1 Member IP List : 10.1.1.2 (Local, Master) 10.1.1.3 (Backup) VRRP Track Information: Track Interface: Vlan3 State : Down Pri Reduced : 10 Track Object State : Positive Pri Reduced : 50 Forwarder Information: 2 Forwarders 1 Active Config Weight : 255 Running Weight : 255...
Page 13
Field Description Configured priority of the router, that is, the priority value specified by Config Pri using the vrrp vrid priority command. Running priority of the router, that is, the current priority of the router. Running Pri With VRRP tracking configured, if the state of the monitored interface or track entry changes, the priority of the router changes.
Field Description Forwarder Information: 2 VF Information: The number of VFs of the router is 2, and the number of Forwarders 1 Active AVFs is 1. Config Weight Configured weight of the VF, the value is 255. Running weight of the VF, or in other words, the current weight of the VF. Running Weight When VF tracking is configured, if the state of the monitored track entry changes, the weight of the VF changes.
Page 15
vrid virtual-router-id: Displays statistics for the specified VRRP group. The virtual-router-id argument specifies a VRRP group by its group number, which ranges from 1 to 255. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
Page 16
Adver Rcvd Request Rcvd Adver Sent : 1460 Request Sent Reply Rcvd Release Rcvd Reply Sent Release Sent Priority Zero Pkts Rcvd : 0 VF Priority Zero Pkts Rcvd Priority Zero Pkts Sent : 1 VF Priority Zero Pkts Sent Status Option Errors Global statistics CheckSum Errors...
Page 17
Field Description VRID Serial number of the VRRP group CheckSum Errors Number of packets with checksum errors Version Errors Number of packets with version errors Invalid Type Pkts Rcvd Number of packets with incorrect packet type Advertisement Interval Errors Number of packets with advertisement interval errors IP TTL Errors Number of packets with TTL errors Auth Failures...
reset vrrp statistics Syntax reset vrrp statistics [ interface interface-type interface-number [ vrid virtual-router-id ] ] View User view Default level 1: Monitor level Parameters interface interface-type interface-number: Clears VRRP group statistics for the specified interface. The interface-type interface-number arguments specify an interface by its type and number. vrid virtual-router-id: Clears VRRP statistics for the specified VRRP group.
By default, the virtual MAC addresses are mapped to the virtual IP addresses of the VRRP groups. Specify the type of the MAC addresses mapped to the virtual IP address before creating a VRRP group. Otherwise, you cannot change the type of the MAC address by using this command. . When VRRP is operating in load balancing mode, a virtual IP address is always mapped to a virtual MAC address regardless of which type of the MAC addresses to be mapped to the virtual IP address is specified.
virtual-router-id: VRRP group number, which ranges from 1 to 255. md5: Authentication using the MD5 algorithm. simple: Plain text authentication mode. key: Authentication key, which is case-sensitive. When md5 authentication applies, the authentication key is in MD5 cipher text or in plain text and •...
timer delay delay-value: Sets preemption delay. The delay-value argument ranges from 0 to 255 seconds and defaults to 0 seconds. Description Use vrrp vrid preempt-mode to enable preemption on the router and configure its preemption delay in a specific VRRP group. Use undo vrrp vrid preempt-mode to disable preemption on the router in a specific VRRP group.
Before executing the command, create a VRRP group on an interface and configure the virtual IP • address of the VRRP group. The role that a router plays in a VRRP group depends on its priority. A higher priority means that the •...
IMPORTANT: You must create the VRRP group and assign a virtual IP address to it before you can associate it with any track entry. The vrrp vrid track command cannot take effect on an IP address owner. If you have configured the command on an IP address owner, the configuration takes effect after the router changes to be a non IP address owner.
Before executing the command, create a VRRP group on an interface and configure the virtual IP address of the VRRP group. If you configure an interface to be tracked on a router that is the IP address owner in a VRRP group, the configuration does not take effect.
Related commands: display vrrp. Examples # Create VRRP group 1 and set its virtual IP address to 10.10.10.10. <Sysname> system-view [Sysname] interface vlan-interface 2 [Sysname-Vlan-interface2] vrrp vrid 1 virtual-ip 10.10.10.10 # Add virtual IP address 10.10.10.11 to VRRP group 1. [Sysname-Vlan-interface2] vrrp vrid 1 virtual-ip 10.10.10.11 vrrp vrid weight track Syntax...
Page 28
properly specified value and becomes lower than the lower limit of failure, which means the weight of the VF owner decreases by more than 245. NOTE: High Availability Configuration Guide For more information about track entries, see Related commands: display vrrp. Examples # Configure to monitor track entry 1, making the weights of VFs belonging to VRRP group 1 on VLAN-interface 2 decrease by 50 when track entry 1 turns to negative.
Stateful failover configuration commands NOTE: Support for the stateful failover configuration commands may vary depending on your device model. For About the WX Series Access Controllers Command References more information, see dhbk enable Syntax dhbk enable backup-type { dissymmetric-path | symmetric-path }...
Parameters vlan-id: ID of the backup VLAN, in the range of 1 to 4094. Description Use dhbk vlan to specify a VLAN as a backup VLAN. Use undo dhbk vlan to restore the default. By default, no backup VLAN is configured on the device. Examples # Specify VLAN 100 as a backup VLAN.
Page 31
Field Description Backup type, symmetric path or asymmetric path. Backup type This information is output only after stateful failover is enabled. Current state Current hot backup state, independence, silence or synchronization. VLAN ID ID of the Backup VLAN.
Track configuration commands display track Syntax display track { track-entry-number | all } [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters track-entry-number: Displays information about the specified track entry, in the range of 1 to 1024. all: Displays information about all the track entries.
Page 33
Remote IP : 192.168.40.1 Local IP : 192.168.40.2 Track ID: 3 Status: Negative Duration: 0 days 0 hours 0 minutes 32 seconds Notification delay: Positive 20, Negative 30 (in seconds) Reference object: Track interface Interface status : Inserted Interface : Vlan-interface3 Protocol : IPv4 Table 8 Command output...
Field Description Physical status or Layer 3 protocol status of the monitored interface: • None—Physical status of the monitored interface. Protocol • IPv4—IPv4 protocol status of the monitored Layer 3 interface. • IPv6—IPv6 protocol status of the monitored Layer 3 interface. track interface Syntax track track-entry-number interface interface-type interface-number [ delay { negative negative-time |...
After a track entry is created, you cannot change its settings except the delay time. To change the delay time, use the track interface protocol delay command. To modify other settings of this track entry, first delete the entire track entry, and then create a new track entry. Related commands: display track;...
Page 37
After a track entry is created, you cannot change its settings except the delay time. To change the delay time, use the track nqa delay command. To modify other settings of this track entry, first delete the entire track entry, and then create a new track entry. Related commands: display track;...
Need help?
Do you have a question about the WX Series and is the answer not in the manual?
Questions and answers