H3C WX Series Command Reference Manual
H3C WX Series Command Reference Manual

H3C WX Series Command Reference Manual

Access controllers
Hide thumbs Also See for WX Series:

Advertisement

Hangzhou H3C Technologies Co., Ltd.
http://www.h3c.com
Software version: WX3000-CMW520-R3308 (WX3024E)
WX5004-CMW520-R2308 (WX5000 series)
WX6103-CMW520-R2308 (WX6000 series)
Document version: 6W106-20120824
H3C WX Series Access Controllers
High Availability Command Reference

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the WX Series and is the answer not in the manual?

Questions and answers

Summary of Contents for H3C WX Series

  • Page 1 H3C WX Series Access Controllers High Availability Command Reference Hangzhou H3C Technologies Co., Ltd. http://www.h3c.com Software version: WX3000-CMW520-R3308 (WX3024E) WX5004-CMW520-R2308 (WX5000 series) WX6103-CMW520-R2308 (WX6000 series) Document version: 6W106-20120824...
  • 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] –...
  • Page 6: Table Of Contents

    Contents VRRP configuration commands ··································································································································· 1   display vrrp ······························································································································································· 1   display vrrp statistics ················································································································································ 8   reset vrrp statistics ················································································································································· 12   vrrp method ···························································································································································· 12   vrrp mode ······························································································································································· 13   vrrp un-check ttl ······················································································································································ 14   vrrp vrid authentication-mode ······························································································································...
  • Page 7: Vrrp Configuration Commands

    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.
  • Page 14: Display Vrrp Statistics

    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...
  • Page 18: Reset Vrrp Statistics

    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.
  • Page 19: Vrrp Mode

    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.
  • Page 20: Vrrp Un-Check Ttl

    vrrp un-check ttl Syntax vrrp un-check ttl undo vrrp un-check ttl View Interface view Default level 2: System level Parameters None Description Use vrrp un-check ttl to disable TTL check on VRRP packets. Use undo vrrp un-check ttl to enable TTL check on VRRP packets. By default, TTL check on VRRP packets is enabled.
  • Page 21: Vrrp Vrid Preempt-Mode

    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 •...
  • Page 22: Vrrp Vrid Priority

    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.
  • Page 23: Vrrp Vrid Timer Advertise

    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 •...
  • Page 24: Vrrp Vrid Track

    [Sysname-Vlan-interface2] vrrp vrid 1 virtual-ip 10.1.1.1 [Sysname-Vlan-interface2] vrrp vrid 1 timer advertise 5 vrrp vrid track Syntax vrrp vrid virtual-router-id track track-entry-number [ reduced priority-reduced | switchover ] undo vrrp vrid virtual-router-id track [ track-entry-number ] View Interface view Default level 2: System level Parameters virtual-router-id: Specifies a VRRP group number, which ranges from 1 to 255.
  • Page 25: Vrrp Vrid Track Interface

    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.
  • Page 26: Vrrp Vrid Virtual-Ip

    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.
  • Page 27: Vrrp Vrid Weight Track

    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.
  • Page 29: Stateful Failover Configuration Commands

    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 }...
  • Page 30: Display Dhbk Status

    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.
  • Page 32: Track Configuration Commands

    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...
  • Page 34: Track Interface

    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 |...
  • Page 35: Track Interface Protocol

    Related commands: display track; display ip interface brief (Layer 3 Command Reference). Examples # Create track entry 1 and associate it with the physical status of interface GigabitEthernet 1/0/1. <Sysname> system-view [Sysname] track 1 interface gigabitethernet 1/0/1 track interface protocol Syntax track track-entry-number interface interface-type interface-number protocol { ipv4 | ipv6 } [ delay { negative negative-time | positive positive-time } * ]...
  • Page 36: Track Nqa

    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;...
  • Page 38: Index

    Index D R T V track nqa,30 dhbk enable,23 dhbk vlan,23 vrrp method,12 display dhbk status,24 vrrp mode,13 display track,26 vrrp un-check ttl,14 display vrrp,1 vrrp vrid authentication-mode,14 display vrrp statistics,8 vrrp vrid preempt-mode,15 vrrp vrid priority,16 vrrp vrid timer advertise,17 reset vrrp statistics,12...

Table of Contents