Active and standby switchover configuration commands The following matrix shows the command and router compatibility: Command HSR6602 6604/6608/6616 Active and standby switchover commands display switchover state Use display switchover state to display the backup state of the specified MPU. Syntax display switchover state [ slot slot-number ] [ | { begin | exclude | include } regular-expression ] Views Any view...
Field Description Data smooth Data smoothing state. # Display the backup state on the standby MPU in slot 1. <Sysname> display switchover state slot 1 Slave HA State: Receiving realtime data. The output indicates that the standby MPU is slot 1 is receiving real-time backup data. Table 2 Command output Field Description...
Views System view Default command level 2: System level Examples # Restart the standby MPU. <Sysname> system-view [Sysname] slave restart The slave will reset! Continue?[Y/N]:y slave switchover Use slave switchover to manually configure the switchover between the active MPU and standby MPU.
Page 10
Default command level 2: System level Parameters disable: Disables manual switchover between the active MPU and standby MPU. enable: Enables manual switchover between the active MPU and standby MPU. Examples # Enable manual switchover between the active MPU and standby MPU. <Sysname>...
Ethernet OAM configuration commands The commands in this chapter are supported only when the SAP module is operating in bridge mode. display oam Use display oam to display the information about an Ethernet OAM connection, including connection status, information contained in Ethernet OAM packet header, and Ethernet OAM packet statistics.
Page 12
Critical Event Local Evaluating : COMPLETE Remote Evaluating : COMPLETE Packets statistic : Packets Send Receive -------------------------------------------------------------------------- OAMPDU OAMInformation OAMEventNotification OAMUniqueEventNotification OAMDuplicateEventNotification Table 3 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 13
Field Description Indicates whether the remote-to-local configuration negotiation is complete: Remote Evaluating • COMPLETE—The negotiation is completed. • NOTCOMPLETE—The negotiation is uncompleted. Packets statistic Statistics about Ethernet OAMPDUs sent and received. OAMPDU Total number of the Ethernet OAMPDUs sent and received. OAMInformation Number of the Information OAMPDUs sent and received.
Field Description OAMRemoteState State of the Ethernet OAM peer. Remote_mux_action Peer sending mode. For more information, see Table Remote_par_action Peer receiving mode. For more information, see Table OAMRemoteConfiguration Configuration of the peer Ethernet OAM entity. OAM Mode Ethernet OAM mode. Unidirectional Support Indicates whether unidirectional transmission is supported (YES or NO).
Page 15
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. Examples # Display global Ethernet OAM configuration. <Sysname> display oam configuration Configuration of the link event window/threshold : -------------------------------------------------------------------------- Errored-symbol Event period(in seconds) Errored-symbol Event threshold...
Table 6 Command output Field Description Port Port index. Link Status Link status. Event statistic Statistics on critical Ethernet OAM link events. Link Fault Indicates whether a link fault is present: 0 for no and 1 for yes. Dying Gasp Indicate whether a fatal 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). • OAMLocalErrFrame Errored Frame Second Summary Threshold—Error threshold that triggers SecsSummaryEvent an error frame seconds event.
Default Ethernet OAM is disabled on all Ethernet ports. Views Layer 2 Ethernet port view Default command level 2: System level Examples # Enable OAM on port GigabitEthernet 3/0/1. <Sysname> system-view [Sysname] interface gigabitethernet 3/0/1 [Sysname-GigabitEthernet3/0/1] oam enable oam errored-frame period Use oam errored-frame period to set the errored frame event detection interval.
Syntax oam errored-frame threshold threshold-value undo oam errored-frame threshold Default The errored frame event triggering threshold is 1. Views System view Default command level 2: System level Parameters threshold-value: Errored frame event triggering threshold in the range of 0 to 4294967295. Examples # Set the errored frame event triggering threshold to 100.
where bandwidth is the port bandwidth (in bps) and "period" is the configured period (in milliseconds). Examples # Set the errored frame period event detection interval to 10 seconds (10000 milliseconds). <Sysname> system-view [Sysname] oam errored-frame-period period 10000 Related commands •...
undo oam errored-frame-seconds period Default The errored frame seconds event detection interval is 60 seconds. Views System view Default command level 2: System level Parameters period-value: Errored frame seconds event detection interval in the range of 10 to 900 (in seconds). Examples # Set the errored frame seconds event detection interval to 100 seconds.
• display oam configuration oam errored-symbol period Use oam errored-symbol period to set the errored symbol event detection interval. Use undo oam errored-symbol period to restore the default. Syntax oam errored-symbol period period-value undo oam errored-symbol period Default The errored symbol event detection interval is one second. Views System view Default command level...
Examples # Set the errored symbol event triggering threshold to 100. <Sysname> system-view [Sysname] oam errored-symbol threshold 100 Related commands • oam errored-symbol period • display oam link-event • display oam configuration oam loopback 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.
Use undo oam loopback interface to disable Ethernet OAM remote loopback on an Ethernet port in system view. Syntax oam loopback interface interface-type interface-number undo oam loopback interface interface-type interface-number Default Ethernet OAM remote loopback is disabled on an Ethernet port. Views System view Default command level...
Views User view Default command level 1: Monitor level Parameters interface-type interface-number: Specifies a port by its type and number. Usage guidelines 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. Examples # Configure the active Ethernet OAM mode and enable Ethernet OAM on GigabitEthernet 3/0/1, and then enable Ethernet OAM remote loopback on GigabitEthernet 3/0/1 in user view.
[Sysname-GigabitEthernet3/0/1] oam loopback reject-request oam mode Use oam mode to set the Ethernet OAM mode for an Ethernet port. Use undo oam mode to restore the default. Syntax oam mode { active | passive } undo oam mode Default An Ethernet OAM-enabled Ethernet port operates in the active Ethernet OAM mode. Views Layer 2 Ethernet port view Default command level...
Views System view Default command level 2: System level Parameters interval: Ethernet OAM handshake packet transmission interva in the range of 500 to 5000 milliseconds. The value of this argument must be a multiple of 100. Usage guidelines After the timeout timer for an Ethernet OAM connection expires, the local OAM entity ages out its connection with the peer OAM entity, causing the OAM connection to be disconnected.
Examples # Set the Ethernet OAM connection timeout timer to 6000 milliseconds—assume that the Ethernet OAM handshake packet transmission interval is 1000 milliseconds. <Sysname> system-view [Sysname] oam timer keepalive 6000 Related commands • oam timer hello • display oam configuration reset oam Use reset oam to clear the statistics on Ethernet OAM packets and Ethernet OAM link error events of an Ethernet port.
CFD configuration commands The commands in this chapter are supported only when the SAP module is operating in bridge mode. cfd cc enable Use cfd cc enable to enable CCM sending on a specified MEP. Use undo cfd cc enable to disable CCM sending on a specified MEP. Syntax cfd cc service-instance instance-id mep mep-id enable undo cfd cc service-instance instance-id mep mep-id enable...
Default command level 2: System level Parameters interval interval-value: Specifies the value of the interval field in CCM messages, in the range of 2 to service-instance instance-id: Specifies the service instance ID in the range of 1 to 32767. Usage guidelines 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> system-view [Sysname] cfd enable cfd linktrace Use cfd linktrace to find the path between the source and target MEPs, which is achieved through the transmission of LTMs between the two and detection of the responding LTRs. Syntax cfd linktrace service-instance instance-id mep mep-id { target-mep target-mep-id | target-mac mac-address } [ ttl ttl-value ] [ hw-only ] Views Any view...
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 10 Command output Field Description Linktrace to MEP 2001 with the Linktrace to target MEP 2001 with the sequence number 1101-43361. sequence number 1101-43361 MAC Address Source MAC address in the LTR messages.
Views System view Default command level 2: System level Parameters size size-value: Specifies the size of the buffer used to store the auto-detection result, in the range of 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. Usage guidelines After LT messages automatic sending is enabled, if the source MEP fails to receive the CCMs from the target MEP within 3.5 times the sending interval, the link between the two is regarded as faulty...
Examples # Enable LB to check the status of the link between MEP 1101 and MEP 2001 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 Reply from 0010-FC00-6512: sequence number=1101-43406 time=5ms...
Views System view Default command level 2: System level Parameters ma ma-name: Specifies the name of the MA, which is a string of 1 to 43 characters. IEEE 802.1ag standard version allows an MA name to contain letters, numbers, and special characters such as tilde (~), exclamation mark (!), at sign (@), number sign (#), dollar sign ($), percent (%), caret (^), ampersand (&), asterisk(*), brackets ({ }, ( ),[ ], <...
Views System view Default command level 2: System level Parameters md md-name: Specifies the name of an MD, which is a string of 1 to 43 characters. IEEE 802.1ag standard version allows an MD name to contain letters, numbers, and special characters such as tilde (~), exclamation mark (!), at sign (@), number sign (#), dollar sign ($), percent (%), caret (^), ampersand (&), asterisk(*), brackets ({ }, ( ),[ ], <...
Usage guidelines In creating a MEP, the service instance you specified defines the MD and MA that the MEP belongs You cannot create a MEP if the MEP ID is not included in the MEP list of the relevant service instance.
cfd meplist Use cfd meplist to create a MEP list, which is a collection of local MEPs allowed to be configured and the remote MEPs to be monitored in the same MA. Use undo cfd meplist to delete existing MEP lists. Syntax cfd meplist mep-list service-instance instance-id undo cfd meplist mep-list service-instance instance-id...
Default No rules for generating MIPs are configured and no MIPs exist. Views System view Default command level 2: System level Parameters default: This rule means that if the lower level MA is not configured with MIPs, the current MA will create MIPs.
plus (+), equal sign (=), vertical bar (|), backslash (\), colon (:), semicolon (;), quotation marks (", '), comma (,), period (.), and slash (/). 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 such as hyphen (–) and underscore (_), but do not allow an MA name to start or end with a special character.
numbers, and special characters such as tilde (~), exclamation mark (!), at sign (@), number sign (#), dollar sign ($), percent (%), caret (^), ampersand (&), asterisk(*), brackets ({ }, ( ),[ ], < >), hyphen (-), underscore (_), plus (+), equal sign (=), vertical bar (|), backslash (\), colon (:), semicolon (;), quotation marks (", '), comma (,), period (.), and slash (/).
Default command level 2: System level Parameters draft5: Specifies that IEEE 802.1ag draft5.2 be used. draft5-plus: Specifies that the IEEE 802.1ag draft5.2 interim version be used. standard: Specifies that the standard version of IEEE 802.1ag be used. Usage guidelines If an MD is created by using the cfd md command or automatically generated by using the cfd service-instance maid format command on a device, you cannot switch between the standard version and draft5.2 version (or draft5.2 interim version);...
Page 45
If this command is used without specifying any service instance, the information of LTRs of all MEPs is displayed. Examples # Display the LTR information saved on all the MEPs in every service instance when the standard version (IEEE 802.1ag) of CFD is used. <Sysname>...
Table 12 Command output Field Description Service instance Service instance to which the MEPs that send LTMs belong. MEP ID ID of the MEP that sends LTMs. MAC Address Source MAC address in the LTR message. Hop count when LTM passes the device. Last MAC MAC address of the last-hop device the LTM passes.
Page 47
Usage guidelines These LTR messages received as responses to automatically sent LTMs are stored in the buffer after you executed the cfd linktrace auto-detection command. With the size keyword not specified, this command displays the information of all LTRs stored in the buffer.
Service instance: 2 MEP ID: 1023 Time: 2009/05/22 10:44:06 Target MEP ID: 2025 TTL: 64 MAC Address Forwarded Relay Action 00E0-FC27-6502 None NOTE: The output varies by CFD protocol version. Table 13 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.
Page 49
Views Any view Default command level 1: Monitor level 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 such as tilde (~), exclamation mark (!), at sign (@), number sign (#), dollar sign ($), percent (%), caret (^), ampersand (&), asterisk(*), brackets ({ }, ( ),[ ], <...
Maintenance domain: mdtest_7 1 maintenance association(s) belong(s) to maintenance domain: mdtest_7 Maintenance association: matest_7 Service instance: 7 VLAN: 7 Level: 7 Table 14 Command output Field Description 3 maintenance domain(s) configured. Number of MDs configured. Maintenance domain Name of the MD. 1 maintenance association(s) belong(s) to Number of MAs configured in the MD.
Level: 6 Maintenance domain: mdtest_6 Level: 7 Maintenance domain: mdtest_7 Table 15 Command output Field Description 8 maintenance domain(s) configured Number of MDs configured. Level MD level, each level allows only one MD. Maintenance domain MD name. display cfd mep Use display cfd mep to display the attribute and operating information of a MEP.
Page 52
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: mdtest1 Maintenance association:matest1 MEP:5 Sequence Number:0x50A Received Time: 02/3/6 13:01:34...
Field Description Number of CCMs that have been sent by the MEPs. SendCCM If this field is not supported, a hyphen (-) is displayed. Loopback Information related to Loopback. NextSeqNumber Sequence number of the next LBM to be sent. Number of LBRs that have been sent. If the MEP is inward-facing, the SendLBR number of LBRs will not be counted.
Default command level 1: Monitor level Parameters service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767. |: 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.
Syntax display cfd remote-mep service-instance instance-id mep mep-id [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters service-instance instance-id: Specifies the service instance ID in the range of 1 to 32767. mep mep-id: Specifies the ID of a remote MEP, in the range of 1 to 8191.
Page 57
Views Any view Default command level 1: Monitor level Parameters instance-id: Service instance ID in the range of 1 to 32767. |: 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.
display cfd status Use display cfd status to display the status of CFD (enabled or disabled). Syntax display cfd status [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters |: Filters command output by specifying a regular expression.
Page 59
Table 20 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 The current CFD version is draft5-plus draft5.2 interim version. Indicates that the current CFD protocol is the standard version of The current CFD version is standard IEEE 802.1ag.
DLDP configuration commands The commands in this chapter are supported only when the SAP module is operating inbridge mode. display dldp Use display dldp to display the DLDP configuration of a port. Syntax display dldp [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level...
Page 61
Interface GigabitEthernet3/0/2 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 3/0/1.
Field Description Neighbor mac address MAC address of the neighbor. Neighbor port index Neighbor port index. Neighbor state Neighbor state (unknown, one way, or two way). Neighbor aged time Neighbor aging time. display dldp statistics Use display dldp statistics to display the statistics on the DLDP packets passing through a port. Syntax display dldp statistics [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]...
Loop packets received : 0 Authentication failed packets received : 0 Valid packets received : 4 # Display the statistics on the DLDP packets passing through GigabitEthernet 3/0/1. <Sysname> display dldp statistics gigabitethernet 3/0/1 Interface GigabitEthernet3/0/1 Packets sent : 6 Packets received : 5 Invalid packets received : 2 Loop packets received : 0...
password: Sets the DLDP authentication 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. Usage guidelines To enable DLDP to operate correctly, make sure the DLDP authentication modes and the passwords configured on the two ends of a link are the same.
Syntax dldp enable undo dldp enable Default DLDP is disabled both globally and on each port. Views System view, Ethernet interface view, port group view Default command level 2: System level Usage guidelines When executed in system view, this command enables/disables DLDP globally. When executed in Ethernet interface view, this command enables/disables DLDP on the current port.
Parameters time: Specifies the interval for sending Advertisement packets, in the range of 1 to 100 (in seconds). Usage guidelines 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 Use dldp reset to reset DLDP state for ports, thus enabling DLDP down ports to perform...
Use undo dldp unidirectional-shutdown to restore the default. Syntax dldp unidirectional-shutdown { auto | manual } undo dldp unidirectional-shutdown Default The port shutdown mode is auto mode. Views System view Default command 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.
<Sysname> system-view [Sysname] dldp work-mode enhance reset dldp statistics Use reset dldp statistics to clear the statistics on DLDP packets passing through a port. Syntax reset dldp statistics [ interface-type interface-number ] Views User view Default command level 1: Monitor level Parameters interface-type interface-number: Port type and port number.
RPR configuration commands bandwidth Use bandwidth to set the maximum available bandwidth for the RPR logical interface or RPR physical port. Use undo bandwidth to restore the default. Syntax bandwidth bandwidth-value undo bandwidth Views Layer 3 RPR logical interface view, RPRPOS interface view Default command level 2: System level Parameters...
Views Layer 3 RPR logical interface view, RPRPOS interface view Default command level 2: System level Parameters text: Description information of an RPR logical interface or RPR physical port, a string of 1 to 80 characters. Examples # Configure the description of Layer 3 RPR logical interface RPR 1 as RPR-1. <Sysname>...
Page 71
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. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Usage guidelines If rpr is not specified, this command displays information about all types of interfaces.
Table 23 Command output Field Description State of the Layer 3 RPR logical interface: • DOWN (Administratively)—The interface has been administratively shut down with the shutdown command. RPR1 current state • DOWN—The interface is administratively up but physically down, maybe because no physical link is present or the link has failed. •...
Page 73
Syntax display interface [ rprpos ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ] display interface { rprpos } interface-number [ brief [ description ] ] [ | { begin | exclude | include } regular-expression ] Views Any view...
Last 5 second Host input : 0.00 packets/sec 0.00 bytes/sec 0.00% Last 5 second Line input : 0.00 packets/sec 0.00 bytes/sec 0.00% Last 5 second Host output: 0.00 packets/sec 0.00 bytes/sec 0.00% Last 5 second Line output: 0.00 packets/sec 0.00 bytes/sec 0.00% Table 24 Command output Field...
Examples # Display the binding information of all RPR logical interfaces. <Sysname> display rpr bind-info Bind information on interface: RPR1 Smart-connection: Enabled/Connected PHY-Interface Ringlet-ID Role Mate-Port --------------------------------------------------- RPRPOS1/0 Ringlet0 Master RPRPOS1/1 Ringlet1 Slave Bind information on interface: RPR2 Smart-connection: Enabled/Connected PHY-Interface Ringlet-ID Role...
Default command level 1: Monitor level Parameters rpr interface-number: Specifies an RPR logical interface by its type and number. If no RPR logical interface is specified, this command displays the RPR defect information of the stations corresponding to all the RPR logical interfaces on your device. |: Filters command output by specifying a regular expression.
Page 78
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. Examples # Display the RPR fairness settings for Layer 3 RPR logical interface RPR 1. <Sysname> display rpr fairness rpr 1 RPR fairness parameters on interface: RPR1 Station's fairness weight on ringlet0: 0 Station's fairness weight on ringlet1: 0...
Field Description Local rate-limiter bandwidth for low priority service Rate limit setting of the local station for the class B on ringlet0 EIR and class C services on Ringlet 0. Local rate-limiter bandwidth for low priority service Rate limit setting of the local station for the class B on ringlet1 EIR and class C services on Ringlet 1.
Last known neighbour on the west span: 000f-e245-7a43 Last known neighbour on the east span: 000f-e23f-2e80 The number of protections on the west span: 1 The number of protections on the east span: 1 Last protection time on the west span: Last protection time on the east span: Protection start time on the west span: 2007.06.12 17:11:43 Protection start time on the east span: 2007.06.12 17:11:43...
Page 81
Syntax display rpr rs-table { default | dynamic | ipv6 | overall | static | vrrp } [ rpr interface-number ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters default: Displays information about the default ringlet selection table.
Table 28 Command output Field Description Dynamic ringlet selection table on Dynamic ringlet selection table of the station corresponding to the interface specified interface. Static ringlet selection table on Static ringlet selection table of the station corresponding to the interface specified interface.
<Sysname> display rpr statistics smac 00e0-fc00-1a01 Traffic statistics from the source station on interface: RPR1 MAC-Address Packets Bytes ------------------------------------- 00e0-fc00-1a01 Table 29 Command output Field Description Traffic statistics from the source station Source MAC address-based traffic statistics for the station on interface corresponding to the specified interface.
Topology stability timer: 40 ms display rpr topology Use display rpr topology to display RPR topology information. Syntax display rpr topology { all | local | ring | stations } [ summary ] [ rpr interface-number ] [ | { begin | exclude | include } regular-expression ] Views Any view...
Page 85
Edge state on the west span: unedged Edge state on the east span: unedged Sequence number: 10 Last known neighbour on the west span: 00e0-fc00-1a01 Last known neighbour on the east span: 00e0-fc00-1a01 Local topology state: valid Station topology information on interface: RPR1 Station entry on ringlet0 Mac address: 00e0-fc00-1a01 Station name:...
Page 86
IP address: 0.0.0.0 Station topology information on interface: RPR2 Table 30 Command output Field Description Ring-level topology information on Ring topology information of the station corresponding to the interface specified interface. Stations on ringlet0 Number of stations on the west span. Stations on ringlet1 Number of stations on the east span.
Page 87
# Display the RPR topology summary. <Sysname> display rpr topology all summary Topology information items Psw:protection state, west Pse:protection state, east Esw:edge state, west Ese:edge state, east Wc:wrap protection configured Jp:jumbo frame preferred Ring-level topology information on interface: RPR1 Ringlet0 Ringlet1 Ring Jumbo-Prefer Topology-Type ------------------------------------------------- Regular Closed ring...
Page 88
Field Description Edge state of the west span: • Esw:edge state, west 1—An edge has been detected. • 0—No edge has been detected. Wrap protection mode configured: • Wc:wrap protection configured 1—Wrapping mode. • 0—Steering mode. Indicates whether Jumbo frames are supported: •...
Page 89
Table 32 Command output Field Description Local station topology information on Topology information of the local stations mapping to the logical interface interfaces of the device. Mac address MAC address of the station. Station name Station name. IP address IP address of the station. Indicates whether Jumbo frames are supported: •...
Page 90
Protection mode: steer Protection state on the west span: idle Protection state on the east span: idle Edge state on the west span: unedged Edge state on the east span: unedged Sequence number: 9 Reachability: reachable Valid: 1 Station entry on ringlet1 Mac address: 00e0-fc00-1a01 Station name:StationB IP address:...
display rpr vrrp-info Use display rpr vrrp-info to display RPR VRRP standby group information. Syntax display rpr vrrp-info [ rpr interface-number ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters rpr interface-number: Specifies an RPR logical interface by its type and number.
Default command level 2: System level Parameters c2 flag-value: Specifies the path signal label byte. It is a hexadecimal number in the range of 0x00 to 0xFF. sdh: Sets the framing format to synchronous digital hierarchy (SDH). sonet: Sets the framing format to synchronous optical network (SONET). j0 flag-value: Specifies the regeneration section trace message.
[Sysname-RPRPOS2/1/1] flag j1 ignore frame-format Use frame-format to set the framing format on the interface. Use undo frame-format to restore the default. Syntax frame-format { sdh | sonet } undo frame-format Default The framing format is SDH. Views RPRPOS interface view Default command level 2: System level Parameters...
You cannot delete an RPR logical interface bound to RPR physical ports. Examples # Create a Layer 3 RPR logical interface RPR 1 and enter its view. <Sysname> system-view [Sysname] interface rpr 1 [Sysname-RPR1] interface rprpos Use interface rprpos to enter RPR physical port view. Syntax interface rprpos interface-number Views...
Parameters rprpos: Clears statistics of RPRPOS ports. interface-number: Specifies the number of an RPR physical port for which statistics are to be cleared. Usage guidelines To collect statistics of an RPR physical port within a specific period, you need to clear statistics of the port before starting statistics collection.
Default command level 2: System level Parameters fs: Sends a forced switch (FS) protection request. idle: Sends an idle protection request. ms: Sends a manual switch (MS) protection request. ringlet0: Sends a protection request on Ringlet 0. ringlet1: Sends a protection request on Ringlet 1. Usage guidelines Six types of protection requests, FS, signal fail (SF), signal degrade (SD), MS, wait to restore (WTR), and idle, are available with decreased priorities.
Parameters rprpos interface-number: Specifies an RPR physical port by its type and number. rpr interface-number: Specifies an RPR logical interface by its type and number. ringlet0: Uses the RPR physical port that receives data frames on Ringlet 0 and sends data frames on Ringlet 1 as the west port of the current or specified RPR logical interface.
Usage guidelines In case the default ringlet you configured is faulty, the other ringlet works as the default ringlet to forward data. Examples # Specify Ringlet 1 as the default ringlet on Layer 3 RPR logical interface RPR 1. <Sysname> system-view [Sysname] interface rpr 1 [Sysname-RPR1] rpr default-rs ringlet1 rpr echo mac...
Examples # Test the connectivity between the current station and the station with MAC address 0012-3F83-A1E3, and specify ringlet 0 as the sending ringlet and ringlet 1 as the receiving ringlet on Layer 3 RPR logical interface RPR 1. <Sysname> system-view [Sysname] interface rpr 1 [Sysname-RPR1] rpr echo mac 0012-3F83-A1E3 -s ringlet0 -r ringlet1 PING 0012-3F83-A1E3: press CTRL+C to break...
Use undo rpr protect-mode to restore the default. Syntax rpr protect-mode { steer | wrap } undo rpr protect-mode Default The steering protection mode is used. Views Layer 3 RPR logical interface view Default command level 2: System level Parameters steer: Sets the protection mode to steering where the source station directs protected frames to the ringlet that retains connectivity to their destinations.
low: Configures the rate limit for class B EIR and class C traffic. medium: Configures the rate limit for class B CIR traffic. reserved: Configures the reserved bandwidth for subclass A0 traffic. ringlet0: Applies the reserved bandwidth or rate limit configuration to Ringlet 0. ringlet1: Applies the reserved bandwidth or rate limit configuration to Ringlet 1.
rpr static-rs Use rpr static-rs to add a static ringlet selection entry, specifying which ringlet is used for sending data frames destined to the specified MAC address. Use undo rpr static-rs to remove the entry. Syntax rpr static-rs mac-address { ringlet0 | ringlet1 } undo rpr static-rs mac-address Default No static ringlet selection entry exists.
Parameters station-name: Name of an RPR station, a string of 1 to 20 characters. Examples # Name the station as ABC on Layer 3 RPR logical interface RPR 1. <Sysname> system-view [Sysname] interface rpr 1 [Sysname-RPR1] rpr station-name ABC rpr timer Use rpr timer to set RPR timers.
tp-slow tp-slow-value: Sets the TP slow timer, in steps of 50 milliseconds. The value range for the tp-slow-value argument is 50 to 10000 milliseconds. wtr wtr-value: Sets the WTR timer, in the range of 0 to 1440 seconds. Examples # Set the ATD timer to three seconds on Layer 3 RPR logical interface RPR 1. <Sysname>...
Default Traffic of an RPR logical interface is processed by the card where the receiving RPR physical port resides. Views Layer 3 RPR logical interface view Default command level 2: System level Parameters slot slot-number: Specifies the slot number of the card that processes traffic for the current interface. Usage guidelines If the card specified by this command is removed, traffic of the current RPR logical interface cannot be forwarded.
threshold Use threshold to set the SD or SF alarm threshold for the interface. Use undo threshold to restore the default. Syntax threshold { sd | sf } value undo threshold { sd | sf } Views RPRPOS interface view Default command level 2: System level Parameters...
RRPP configuration commands The router supports RRPP commands only when the SAP module is operating in bridge mode. control-vlan Use control-vlan to configure the primary control VLAN for the current RRPP domain. Use undo control-vlan to remove the control VLAN configuration for the current RRPP domain. Syntax control-vlan vlan-id undo control-vlan...
Page 109
Syntax display rrpp brief [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level 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.
Table 35 Command output Field Description RRPP node mode: • M—Master node. • Flags for Node Mode T—Transit node. • E—Edge node. • A—Assistant edge node. RRPP protocol status: • RRPP Protocol Status Enable (globally enabled). • Disable (globally disabled). Number of RRPP Domains Number of RRPP domains configured.
Page 111
Default command level 1: Monitor Level Parameters ring-group-id: Specifies the RRPP ring group ID in the range of 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.
display rrpp statistics Use display rrpp statistics to display RRPPDU statistics. Syntax display rrpp statistics domain domain-id [ ring ring-id ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters domain-id: RRPP domain ID in the range of 1 to 8.
Page 113
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 : GigabitEthernet1/0/3 Packet Link Common Complete Edge Major...
Field Description RRPP ring level: • Ring Level 0—Primary ring. • 1—Subring. Node mode: • Master node. • Transit node. Node Mode • Edge node. • Assistant edge node. RRPP ring activation status: • Active Status Yes—Active. • No—Inactive. The primary port field means the node mode is master node or transit Primary Port node.
Page 115
Default command level 1: Monitor level Parameters domain-id: RRPP domain ID in the range of 1 to 8. ring-id: RRPP ring ID in the range of 1 to 64. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
Page 116
Ring Level Node Mode : Edge Ring State Enable Status : No Active Status: No Common port : GigabitEthernet1/0/4 Port status: - GigabitEthernet1/0/5 Port status: - Edge port : GigabitEthernet1/0/3 Port status: - Table 38 Command output Field Description Domain ID RRPP domain ID.
Field Description The common port field means the node mode is edge node or assistant edge Common Port node. A hyphen (-) appears when the port is not configured on the ring or the board to which the port belongs does not start. The edge port field means the node mode is edge node or assistant edge node.
Examples # Configure subrings for RRPP ring group 1. <Sysname> system-view [Sysname] rrpp ring-group 1 [Sysname-rrpp-ring-group1] domain 1 ring 1 to 3 5 [Sysname-rrpp-ring-group1] domain 2 ring 1 to 3 5 Related commands • rrpp ring-group • display rrpp ring-group protected-vlan Use protected-vlan to configure the protected VLANs for the RRPP domain.
[Sysname-mst-region] instance 1 vlan 1 to 30 [Sysname-mst-region] active region-configuration [Sysname-mst-region] quit [Sysname] rrpp domain 1 [Sysname-rrpp-domain1] control-vlan 100 [Sysname-rrpp-domain1] protected-vlan reference-instance 1 Related commands • display stp region-configuration (Layer 2—LAN Switching Command Reference) • rrpp domain reset rrpp statistics Use reset rrpp statistics to clear RRPPDU statistics.
Page 120
Views RRPP domain view Default command level 2: System level Parameters ring-id: RRPP ring ID in the range of 1 to 64. master: Specifies the device as the master node of the RRPP ring. transit: Specifies the device as the transit node of the RRPP ring. primary-port: Specifies the port as a primary port.
<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 20 node-mode master primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 1 # Specify the device as the transit node of primary ring 20 in RRPP domain 1, GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the secondary port.
Views RRPP domain view Default command level 2: System level Parameters ring-id: RRPP ring ID in the range of 1 to 64. Usage guidelines To activate the RRPP domain, enable the RRPP protocol and the RRPP rings for the RRPP domain. Examples # Enable RRPP ring 10 in RRPP domain 1.
Related commands • control-vlan • protected-vlan rrpp enable Use rrpp enable to enable RRPP protocol. Use undo rrpp enable to disable RRPP protocol. Syntax rrpp enable undo rrpp enable Default RRPP protocol is disabled. Views System view Default command level 2: System level Usage guidelines To activate the RRPP domain, enable the RRPP protocol and the RRPP rings for the RRPP domain.
Usage guidelines When you remove a ring group, remove it on the edge node first and then on the assistant-edge node. If you fail to follow the order, the assistant-edge node might fail to receive Edge-Hello packets and mistakenly considers that the primary ring has failed. After a ring group is removed, all subrings in the ring group do not belong to any ring group.
Smart Link configuration commands The commands in this chapter are supported only when the SAP module is operating in bridge mode. display smart-link flush Use display smart-link flush to display information about the received flush messages. Syntax display smart-link flush [ | { begin | exclude | include } regular-expression ] Views Any view Default command level...
Page 126
Syntax display smart-link group { group-id | all } [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters group-id: Specifies the smart link group ID in the range of 1 to 48. all: Displays information about all smart link groups.
Field Description Flush-count Number of transmitted flush messages. Time when the last flush message was transmitted (NA indicates that no Last-flush-time flush message has been transmitted). flush enable Use flush enable to enable flush update. Use undo flush enable to disable flush update. Syntax flush enable [ control-vlan vlan-id ] undo flush enable...
Default command level 2: System level Parameters interface-type interface-number: Specifies a port by its type and number. master: Specifies a port as the primary port. slave: Specifies a port as the secondary port. Usage guidelines Disable the spanning tree feature and RRPP on the ports you want to add to the smart link group, and make sure that the ports are not member ports of any aggregation group or service loopback group.
Usage guidelines Disable the spanning tree feature and RRPP on the ports you want to add to the smart link group, and make sure that the ports are not member ports of any aggregation group or service loopback group. You cannot enable the spanning tree feature or RRPP on a smart link group member port or assign a smart link group member port to an aggregation group or service loopback group.
Usage guidelines Before configuring the collaboration between a port and the CC function of CFD, make sure that the port is already a member port of a smart link group. The control VLAN of the smart link group to which the port belongs must match the detection VLAN of the CC function of CFD.
preemption mode Use preemption mode to enable role preemption. Use undo preemption mode to disable role preemption. Syntax preemption mode role undo preemption mode Default Role preemption is disabled. Views Smart link group view Default command level 2: System level Parameters role: Configures the role preemption mode, which enables the primary port to preempt the secondary port in active state.
Usage guidelines 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. Before assigning ports to a smart link group, configure protected VLANs for the smart link group. You can remove the protected VLAN configuration of a smart link group when the group is empty but not after a member port is assigned to it.
Syntax smart-link flush enable [ control-vlan vlan-id-list ] undo smart-link flush enable [ control-vlan vlan-id-list ] Default Flush messages are not processed. Views Ethernet interface view, Layer 2 aggregate interface view Default command level 2: System level Parameters control-vlan vlan-id-list: Specifies the control VLANs used for receiving flush messages. The vlan-id-list is expressed in the form of vlan-id-list = { vlan-id [ to vlan-id ] }&<1-10>, where the vlan-id argument represents the ID of a control VLAN and is in the range of 1 to 4094.
Page 134
Usage guidelines You cannot remove a smart link group with member ports. Examples # Create smart link group 1 and enter smart link group view. <Sysname> system-view [Sysname] smart-link group 1 [Sysname-smlk-group1]...
VRRP configuration commands The interfaces that VRRP involves can only be Layer 3 Ethernet interfaces, VLAN interfaces, Layer 3 aggregate interfaces, and RPR logical interfaces unless otherwise specified. VRRP cannot be configured on interfaces in aggregation groups. Common VRRP configuration commands vrrp mode Use vrrp mode to configure the VRRP working mode.
Use undo vrrp version to restore the default. Syntax vrrp version version-number undo vrrp version Default VRRPv2 is adopted. Views Interface view Default command level 2: System level Parameters version-number: Specifies the VRRP version, 2 or 3. Value VRRP version Version field value in VRRP packets •...
Page 137
Syntax display vrrp [ verbose ] [ interface interface-type interface-number [ vrid virtual-router-id ] ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters verbose: Displays detailed state information of VRRP groups. interface interface-type interface-number: Displays VRRP group state information of the specified interface.
Page 138
Field Description Current VRRP running mode: • Real MAC—Real MAC mode, which means the virtual IP address of Run Method the VRRP group is mapped to the real MAC address of the interface. • Virtual MAC—Virtual MAC mode, which means the virtual IP address of the VRRP group is mapped to the virtual MAC address.
Page 139
Field Description Current VRRP running mode: • Real MAC—Real MAC mode, which means the virtual IP address of Run Method the VRRP group is mapped to the real MAC address of the interface. • Virtual MAC—Virtual MAC mode, which means the virtual IP address of the VRRP group is mapped to the virtual MAC address.
Page 140
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 Pri Reduced negative.
Page 141
Field Description • If the VRID is number, this field indicates the status of the router in the VRRP group, including Master, Backup, and Initialize. State • If the VRID is VF number, this field indicates the status of the VF in the VRRP group, including Active, Listening, and Initialize.
Page 142
Forwarder 02 State : Listening Virtual MAC : 000f-e2ff-0012 (Learnt) Owner ID : 0000-5e01-1103 Priority : 127 Active : 10.1.1.3 Forwarder Weight Track Information: Track Object State : Positive Weight Reduced : 250 Forwarder Switchover Track Information: Track Object State : Positive Member IP : 10.1.1.3 Table 44 Command output (load balancing mode)
Page 143
Field Description Authentication type: • None—No authentication. Auth Type • Simple—Simple authentication. • MD5—MD5 authentication. Authentication key. Virtual IP Virtual IP address of the VRRP group. List of IP addresses of members in the VRRP group. This address list is displayed only when the VRRP group operates in load balancing mode.
Field Description IP address of the interface of the AVF. If the current VF is the AVF, it is Active displayed as local. Forwarder Weight Track Weight track configuration of the VF. It is displayed only when the vrrp vrid weight track command is executed. Configuration Weight track entry.
Page 145
|: 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 146
Global statistics CheckSum Errors Version Errors VRID Errors Table 45 Command output (standard mode) Field Description Interface Interface to which the VRRP group belongs. VRID Serial number of the VRRP group. CheckSum Errors Number of packets with checksum errors. Version Errors Number of packets with version errors.
Field Description Advertisement Interval Number of packets with advertisement interval errors. Errors IP TTL Errors Number of packets with TTL errors. Auth Failures Number of packets with authentication failures. Number of packets with authentication failures due to invalid authentication Invalid Auth Type types.
Syntax reset vrrp statistics [ interface interface-type interface-number [ vrid virtual-router-id ] ] Views User view Default command level 1: Monitor level Parameters interface interface-type interface-number: Clears VRRP group statistics of a specified 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.
Usage guidelines If you re-execute the command, the latest configuration overwrites the previous one. This command is supported on only Layer 3 Ethernet subinterfaces and Layer 3 aggregation subinterfaces. Examples # Specify the outer VLAN ID and inner VLAN ID for the VRRP control VLAN as 2 and 100, respectively.
Default command level 2: System level Parameters virtual-router-id: VRRP group number in the range of 1 to 255. md5: Specifies the MD5 authentication mode. simple: Specifies the simple authentication mode. cipher: Sets a ciphertext authentication key. key: Sets the authentication key. This argument is case sensitive. •...
Default command level 2: System level Parameters virtual-router-id: IPv4 VRRP group number in the range of 1 to 255. Usage guidelines The ARP entry backup function enables the master to back up the dynamic ARP entries of hosts to other VRRP group members. The ARP entry backup function is supported on Layer 3 Ethernet interfaces or subinterfaces.
timer delay delay-value: Sets preemption delay. The value range for the delay-value argument is 0 to 255 seconds. The default is 0 seconds. Usage guidelines 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, and then sends VRRP advertisements to start a new master election in the VRRP group and...
Examples # Set the priority of the router in VRRP group 1 to 150. <Sysname> system-view [Sysname] interface gigabitethernet 1/0/1 [Sysname-GigabitEthernet1/0/1] vrrp vrid 1 virtual-ip 10.1.1.1 [Sysname-GigabitEthernet1/0/1] vrrp vrid 1 priority 150 Related commands display vrrp vrrp vrid source-interface Use vrrp vrid source-interface to specify the source interface for an IPv4 VRRP group. This interface, instead of the interface where the VRRP group resides, sends and receives VRRP packets.
vrrp vrid timer advertise Use vrrp vrid timer advertise to configure the Adver_Timer of the specified VRRP group. Use undo vrrp vrid timer advertise to restore the default. Syntax vrrp vrid virtual-router-id timer advertise adver-interval undo vrrp vrid virtual-router-id timer advertise Default The Adver_Timer is 1 second.
Page 156
Default A VRRP group is not associated with any track entry. Views Interface view Default command level 2: System level Parameters virtual-router-id: Specifies a VRRP group number in the range of 1 to 255. track track-entry-number: Specifies a track entry. The value range for the track-entry-number argument is 1 to 1024.
logical interface. The Layer 2 protocol used by the tracked synchronous/asynchronous serial interfaces can be PPP only, and the tracked synchronous/asynchronous serial interfaces cannot be added to a virtual template or MP-group; the dialer interface should function as the PPPoE client and operate in the permanent online mode;...
Examples # Create VRRP group 1 and set its virtual IP address to 10.10.10.10. <Sysname> system-view [Sysname] interface gigabitethernet 1/0/1 [Sysname-GigabitEthernet1/0/1] vrrp vrid 1 virtual-ip 10.10.10.10 # Add virtual IP address 10.10.10.11 to VRRP group 1. [Sysname-GigabitEthernet1/0/1] vrrp vrid 1 virtual-ip 10.10.10.11 Related commands display vrrp vrrp vrid weight track...
Examples # Configure to monitor track entry 1, making the weights of VFs belonging to VRRP group 1 on GigabitEthernet 1/0/1 decrease by 50 when track entry 1 turns to negative. <Sysname> system-view [Sysname] interface gigabitethernet 1/0/1 [Sysname-GigabitEthernet1/0/1] vrrp vrid 1 virtual-ip 10.1.1.1 [Sysname-GigabitEthernet1/0/1] vrrp vrid 1 weight track 1 reduced 50 Related commands display vrrp...
Page 161
<Sysname> display vrrp ipv6 IPv6 Standby Information: Run Mode : Standard Run Method : Virtual MAC Total number of virtual routers : 1 Interface VRID State Adver Auth Virtual Timer Type --------------------------------------------------------------------- GE1/0/1 Master Simple FE80::1 Table 47 Command output (standard mode) Field Description Current VRRP working mode:...
Page 162
VRRP Track Information: Track Interface: GE1/0/2 State : Down Pri Reduced : 10 Track Object State : Positive Pri Reduced : 50 Table 48 Command output (standard mode) Field Description Current VRRP working mode: • Run Mode Standard—Standard mode. • Load Balance—Load balancing mode.
Page 163
Field Description Information of the tracked interface or track entry. It is displayed only when VRRP Track Information the vrrp ipv6 vrid track or vrrp ipv6 vrid track interface command is executed. Interface to be tracked. It is displayed only when the vrrp ipv6 vrid track Track Interface interface command is executed.
Page 164
Field Description Total number of virtual Number of VRRP groups. routers Interface Interface to which the VRRP group belongs. VRID ID of the VRRP group number or ID of the VF VF number. • If VRID is number, this field indicates the status of the router in the VRRP group, including Master, Backup, and Initialize.
Page 165
Owner ID : 0000-5e01-1101 Priority : 255 Active : local Forwarder 02 State : Listening Virtual MAC : 000f-e2ff-4012 (Learnt) Owner ID : 0000-5e01-1103 Priority : 127 Active : FE80::2 Forwarder Weight Track Information: Track Object State : Positive Weight Reduced : 250 Forwarder Switchover Track Information: Track Object State : Positive...
Page 166
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 authentication. Authentication key. Virtual IP Virtual IP addresses of the VRRP group. List of IP addresses of members in the VRRP group.
Field Description Owner ID Real MAC address of the interface of the VF owner. Priority VF priority. IP address of the interface of the AVF. If the current VF is the AVF, it is Active displayed as local. Forwarder Weight Track Weight track configuration of the VF.
Page 168
vrid virtual-router-id: Displays statistics information of the specified VRRP group. The virtual-router-id argument specifies a VRRP group by its group number in the range of 1 to 255. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
Page 169
Priority Zero Pkts Sent : 1 VF Priority Zero Pkts Sent Status Option Errors Global statistics CheckSum Errors Version Errors VRID Errors Table 51 Command output (standard 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.
Field Description Hop Limit Errors Number of packets with hop limit errors. Auth Failures Number of packets with authentication failures. Number of packets with authentication failures due to invalid Invalid Auth Type authentication types. Number of packets with authentication failures due to Auth Type Mismatch mismatching authentication types.
Views User view Default command level 1: Monitor level 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. The virtual-router-id argument specifies a VRRP group by its group number in the range of 1 to 255.
Examples # Map the virtual IPv6 address of the current VRRP group to the real MAC address of the interface. <Sysname> system-view [Sysname] vrrp ipv6 method real-mac Related commands display vrrp ipv6 vrrp ipv6 vrid authentication-mode Use vrrp ipv6 vrid authentication-mode to configure authentication mode and authentication key for the VRRP groups to send and receive VRRP packets.
Related commands display vrrp ipv6 vrrp ipv6 vrid preempt-mode Use vrrp ipv6 vrid preempt-mode to configure preemption on the router and configure its preemption delay in a specific VRRP group. Use undo vrrp ipv6 vrid preempt-mode to disable preemption on the router in a specific VRRP group.
vrrp ipv6 vrid priority Use vrrp ipv6 vrid priority to configure the priority of the router in the specified VRRP group. Use undo vrrp ipv6 vrid priority to restore the default. Syntax vrrp ipv6 vrid virtual-router-id priority priority-value undo vrrp ipv6 vrid virtual-router-id priority Default The priority of a router in a VRRP group is 100.
Default The Adver_Timer is 100 centiseconds. Views Interface view Default command level 2: System level Parameters virtual-router-id: VRRP group number in the range of 1 to 255. adver-interval: Interval at which the master in the specified VRRP group sends VRRP advertisements.
Page 176
Parameters virtual-router-id: Specifies a VRRP group number in the range of 1 to 255. track track-entry-number: Specifies a track entry. The value range for the track-entry-number argument is 1 to 1024. forwarder-switchover member-ip ipv6-address: Enables the LVF on the router to take over the role of the AVF at the specified IPv6 address immediately after the specified track entry changes to the negative state.
vrrp ipv6 vrid weight track Use vrrp ipv6 vrid weight track to specify the track entry to be monitored by VFs when VRRP operates in the load balancing mode. If the status of the monitored track entry changes to negative, the weights of the all VFs in the VRRP group to which the current router belongs decrease by a specified value.
Stateful failover configuration commands The following matrix shows the command and router compatibility: Command HSR6602 6604/6608/6616 Stateful failover commands dhbk enable Use dhbk enable to enable stateful failover in a specified mode. Use undo dhbk enable to restore the default. Syntax dhbk enable backup-type { dissymmetric-path | symmetric-path } undo dhbk enable...
Default command level 2: System level Parameters interface-type: Interface type. interface-number: Interface number. Usage guidelines A failover interface can only forward state negotiation messages and backup data. Examples # Specify GigabitEthernet 0/0/1 as a failover interface. <Sysname> system-view [Sysname] dhbk interface gigabitethernet 0/0/1 display dhbk status Use display dhbk status to display the stateful failover status information.
Page 183
Field Description Backup type, symmetric path or asymmetric path. Backup Type This information is output only after stateful failover is enabled. Current stateful failover state, independence, Current state silence or synchronization. Current port Current failover interface list. Failover interfaces to be used at the next startup. If a configured interface is faulty or removed, it is not Next port listed in the Current port list, but it is listed in the...
BFD configuration commands bfd detect-multiplier Use bfd detect-multiplier to configure the detection time multiplier. Use undo bfd detect-multiplier to restore the default. Syntax bfd detect-multiplier value undo bfd detect-multiplier Default The detection time multiplier is 5. Views Interface view Default command level 2: System level Parameters value: Detection time multiplier in the range of 3 to 50.
Examples # Configure the source IP address of echo packets as 10.1.1.1. <Sysname> system-view [Sysname] bfd echo-source-ip 10.1.1.1 bfd min-echo-receive-interval Use bfd min-echo-receive-interval to configure the minimum interval for receiving BFD echo packets. Use undo bfd min-echo-receive-interval to restore the default minimum interval for receiving BFD echo packets.
Usage guidelines If the remote device sends BFD control packets at an interval shorter than the minimum receiving interval of the local device, the remote device changes its sending interval to the minimum receiving interval of the local device. Examples # Configure the minimum interval for receiving BFD control packets on GigabitEthernet 1/0/1 as 500 milliseconds.
Syntax bfd multi-hop destination-port port-number undo bfd multi-hop destination-port Default The destination port number for multi-hop BFD control packets is 4784. Views System view Default command level 2: System level Parameters port-number: Destination port number of multi-hop BFD control packets, 3784 or 4784. Examples # Configure the destination port number for multi-hop BFD control packets as 3784.
display bfd debugging-switches Use display bfd debugging-switches to display enabled BFD debugging switches. Syntax display bfd debugging-switches [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
Page 189
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. Examples # Display information about BFD-enabled interfaces. <Sysname> display bfd interface Total Interface Num: 1 Interface: GigabitEthernet1/0/1 Session Num: 1 Min Trans Inter: 200ms Min Recv Inter: 200ms...
reset bfd session statistics Use reset bfd session statistics to clear the BFD session statistics. Syntax reset bfd session statistics [ slot slot-number ] Views User view Default command level 1: Monitor level Parameters slot slot-number: Clears session statistics about the card in the specified slot. The slot-number argument refers to the card slot number.
Track configuration commands display track Use display track to display track entry information. Syntax display track { track-entry-number | all } [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters track-entry-number: Displays information about the specified track entry in the range of 1 to 1024.
Page 194
Notification delay: Positive 20, Negative 30 (in seconds) Reference object: Track interface Interface status : Inserted Interface : GigabitEthernet1/0/2 Protocol : IPv4 Table 56 Command output Field Description Track ID ID of a track entry. Status of a track entry: •...
track bfd echo Use track bfd echo to create a track entry, associate it with the BFD session, specify to use echo packets in BFD probes, and specify the delay time for the Track module to notify the application modules when the status of the track entry changes. Use undo track to remove the track entry.
<Sysname> system-view [Sysname] track 1 bfd echo interface gigabitethernet 1/0/1 remote ip 192.168.40.1 local ip 192.168.40.2 Related commands display track track nqa Use track nqa to create a track entry, associate it with the specified reaction entry of the NQA test group, and specify the delay time for the Track module to notify the application modules when the status of the track entry changes.
<Sysname> system-view [Sysname] track 1 nqa entry admin test reaction 3 Related commands • display track • • reaction (Network Management and Monitoring Command Reference) track interface Use track interface to create a track entry, associate it with the physical status of a specific interface, and specify the delay time for the Track module to notify the application modules when the status of the track entry changes.
<Sysname> system-view [Sysname] track 1 interface gigabitethernet 1/0/1 Related commands • display track • display ip interface brief (Layer 3—IP Services Command Reference) track interface protocol Use track interface protocol to create a track entry, associate it with the protocol status of a specific interface, and specify the delay time for the Track module to notify the application modules when the status of the track entry changes.
Page 199
Examples # Create track entry 1 and associate it with the IPv4 protocol status of interface GigabitEthernet 1/0/1. <Sysname> system-view [Sysname] track 1 interface gigabitethernet 1/0/1 protocol ipv4 Related commands • display track • — display ip interface brief (Layer 3 IP Services Command Reference) •...
Document conventions and icons Conventions This section describes the conventions used in the documentation. Port numbering in examples The port numbers in this document are for illustration only and might be unavailable on your device. Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown.
Network topology icons Convention Description 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.
Support and other resources Accessing Hewlett Packard Enterprise Support • For live assistance, go to the Contact Hewlett Packard Enterprise Worldwide website: www.hpe.com/assistance • To access documentation and support services, go to the Hewlett Packard Enterprise Support Center website: www.hpe.com/support/hpesc Information to collect •...
For more information and device support details, go to the following website: www.hpe.com/info/insightremotesupport/docs Documentation feedback Hewlett Packard Enterprise is committed to providing documentation that meets your needs. To help us improve the documentation, send any errors, suggestions, or comments to Documentation Feedback (docsfeedback@hpe.com). When submitting your feedback, include the document title,...
Page 204
part number, edition, and publication date located on the front cover of the document. For online help content, include the product name, product version, help edition, and publication date located on the legal notices page.
Index B C D F H I M O P R S T V W display cfd status,52 display cfd version,52 bandwidth,63 display dhbk status,176 detect-multiplier,178 display dldp,54 echo-source-ip,178 display dldp statistics,56 min-echo-receive-interval,179 display interface rpr,64 min-receive-interval,179 display interface rprpos,66 min-transmit-interval,180 display oam,5...