HP 6125 Blade Switch Series High Availability Command Reference Part number: 5998-3172 Software version: Release 2103 Document version: 6W100-20120907...
Page 2
HEWLETT-PACKARD COMPANY MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Hewlett-Packard shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance, or use of this material.
Ethernet OAM configuration commands display oam Syntax display oam { local | remote } [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 2: System level Parameters local: Displays local Ethernet OAM connection information. remote: Displays remote Ethernet OAM connection information.
Page 7
Critical Event Local Evaluating : COMPLETE Remote Evaluating : COMPLETE Packets statistic : Packets Send Receive -------------------------------------------------------------------------- OAMPDU OAMInformation OAMEventNotification OAMUniqueEventNotification OAMDuplicateEventNotification Table 1 Command output Field Description Port Port index. Link Status Link status (up or down). EnableStatus Ethernet OAM state (enabled or disabled). Local Ethernet OAM mode: •...
Page 8
Field Description Indicates whether the remote-to-local configuration negotiation is complete: • COMPLETE—The negotiation is completed. • NOTCOMPLETE—The negotiation is uncompleted. Remote Evaluating • RESERVED—The field is reserved and the negotiation is uncompleted. • UNSATISFIED—The peer end is not satisfied with the local configuration and the negotiation is uncompleted.
Field Description Information of the latest received Information about the latest received Ethernet OAMPDU. OAM packet OAMRemoteMACAddress MAC address of the Ethernet OAM peer. OAMRemotePDUConfiguration Maximum Ethernet OAMPDU size allowed. OAMRemoteState State of the Ethernet OAM peer. Remote_mux_action Peer sending mode. For more information, see Table Remote_par_action Peer receiving mode.
Page 10
Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
Field Description Event statistic Critical Ethernet OAM link event statistics. Link Fault Indicates whether a link fault is present: 0 for no and 1 for yes. Dying Gasp Indicates whether a fatal fault is present: 0 for no and 1 for yes. Critical Event Indicates whether a critical fault is present: 0 for no and 1 for yes.
Field Description Information about local errored frame seconds events: • Event Time Stamp—Time when an error frame seconds event occurred (in terms of 100 milliseconds). • Errored Frame Second Summary Window—Error frame second detection interval (in 100 milliseconds). OAMLocalErrFra • meSecsSummaryE Errored Frame Second Summary Threshold—Error threshold that triggers an error vent...
Parameters None Description Use oam enable to enable Ethernet OAM on the Ethernet port. Use undo oam enable to disable Ethernet OAM on the Ethernet port. By default, Ethernet OAM is disabled on all Ethernet ports. Examples # Enable OAM on port GigabitEthernet 1/0/1. <Sysname>...
View System view Default level 2: System level Parameters threshold-value: Errored frame event triggering threshold, ranging from 0 to 4294967295. Description Use oam errored-frame threshold to set the errored frame event triggering threshold. Use undo oam errored-frame threshold to restore the default. By default, the errored frame event triggering threshold is 1.
Use undo oam errored-frame-seconds period to restore the default. By default, the errored frame seconds event detection interval is 60 seconds. Related commands: oam errored-frame-seconds threshold, display oam link-event, and display oam configuration. Examples # Set the errored frame seconds event detection interval to 100 seconds. <Sysname>...
Parameters period-value: Errored symbol event detection interval, ranging from 1 to 60 (in seconds). Description Use oam errored-symbol period to set the errored symbol event detection interval. Use undo oam errored-symbol period to restore the default. By default, the errored symbol event detection interval is one second. Related commands: oam errored-symbol threshold, display oam link-event, and display oam configuration.
View Layer 2 Ethernet interface view Default level 2: System level Parameters None Description Use oam loopback to enable Ethernet OAM remote loopback on the specified Ethernet port. Use undo oam loopback to disable Ethernet OAM remote loopback on the Ethernet port. By default, Ethernet OAM remote loopback is disabled on the Ethernet port.
Ethernet OAM remote loopback is available only after the Ethernet OAM connection is established and can be performed only by the Ethernet OAM entities operating in active Ethernet OAM mode. Related commands: oam enable, oam loopback, and oam mode. Examples # Configure the active Ethernet OAM mode and enable Ethernet OAM on GigabitEthernet 1/0/1, and then enable Ethernet OAM remote loopback on GigabitEthernet 1/0/1 in system view.
View Layer 2 Ethernet interface view Default level 2: System level Parameters active: Specifies the active Ethernet OAM mode. passive: Specifies the passive Ethernet OAM mode. Description Use oam mode to set the Ethernet OAM mode for an Ethernet port. Use undo oam mode to restore the default.
CFD configuration commands cfd cc enable Syntax cfd cc service-instance instance-id mep mep-id enable undo cfd cc service-instance instance-id mep mep-id enable View Layer 2 Ethernet interface view Default level 2: System level Parameters service-instance instance-id: Specifies the service instance ID, ranging from 1 to 32767. mep mep-id: Specifies the ID of a MEP, ranging from 1 to 8191.
service-instance instance-id: Specifies the service instance ID, ranging from 1 to 32767. Description Use cfd cc interval to set the value of the interval field in the CCM messages. Use undo cfd cc interval to restore default. By default, the value of this field is 4 for all CCMs sent. The relationship between the interval field value in the CCM messages, the interval for sending CCM messages, and the timeout time of the remote MEP is shown in Table...
[Sysname] cfd version draft5-plus [Sysname] cfd linktrace service-instance 1 mep 1101 target-mep 2001 Linktrace to MEP 2001 with the sequence number 1101-43361 : MAC Address Forwarded Relay Action 0010-FC00-6512 None NOTE: The output varies by CFD protocol version. Table 8 Command output Field Description Linktrace to MEP 2001...
Parameters size size-value: Specifies the size of the buffer used to store the auto-detection result, ranging from 1 to 100 (in terms of sending times). This value defaults to 5, which means the buffer stores the results of the recent five auto-detections. Description Use cfd linktrace auto-detection to enable the auto sending of linktrace messages.
Examples # Enable LB to check the status of the link between MEP 1 101 and MEP 2001 (whose MAC address is 0010-FC00-6512) in service instance 1 (assume that the link status is normal). <Sysname> cfd loopback service-instance 1 mep 1101 target-mep 2001 Loopback to 0010-FC00-6512 with the sequence number start from 1101-43404: Reply from 0010-FC00-6512: sequence number=1101-43404 time=5ms Reply from 0010-FC00-6512: sequence number=1101-43405 time=5ms...
Parameters ma ma-name: Specifies the name of the MA, a string of 1 to 43 characters. IEEE 802.1ag standard version allows an MA name to contain letters, numbers, and special characters (including ~ ! @ # $ % ^ & * ( ) - _ + = { } [ ] | \ : ; " ' < > , . /). IEEE 802.1ag draft5.2 version and IEEE 802.1ag draft5.2 interim version allow an MA name to contain letters, numbers, and special characters (including –...
Description Use cfd md to create an MD. Use undo cfd md to delete an MD. By default, no MD is created. You can create only one MD with a specific level. MD cannot be created if you enter an invalid MD name or an existing MD name.
Parameters meplist mep-list: Specifies a list of MEP IDs. The mep-list argument takes the form of { mep-id [ to mep-id ] }&<1- 1 0>, where mep-id represents the MEP ID and ranges from 1 to 8191. &<1- 1 0> indicates you can specify up to 10 MEP ID ranges.
By default, no rules for generating MIPs are configured and no MIPs exist. Examples # Configure the MIP generation rule as default in service instance 5. <Sysname> system-view [Sysname] cfd mip-rule default service-instance 5 cfd service-instance Syntax cfd service-instance instance-id md md-name ma ma-name undo cfd service-instance instance-id View System view...
Examples # Create a level-3 MD named test_md, create an MA named test_ma, which serves VLAN 100, in test_md, and then create service instance 5 with the MD name for test_md and test_ma. <Sysname> system-view [Sysname] cfd md test_md level 3 [Sysname] cfd ma test_ma md test_md vlan 100 [Sysname] cfd service-instance 5 md test_md ma test_ma cfd service-instance maid format...
A MD with no MAs will be deleted. A service instance without the MD name takes effect only in the IEEE 802.1ag standard version of CFD. Related commands: cfd version. Examples # Create service instance 5 without the MD name in CFD IEEE 802.1ag, and configure the ICC-based MA name test_ma1, MD level 3, and VLAN 100 for the service instance.
[Sysname] cfd version draft5 display cfd linktrace-reply Syntax display cfd linktrace-reply [ service-instance instance-id [ mep mep-id ] ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters service-instance instance-id: Specifies the service instance ID, ranging from 1 to 32767. mep mep-id: Specifies the ID of a MEP, ranging from 1 to 8191.
Page 38
[Sysname] display cfd linktrace-reply Service instance: 1 MEP ID: 1003 MAC Address Forwarded Relay Action 00E0-FC27-6502 Found 00E0-FC00-6510 Found 00E0-FC52-BAA0 None Service instance: 2 MEP ID: 1023 MAC Address Forwarded Relay Action 00E0-FC27-6502 None # Display the LTR information saved on all the MEPs in every service instance when the IEEE 802.1ag draft5.2 interim version of CFD is used.
Field Description Indicates whether the forwarding device found the destination MAC address in its MAC address table. When the standard version (IEEE 802.1ag) of CFD is used: • Hit—Indicates that the current device is the destination device. • FDB—Indicates that the forwarding device found the destination MAC address. •...
Page 40
Examples # Display the contents of the LTRs received as responses to the LTMs automatically sent when the standard version (IEEE 802.1ag) of CFD is used. <Sysname> system-view [Sysname] cfd version standard [Sysname] display cfd linktrace-reply auto-detection Service instance: 1 MEP ID: 1003 Time: 2009/05/22 10:43:57 Target MEP ID: 2005...
NOTE: The output varies by CFD protocol version. Table 11 Command output Field Description Service instance Service instance to which the MEPs that sent LTM messages belong. MEP ID ID of the MEP that sends LTMs. Time Time of the LTMs automatically sent. Target MEP ID ID of the target MEP.
Page 42
Parameters ma-name: Name of MA, a character string of 1 to 43 characters. IEEE 802.1ag standard version allows an MA name to contain letters, numbers, and special characters (including ~ ! @ # $ % ^ & * ( ) - _ + = { } [ ] | \ : ;...
Table 12 Command output Field Description 3 maintenance domain(s) configured. Number of MDs configured. Name of the MD. (If the MD does not have a name, this field Maintenance domain is displayed as Without Name.) Level MD level. 1 maintenance association(s) belong(s) to this Number of MAs configured in the MD.
Level: 5 Maintenance domain: mdtest_5 Level: 6 Maintenance domain: mdtest_6 Level: 7 Maintenance domain: (Without Name) Table 13 Command output Field Description 8 maintenance domain(s) configured Number of MDs configured. Level Level of MD. Each level allows only one MD. Name of MD.
Page 45
Current state: CCI_WAITING Interval: 1s SendCCM: 12018 Loopback: NextSeqNumber: 8877 SendLBR: 0 ReceiveInOrderLBR: 0 ReceiveOutOrderLBR: 0 Linktrace: NextSeqNumber: 8877 SendLTR: 0 ReceiveLTM: 0 No CCM from some remote MEPs is received. One or more streams of error CCMs is received. The last-received CCM: Maintenance domain: (Without Name) Maintenance association:matest1 MEP:5...
Page 46
Field Description Information related to CCM. State of CCMs sent: • CCI_IDLE Current state • CCI_WAITING A hyphen (-) means not supported. Interval Interval to send CCM. Number of CCMs that have been sent by the MEPs. SendCCM A hyphen (-) means not supported. Loopback Information related to Loopback.
display cfd meplist Syntax display cfd meplist [ service-instance instance-id ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters service-instance instance-id: Specifies a service instance by its ID, ranging from 1 to 32767. |: Filters command output by specifying a regular expression.
Page 48
exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display cfd mp to display MP information. If no port is specified, this command displays the MP information on all ports.
Field Description Level MD level that an MP belongs to Service instance Service instance to which the MP belongs Direction Direction of the MEP Maintenance domain MD to which an MP belongs Maintenance association MA to which an MP belongs display cfd remote-mep Syntax display cfd remote-mep service-instance instance-id mep mep-id [ | { begin | exclude | include }...
Field Description MAC address of the remote MEP device. MAC Address A hyphen (-) means not supported. State Running state of the remote MEP, which can be OK or FAILED. Time Time when the remote MEP entered the FAILED or OK state for the last time. State of the port indicated by the last CCM received from the remote MEP: •...
Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
Page 53
Table 18 Command output Field Description The current CFD version is draft5 Indicates that the current CFD protocol is IEEE 802.1ag draft5.2 Indicates that the current CFD protocol is the IEEE 802.1ag draft5.2 The current CFD version is draft5-plus interim version Indicates that the current CFD protocol is the standard version of IEEE The current CFD version is standard 802.1ag...
DLDP configuration commands display dldp Syntax display dldp [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters interface-type interface-number: Specifies a port by its type and number. |: Filters command output by specifying a regular expression.
Page 55
Neighbor aged time : 13 Interface GigabitEthernet1/1/4 DLDP port state : advertisement DLDP link state : up The neighbor number of the port is 1. Neighbor mac address : 0000-0000-1100 Neighbor port index : 81 Neighbor state : two way Neighbor aged time : 12 # Display the DLDP configuration of GigabitEthernet 1/1/3.
Field Description DLDP link state Port state (up or down). The neighbor number of the port Current number of neighbors. Maximum number of neighbors once detected on the port. This field the maximum number ever detected is 2 appears only when the current number of neighbors is different from the maximum number of neighbors once detected.
simple: Specifies the simple authentication mode and sets a plaintext or ciphertext password. password: Sets the password. This argument is case sensitive. It must be a plaintext string of 1 to 16 characters, or a ciphertext string of 33 to 53 characters. Description Use dldp authentication-mode to configure DLDP authentication.
[Sysname] dldp delaydown-timer 2 dldp enable Syntax dldp enable undo dldp enable View System view, Layer 2 Ethernet interface view Default level 2: System level Parameters None Description Use dldp enable to enable DLDP. Use undo dldp enable to disable DLDP. By default, DLDP is disabled both globally and on each port.
Use undo dldp interval to restore the default. By default, the interval for sending Advertisement packets is five seconds. This command applies to all DLDP-enabled ports. Examples # Set the interval for sending Advertisement packets to 20 seconds. <Sysname> system-view [Sysname] dldp interval 20 dldp reset Syntax...
Default level 2: System level Parameters auto: Configures the port shutdown mode as auto mode, where, when a unidirectional link is detected, the port involved is shut down by DLDP. manual: Configures the port shutdown mode as manual mode, where, when a unidirectional link is detected, DLDP generates log and traps to prompt you to shut down the involved port instead of doing so automatically.
reset dldp statistics Syntax reset dldp statistics [ interface-type interface-number ] View User view Default level 1: Monitor level Parameters interface-type interface-number: Specifies a port by its type and number. Description Use reset dldp statistics to clear DLDP packets statistics passing through a port. If no port is specified, this command clears the DLDP packet statistics passing through all the DLDP-enabled ports.
RRPP configuration commands control-vlan Syntax control-vlan vlan-id undo control-vlan View RRPP domain view Default level 2: System level Parameters vlan-id: ID of the primary control VLAN for the RRPP domain, which ranges from 2 to 4093. The specified VLAN must be a new one (not yet created). Description Use control-vlan to configure the primary control VLAN for the current RRPP domain.
display rrpp brief Syntax display rrpp brief [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
GE1/0/3 GE1/0/5 GE1/0/4 Table 21 Command output Field Description RRPP node mode: • M represents master node. • Flags for Node Mode T represents transit node. • E represents edge node. • A represents assistant edge node. RRPP protocol status: •...
Page 66
View Any view Default level 1: Monitor Level Parameters ring-group-id: RRPP ring group ID, which ranges from 1 to 8. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
display rrpp statistics Syntax display rrpp statistics domain domain-id [ ring ring-id ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters domain-id: RRPP domain ID, which ranges from 1 to 8. ring-id: RRPP ring ID, which ranges from 1 to 64.
Page 68
Direct Hello Down Flush FDB Flush FDB Hello Fault Total ------------------------------------------------------------------------------ Send 16378 16379 # Display the RRPPDU statistics for all rings in RRPP domain 2. <Sysname> display rrpp statistics domain 2 Ring ID Ring Level Node Mode : Master Active Status : Yes Primary port : GE1/0/3...
Table 23 Command output Field Description Ring ID RRPP ring ID. RRPP ring level: • Ring Level 0 for primary ring. • 1 for subring. Node mode: • Master node. • Node Mode Transit node. • Edge node. • Assistant edge node. RRPP ring activation status: •...
Page 70
View Any view Default level 1: Monitor level Parameters domain-id: RRPP domain ID, which ranges from 1 to 8. ring-id: RRPP ring ID, which ranges from 1 to 64. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
Page 71
Enable Status : Yes Active Status: Yes Primary port : GE1/0/4 Port status: UP Secondary port: GE1/0/5 Port status: BLOCKED Ring ID Ring Level Node Mode : Edge Ring State Enable Status : No Active Status: No Common port : GE1/0/4 Port status: - GE1/0/5 Port status: -...
Field Description RRPP ring activation status. An RRPP ring can be active only when the RRPP protocol and the RRPP ring are both enabled. You can also use this field to identify whether the RRPP protocol are enabled. Two statuses are available: Active Status •...
Follow these guidelines when configuring an RRPP ring group on the edge node and the assistant-edge node: When assigning an active ring to a ring group, do that on the assistant-edge node first and then on • the edge node. To remove an active ring from a ring group, do that on the edge node first and then on the •...
If the reference-instance instance-id-list option is specified, the undo protected-vlan command removes configuration of VLANs mapped to the specified MSTIs. Otherwise, the command removes configuration of all protected VLANs. You can delete or modify the protected VLANs configured for an RRPP domain before and after you configure rings for it.
Page 76
<Sysname> system-view [Sysname] rrpp domain 1 [Sysname-rrpp-domain1] control-vlan 100 [Sysname-rrpp-domain1] protect-vlan reference-instance 0 1 2 [Sysname-rrpp-domain1] ring 10 node-mode master primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 0 # Specify the device as the transit node of primary ring 10 in RRPP domain 1, GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the secondary port.
Parameters domain-id: RRPP domain ID, which ranges from 1 to 8. Description Use rrpp domain to create an RRPP domain and enter its view. Use undo rrpp domain to remove an RRPP domain. Deleting an RRPP domain also removes the configurations of the control VLANs and protected VLANs. To delete an RRPP domain successfully, make sure it has no RRPP rings.
undo rrpp ring-group ring-group-id View System view Default level 2: System level Parameters ring-group-id: RRPP ring group ID, which ranges from 1 to 8. Description Use rrpp ring-group to create an RRPP ring group and enter RRPP ring group view. Use undo rrpp ring-group to delete an RRPP ring group.
Page 80
The Fail timer value must be greater than or equal to three times the Hello timer value. Examples # Set the Hello timer value to 2 seconds and the Fail timer value to 7 seconds. <Sysname> system-view [Sysname] rrpp domain 1 [Sysname-rrpp-domain1] timer hello-timer 2 fail-timer 7...
Smart Link configuration commands display smart-link flush Syntax display smart-link flush [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
display smart-link group Syntax display smart-link group { group-id | all } [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters group-id: Smart link group ID, which ranges from 1 to 26. all: Displays information about all smart link groups.
Field Description Protected VLANs of the smart link group. Referenced Multiple Spanning Tree Instances (MSTIs) are displayed here. To view the VLANs mapped to Protected VLAN the referenced MSTIs, use the display stp region-configuration command. Member Member port of the smart link group. Role Port role: master or slave.
undo port interface-type interface-number View Smart link group view Default level 2: System level Parameters interface-type interface-number: Specifies a port by its type and number. master: Specifies a port as the master port. slave: Specifies a port as the slave port. Description Use port to configure the specified port as the master or slave port of the current smart link group.
master: Specifies the port as the master port. slave: Specifies the port as the slave port. Description Use port smart-link group to configure the current port as a member of the specified smart link group. Use undo port smart-link group to remove the port from the specified smart link group. Disable the spanning tree feature and RRPP on the ports you want to add to the smart link group, and make sure the ports are not member ports of any aggregation group or service loopback group.
Description Use preemption delay to set the preemption delay. When role preemption is enabled, after the preemption delay is set, the master port waits for a specific period before taking over to collaborate with the switchover of upstream devices. Use undo preemption delay to restore the default. By default, the preemption delay is 1 second.
undo protected-vlan [ reference-instance instance-id-list ] View Smart link group view Default level 2: System level Parameters reference-instance instance-id-list: Specifies the MSTIs you want to reference in the form of instance-id-list = { instance-id [ to instance-id ] }&<1- 1 0>. The instance-id argument is an MSTI ID that ranges from 0 to 32.
[Sysname] interface bridge-aggregation 1 [Sysname-Bridge-Aggregation1] smart-link flush enable smart-link group Syntax smart-link group group-id undo smart-link group group-id View System view Default level 2: System level Parameters group-id: Smart link group ID, which ranges from 1 to 26. Description Use smart-link group to create a smart link group and enter smart link group view. Use undo smart-link group to remove a smart link group.
Monitor Link configuration commands display monitor-link group Syntax display monitor-link group { group-id | all } [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters group-id: Monitor link group ID, which ranges from 1 to 16. all: Displays information about all monitor link groups.
Field Description Last-down-time Last time when the monitor link group was down Member Member ports of the monitor link group Role Port role, which can be uplink port or downlink port Status Member link state, which can be up or down monitor-link group Syntax monitor-link group group-id...
uplink: Specifies an uplink port. downlink: Specifies a downlink port. Description Use port to assign a port to the monitor link group. Use undo port to remove a port from the monitor link group. You can assign Layer 2 Ethernet ports or Layer 2 aggregate interfaces to a monitor link group as member ports.
Page 93
Examples # Create monitor link group 1, and configure GigabitEthernet 1/0/1 as an uplink port and GigabitEthernet 1/0/2 as a downlink port for monitor link group 1. <Sysname> system-view [Sysname] monitor-link group 1 [Sysname-mtlk-group1] quit [Sysname] interface gigabitethernet 1/0/1 [Sysname-GigabitEthernet1/0/1] port monitor-link group 1 uplink [Sysname-GigabitEthernet1/0/1] quit [Sysname] interface gigabitethernet 1/0/2 [Sysname-GigabitEthernet1/0/2] port monitor-link group 1 downlink...
VRRP configuration commands The term router in this document refers to both routers and Layer 3 switches. • The term interface in the VRRP feature refers to VLAN interfaces. • Common VRRP configuration commands vrrp mode Syntax vrrp mode load-balance undo vrrp mode View System view...
IPv4-based VRRP configuration commands display vrrp Syntax display vrrp [ verbose ] [ interface interface-type interface-number [ vrid virtual-router-id ] ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters verbose: Displays detailed state information of VRRP groups.
Page 96
Vlan2 Master Simple 1.1.1.1 Table 28 Command output (standard protocol mode) Field Description Current VRRP operation mode: • Run Mode Standard—Standard protocol mode. • Load Balance—Load balancing mode. Current VRRP running mode: • Real MAC—Real MAC mode. The virtual IP address of the VRRP group Run Method is mapped to the real MAC address of the interface.
Page 97
Table 29 Command output (standard protocol mode) Field Description Current VRRP operation mode: • Run Mode Standard—Standard protocol mode. • Load Balance—Load balancing mode. Current VRRP running mode, including • Real MAC—Real MAC mode. The virtual IP address of the VRRP group Run Method is mapped to the real MAC address of the interface.
Page 98
Field Description Primary IP address of the interface where the router in the state of master Master IP resides. Information about the tracked interface or object. It is displayed only VRRP Track Information when the vrrp vrid track or vrrp vrid track interface command is executed.
Page 99
Field Description Current VRRP running mode: • Real MAC—Real MAC mode. The virtual IP address of the VRRP group is Run Method mapped to the real MAC address of the interface. • Virtual MAC—Virtual MAC mode. The virtual IP address of the VRRP group is mapped to the virtual MAC address.
Page 100
Track Object State : Positive Pri Reduced : 50 Forwarder Information: 2 Forwarders 1 Active Config Weight : 255 Running Weight : 255 Forwarder 01 State : Active Virtual MAC : 000f-e2ff-0011 (Owner) Owner ID : 0000-5e01-1101 Priority : 255 Active : local Forwarder 02...
Page 101
Field Description Running priority of the router (the current priority of the router). With VRRP Running Pri tracking configured, if the state of the monitored interface or track entry changes, the priority of the router changes. Preemptive mode: • Preempt Mode Yes—The router in the VRRP group operates in preemptive mode.
Page 102
Field Description Config Weight Configured weight of the VF, the value is 255. Running weight of the VF (the current weight of the VF). When VF tracking Running Weight is configured, if the state of the monitored track entry changes, the weight of the VF changes.
display vrrp statistics Syntax display vrrp statistics [ interface interface-type interface-number [ vrid virtual-router-id ] ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters interface interface-type interface-number: Displays VRRP group statistics of the specified interface. interface-type interface-number specifies an interface by its type and number.
Page 104
CheckSum Errors Version Errors VRID Errors # When VRRP operates in load balancing mode, display the statistics about all VRRP groups. <Sysname> display vrrp statistics Interface : Vlan-interface2 VRID CheckSum Errors Version Errors Invalid Type Pkts Rcvd Advertisement Interval Errors : 0 IP TTL Errors Auth Failures Invalid Auth Type...
Page 105
Field Description Advertise Rcvd Number of received advertisements Priority Zero Pkts Sent Number of sent advertisements with the priority of 0 Advertise Sent Number of advertisements sent Global statistics Global statistics about all VRRP groups CheckSum Errors Total number of packets with checksum errors Version Errors Total number of packets with version errors VRID Errors...
Field Description Priority Zero Pkts Rcvd Number of received advertisements with the priority of 0 VF Priority Zero Pkts Rcvd Number of received advertisements with the VF priority of 0 Priority Zero Pkts Sent Number of sent advertisements with the priority of 0 VF Priority Zero Pkts Sent Number of sent advertisements with the VF priority of 0 Status Option Errors...
View System view Default level 2: System level Parameters dscp-value: Sets the Differentiated Services Code Point (DSCP) value for VRRP packets, in the range of 0 to 63. Description Use vrrp dscp to set the DSCP value for VRRP packets. Use undo vrrp dscp to restore the default.
Examples # Map the virtual IP address of a VRRP group to the real MAC address of the interface. <Sysname> system-view [Sysname] vrrp method real-mac vrrp un-check ttl Syntax vrrp un-check ttl undo vrrp un-check ttl View Interface view Default level 2: System level Parameters None...
View Interface view Default level 2: System level Parameters virtual-router-id: VRRP group number, which ranges from 1 to 255. md5: Specifies the MD5 authentication mode. simple: Specifies the simple authentication mode. cipher: Sets a ciphertext authentication key. key: Set the authentication key. This argument is case sensitive. When md5 authentication applies, it must be a plaintext string of 1 to 8 characters or a ciphertext •...
View Interface view Default level 2: System level Parameters virtual-router-id: Virtual router ID or VRRP group number, which ranges from 1 to 255. 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.
priority-value: Priority value of the router in the specified VRRP group, which ranges from 1 to 254. A higher number indicates a higher priority. Description Use vrrp vrid priority to configure the priority of the router in the specified VRRP group. Use undo vrrp vrid priority to restore the default.
Routers in the same VRRP group must use the same Adver_Timer setting. Related commands: display vrrp. Examples # Set the master in VRRP group 1 to send VRRP advertisements at intervals of five seconds. <Sysname> system-view [Sysname] interface vlan-interface 2 [Sysname-Vlan-interface2] vrrp vrid 1 virtual-ip 10.1.1.1 [Sysname-Vlan-interface2] vrrp vrid 1 timer advertise 5 vrrp vrid track...
If forwarder-switchover member-ip ip-address, reduced priority-reduced, and switchover are not specified, the priority of the router in the VRRP group decreases by 10 when the track entry changes to negative. When the track entry changes from negative to positive or invalid, the router automatically restores its priority.
By default, no interface is tracked. When the uplink interface of a router in a VRRP group fails, usually the VRRP group cannot be aware of the uplink interface failure. If the router is the master of the VRRP group, hosts on the LAN are not able to access external networks because of the uplink failure.
The virtual IP address of a VRRP group cannot be 0.0.0.0, 255.255.255.255, loopback address, non A/B/C address and other illegal IP addresses such as 0.0.0.1. A VRRP group operates normally only when the configured virtual IP address and the interface IP address belong to the same segment and are legal host addresses.
The track entry specified in this command can be nonexistent. You can use the vrrp vrid weight • track command to specify a track entry, and then create the track entry using the track command. By default, the weight of a VF is 255, and the lower limit of failure is 10. When the weight of a VF •...
Page 117
If you do not specify the verbose keyword, only the brief state information of VRRP groups is displayed. If you specify both an interface and a VRRP group, only the state information of the specified VRRP group on the interface is displayed. If you only specify an interface, the state information of all the VRRP groups on the interface is displayed.
Page 118
Run Method : Virtual MAC Total number of virtual routers : 1 Interface Vlan-interface2 VRID Adver Timer : 100 Admin Status : Up State : Master Config Pri : 150 Running Pri : 140 Preempt Mode : Yes Delay Time : 10 Auth Type : Simple...
Page 119
Field Description Time to wait before the router becomes the master. The unit is milliseconds. Become Master Only routers in backup mode have such information. Authentication type: • Auth Type None—No authentication. • Simple—Simple text authentication. Authentication key, which is displayed as asterisks (******). Virtual IP Virtual IPv6 addresses of the VRRP group.
Page 120
Vlan2 Master FE80::1 Local ----- VF 1 Active 000f-e2ff-4011 Local Table 36 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: • Real MAC—Real MAC mode. The virtual IP address of the VRRP group is mapped Run Method to the real MAC address of the interface.
Page 121
Virtual IP : FE80::10 Member IP List : FE80::1 (Local, Master) FE80::2 (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 122
Field Description Administrative state: • Admin Status • DOWN Status of the router in the VRRP group: • Master State • Backup • Initialize Configured priority of the router (the priority value specified by using the Config Pri vrrp ipv6 vrid priority command). Running priority of the router, or in other words, the current priority of the Running Pri router.
Page 123
Field Description State of the tracked interface or track entry. State of a tracked interface: • • Down • Removed State State of a track entry: • Invalid • Negative • Positive • Not existing Priority value that is reduced when the monitored interface is down or removed, or when the status of the monitored track entry turns to negative.
Field Description Weight value that is reduced when the status of the monitored track entry Weight Reduced turns to negative. It is displayed only when the vrrp ipv6 vrid weight track command is executed. VF switchover information. Forwarder Switchover Track The information is displayed only after the vrrp ipv6 vrid track Information forwarder-switchover command is executed.
Page 125
Description Use display vrrp ipv6 statistics to display statistics about VRRP groups for IPv6. If you specify both an interface and a VRRP group, the command only displays the statistics about the specified VRRP group on the interface. If you only specify an interface, the command displays the statistics about all the VRRP groups on the interface.
Page 126
VRID Errors Table 38 Command output (standard protocol mode) Field Description Interface Interface to which the VRRP group belongs VRID ID 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...
Field Description Number of packets with authentication failures because of invalid Invalid Auth Type authentication types Number of packets with authentication failures because of Auth Type Mismatch mismatching authentication types Packet Length Errors Number of packets with VRRP packet length errors Address List Errors Number of packets with virtual IP address list errors Become Master...
Parameters interface interface-type interface-number: Clears VRRP group statistics of a specific interface. interface-type interface-number specifies an interface by its type and number. vrid virtual-router-id: Clears VRRP statistics of the specified VRRP group. virtual-router-id specifies a VRRP group by its group number, which ranges from 1 to 255. Description Use reset vrrp ipv6 statistics to clear VRRP group statistics.
View System view Default level 2: System level Parameters real-mac: Maps the real MAC address of the interface to the virtual IPv6 addresses of VRRP groups. virtual-mac: Maps the virtual MAC addresses to the virtual IPv6 addresses of VRRP groups. Description Use vrrp ipv6 method to specify the type of the MAC addresses mapped to the virtual IPv6 addresses of the VRRP groups.
Description Use vrrp ipv6 vrid authentication-mode to configure authentication mode and authentication key for the VRRP groups to send and receive VRRP packets. Use undo vrrp ipv6 vrid authentication-mode to restore the default. By default, authentication is disabled. For secrecy, all keys, including keys configured in plain text, are saved in cipher text. Before executing the command, create a VRRP group on an interface and configure the virtual IP address of the VRRP group.
If you set the router in the VRRP group to operate in non-preemptive mode, the delay period automatically changes to zero seconds. To avoid frequent member state changes in a VRRP group and make the backups have enough time to collect information (such as routing information), each backup waits for a period of time (the preemption delay time) after it receives an advertisement with the priority lower than the local priority, then sends VRRP advertisements to start a new master election in the VRRP group and becomes the master.
Examples # Set the priority of VRRP group 1 on VLAN-interface 2 to 150. <Sysname> system-view [Sysname] interface vlan-interface 2 [Sysname-Vlan-interface2] vrrp ipv6 vrid 1 virtual-ip fe80::2 link-local [Sysname-Vlan-interface2] vrrp ipv6 vrid 1 priority 150 vrrp ipv6 vrid timer advertise Syntax vrrp ipv6 vrid virtual-router-id timer advertise adver-interval undo vrrp ipv6 vrid virtual-router-id timer advertise...
Page 133
undo vrrp ipv6 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. track track-entry-number: Specifies a track entry. The track-entry-number argument ranges from 1 to 1024.
Examples # Associate IPv6 VRRP group 1 on VLAN-interface 2 with track entry 1 and decrease the priority of the router in the VRRP group by 50 when the state of track entry 1 changes to negative. <Sysname> system-view [Sysname] interface vlan-interface 2 [Sysname-Vlan-interface2] vrrp ipv6 vrid 1 virtual-ip fe80::2 link-local [Sysname-Vlan-interface2] vrrp ipv6 vrid 1 track 1 reduced 50 # Associate VRRP group 1 on VLAN-interface 2 with track entry 2 and enable the VF in listening state...
When the status of the tracked interface turns from down or removed to up, the corresponding router restores its priority automatically. Related commands: vrrp ipv6 vrid track and display vrrp ipv6. Examples # On VLAN-interface 2, set the interface to be tracked to VLAN-interface 1, making the priority of VRRP group 1 on VLAN-interface 2 decrement by 50 when VLAN-interface 1 is down or removed.
<Sysname> system-view [Sysname] interface vlan-interface 1 [Sysname-Vlan-interface1] bfd authentication-mode md5 15 BfdKey bfd detect-multiplier Syntax bfd detect-multiplier value undo bfd detect-multiplier View Interface view Default level 2: System level Parameters value: Detect time multiplier, in the range of 3 to 50. Description Use bfd detect-multiplier to configure the detection time multiplier.
Do not configure the source IP address of the BFD echo packets to belong to the same network segment as any interface address of the device. Otherwise a large amount of ICMP redirect packets may be sent by the remote device, causing network congestion. Examples # Configure the source IP address of echo packets as 10.1.1.1.
Parameters value: Minimum interval for receiving BFD control packets, in milliseconds. The value must be a multiple of 100 and range from 200 to 1000. Description Use bfd min-receive-interval to configure the minimum interval for receiving BFD control packets. Use undo bfd min-receive-interval to restore the default minimum interval for receiving BFD control packets.
passive: Uses the passive mode. In the passive mode, BFD does not actively transmit a BFD control packet to the remote end; it transmits a BFD control packet only after receiving a BFD control packet from the remote end. Description Use bfd session init-mode to configure the mode for establishing a BFD session.
Table 40 Command output Field Description Interface Interface name. Session Num Number of sessions established on the local interface. Min Trans Inter Minimum control packet transmit interval configured on the interface. Min Recv Inter Minimum control packet receive interval configured on the interface. DetectMult Detection time multiplier.
Page 146
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display bfd session to display BFD session information. Examples # Display detailed information about the BFD sessions maintained by the switch. <Sysname> display bfd session verbose Total session number: 2 Up session number: 2 Init mode: Active...
Field Description Interface Name of the interface of the session. Min Trans Inter Expected minimum transmit interval configured on the interface. Min Recv Inter Expected minimum receive interval configured on the interface. Act Trans Inter Actual transmit interval. Act Detect Inter Actual session detection timer.
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 149
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 42 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 bfd echo Syntax track track-entry-number bfd echo interface interface-type interface-number remote ip remote-ip local ip...
When configuring collaboration between track and BFD, do not configure the virtual IP address of a VRRP group as the local or remote address of a BFD session. Related commands: display track. Examples # Create track entry 1, which uses BFD to monitor the link between local IP address 1.1.1.2 and remote IP address 1.1.1.1 by sending BFD echo packets.
Negative if the physical status of the interface is down. To display the physical status of an interface, use the display ip interface brief command. Related commands: display track; display ip interface brief (Layer 3—IP Services Command Reference). Examples # Create track entry 1, and associate it with the physical status of interface GigabitEthernet 1/0/1. <Sysname>...
By default, no track entry exists. 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.
Page 154
By default, no track entry exists. 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.
Support and other resources Contacting HP For worldwide technical support information, see the HP support website: http://www.hp.com/support Before contacting HP, collect the following information: Product model names and numbers • • Technical support registration number (if applicable) Product serial numbers •...
Conventions This section describes the conventions used in this documentation set. Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown. Italic Italic text represents arguments that you replace with actual values. Square brackets enclose syntax choices (keywords or arguments) that are optional. Braces enclose a set of required syntax choices separated by vertical bars, from which { x | y | ...
Page 157
Network topology icons Represents a generic network device, such as a router, switch, 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.
Index B C D F M O P R S T V display cfd remote-mep,44 display cfd service-instance,45 authentication-mode,133 display cfd status,46 detect-multiplier,134 display cfd version,47 echo-source-ip,134 display dldp,49 min-echo-receive-interval,135 display dldp statistics,51 min-receive-interval,135 display monitor-link group,85 min-transmit-interval,136 oam,1 display bfd multi-hop destination-port,137 display oam...