H3C S9500E Series Command Reference Manual
H3C S9500E Series Command Reference Manual

H3C S9500E Series Command Reference Manual

Routing switches
Hide thumbs Also See for S9500E Series:
Table of Contents

Advertisement

H3C S9500E Series Routing Switches
High Availability Command Reference
Hangzhou H3C Technologies Co., Ltd.
http://www.h3c.com
Software version: S9500E-CMW520-R1828P04
Document version: 6W182-20140823

Advertisement

Table of Contents
loading

Summary of Contents for H3C S9500E Series

  • Page 1 H3C S9500E Series Routing Switches High Availability Command Reference Hangzhou H3C Technologies Co., Ltd. http://www.h3c.com Software version: S9500E-CMW520-R1828P04 Document version: 6W182-20140823...
  • Page 2 Copyright © 2013-2014, Hangzhou H3C Technologies Co., Ltd. and its licensors All rights reserved No part of this manual may be reproduced or transmitted in any form or by any means without prior written consent of Hangzhou H3C Technologies Co., Ltd.
  • Page 3 Preface The H3C S9500E documentation set includes 14 command references, which describe the commands and command syntax options available for the H3C S9500E Series Routing Switches. The High Availability Command Reference describes high availability configuration commands. This preface includes: •...
  • Page 4 Convention Description A line that starts with a pound (#) sign is comments. GUI conventions Convention Description Window names, button names, field names, and menu items are in Boldface. For Boldface example, the New User window appears; click OK. > Multi-level menus are separated by angle brackets.
  • Page 5 Guide Adjustable Slider Rail Guides you through installing adjustable slider rails Installation Guide to a rack. Describes transceiver modules available for the H3C H3C Transceiver Modules high-end network products, their external views, and User Guide specifications. Describe software features and configuration Configuration guides procedures.
  • Page 6 Solutions]—Provides information about products and technologies, as well as solutions. [Technical Support & Documents > Software Download]—Provides the documentation released with the software version. Technical support service@h3c.com http://www.h3c.com Documentation feedback You can e-mail your comments about product documentation to info@h3c.com. We appreciate your comments.
  • Page 7: Table Of Contents

    Contents Active and standby switchover configuration commands ························································································· 1   display switchover state ··········································································································································· 1   ha slave-ignore-version-check ·································································································································· 2   slave restart ······························································································································································· 3   slave switchover ························································································································································ 4   slave switchover { disable | enable } ···················································································································· 4  ...
  • Page 8 display cfd linktrace-reply auto-detection ············································································································ 46   display cfd ma ······················································································································································· 48   display cfd md ······················································································································································· 50   display cfd mep ····················································································································································· 51   display cfd meplist ················································································································································· 53   display cfd mp ······················································································································································· 54   display cfd remote-mep········································································································································· 56  ...
  • Page 9 rpr rate-limiter ······················································································································································ 110   rpr reversion-mode ·············································································································································· 112   rpr static-rs ···························································································································································· 112   rpr station-name ··················································································································································· 113   rpr timer ································································································································································ 114   rpr weight ····························································································································································· 115   shutdown ······························································································································································ 116   threshold ······························································································································································· 116   RRPP configuration commands ······························································································································· 118  ...
  • Page 10 vrrp un-check ttl ···················································································································································· 166   vrrp vrid authentication-mode ···························································································································· 166   vrrp vrid preempt-mode ······································································································································ 167   vrrp vrid priority ··················································································································································· 168   vrrp vrid timer advertise ······································································································································ 169   vrrp vrid track ······················································································································································ 170   vrrp vrid track interface ······································································································································ 171  ...
  • Page 11: Active And Standby Switchover Configuration Commands

    Active and standby switchover configuration commands display switchover state Syntax In standalone mode: display switchover state [ slot slot-number ] [ | { begin | exclude | include } regular-expression ] In IRF mode: display switchover state [ chassis chassis-number slot slot-number ] [ | { begin | exclude | include } regular-expression ] View Any view...
  • Page 12: Ha Slave-Ignore-Version-Check

    # Display the backup state on the active MPU of an IRF fabric. (In IRF mode) <Sysname> display switchover state Master HA State to Chassis 1 Slot 1: Realtime backup to slave. Master HA State to Chassis 2 Slot 5: Realtime backup to slave. Master HA State to Chassis 2 Slot 6: Slave is absent.
  • Page 13: Slave Restart

    undo ha slave-ignore-version-check View System view Default level 2: System level Parameters None Description Use ha slave-ignore-version-check to ignore version check of the standby MPU, meaning not to check whether the version of the standby MPU is consistent with that of the active MPU. Use undo ha slave-ignore-version-check to enable version check of the standby MPU.
  • Page 14: Slave Switchover

    Examples # Restart the standby MPU. <Sysname> system-view [Sysname] slave restart The slave will reset! Continue?[Y/N]:y slave switchover Syntax slave switchover View System view Default level 2: System level Parameters None Description Use slave switchover to manually configure the switchover between the active MPU and standby MPU. Related commands: slave switchover { disable | enable }.
  • Page 15 enable: Enables manual switchover between the active MPU and standby MPU. Description Use slave switchover disable to disable manual switchover between the active MPU and standby MPU. Use slave switchover enable to enable manual switchover between the active MPU and standby MPU. By default, manual configuration of the switchover between the active MPU and standby MPU is enabled.
  • Page 16: Ethernet Oam Configuration Commands

    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 the Ethernet OAM connection information of the local end. remote: Displays the Ethernet OAM connection information of the remote end.
  • Page 17 Local_mux_action : FWD Local_par_action : FWD 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: • Local_oam_mode Active, indicating the port is operating in the active Ethernet OAM mode. •...
  • Page 18 OAMInformation OAMEventNotification OAMUniqueEventNotification OAMDuplicateEventNotification Table 4 Command output Field Description Port Port index. Link Status Link status. EnableStatus Ethernet OAM state (enabled or disabled). Local_oam_mode Local Ethernet OAM mode. The way in which Ethernet OAMPDUs of different types are processed Local_pdu locally.
  • Page 19 Link Status :Up Information of the latest received OAM packet: OAMRemoteMACAddress : 000f-e274-b04a OAMRemotePDUConfiguration : 1500 Remote_mux_action : FWD Remote_par_action : FWD Table 5 Command output Field Description Port Port index. Link Status Link status. Information about the latest received Ethernet Information of the latest received OAM packet OAMPDU.
  • Page 20: Display Oam Configuration

    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. Remote_par_action Peer receiving mode.
  • Page 21 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. Description Use display oam configuration to display global Ethernet OAM configuration, including the periods and thresholds for Ethernet OAM link error event detection.
  • Page 22: Display Oam Critical-Event

    Field Description Errored-frame-seconds Event Errored frame seconds event detection interval, which defaults to 60 period (in seconds) seconds. Errored-frame-seconds Event Errored frame seconds event triggering threshold, which defaults to 1. threshold Configuration of the timer Ethernet OAM connection detection timers. Ethernet OAM handshake packet transmission interval, the value of which Hello timer(in ms) defaults to 1000 milliseconds.
  • Page 23: Display Oam Link-Event

    Table 8 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.
  • Page 24 Port : GigabitEthernet4/0/1 Link Status : Up OAMLocalErrFrameEvent : (ms = milliseconds) -------------------------------------------------------------------------- Event Time Stamp : 3539 Errored Frame Window : 10(100ms) Errored Frame Threshold Errored Frame : 1488111 Error Running Total : 260908758 Event Running Total : 307 OAMLocalErrFramePeriodEvent : -------------------------------------------------------------------------- Event Time Stamp...
  • Page 25: Oam Enable

    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 an error SecsSummaryEvent : frame seconds event.
  • Page 26: Oam Errored-Frame Period

    Default level 2: System level 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. Related commands: oam mode.
  • Page 27: Oam Errored-Frame Threshold

    oam errored-frame threshold Syntax oam errored-frame threshold threshold-value undo oam errored-frame threshold View System view Default level 2: System level Parameters threshold-value: Specifies the errored frame event triggering threshold in the range of 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.
  • Page 28: Oam Errored-Frame-Period Threshold

    Related commands: oam errored-frame-period threshold, display oam link-event, and display oam configuration. Examples # Set the errored frame period event detection interval to 10 seconds, that is, 10000 milliseconds. <Sysname> system-view [Sysname] oam errored-frame-period period 10000 oam errored-frame-period threshold Syntax oam errored-frame-period threshold threshold-value undo oam errored-frame-period threshold View...
  • Page 29: Oam Errored-Frame-Seconds Threshold

    Default level 2: System level Parameters period-value: Specifies the errored frame seconds event detection interval in the range of 10 to 900 (in seconds). Description Use oam errored-frame-seconds period to set the errored frame seconds event detection interval. Use undo oam errored-frame-seconds period to restore the default. By default, the errored frame seconds event detection interval is 60 seconds.
  • Page 30: Oam Loopback

    oam loopback Syntax oam loopback undo oam loopback View Layer 2 Ethernet port 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 specified Ethernet port. By default, Ethernet OAM remote loopback is disabled on the Ethernet port.
  • Page 31: Oam Loopback Interface (User View)

    Description Use oam loopback interface to enable Ethernet OAM remote loopback on an Ethernet port in system view. Use undo oam loopback interface to disable Ethernet OAM remote loopback on an Ethernet port in system view. By default, Ethernet OAM remote loopback is disabled on an 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.
  • Page 32: Oam Loopback Reject-Request

    Examples # Configure the active Ethernet OAM mode and enable Ethernet OAM on GigabitEthernet 4/0/1, and then enable Ethernet OAM remote loopback on GigabitEthernet 4/0/1 in user view. <Sysname> system-view [Sysname] interface GigabitEthernet4/0/1 [Sysname-GigabitEthernet4/0/1] oam mode active [Sysname-GigabitEthernet4/0/1] oam enable [Sysname-GigabitEthernet4/0/1] return <Sysname>...
  • Page 33: Oam Timer Hello

    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. Therefore, H3C recommends that you set the connection timeout timer at least five times the handshake packet...
  • Page 34: Oam Timer Keepalive

    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. Therefore, H3C recommends that you set the connection timeout timer at least five times the handshake packet transmission interval, ensuring the stability of Ethernet OAM connections.
  • Page 35 Default level 2: System level Parameters interface interface-type interface-number: Specifies a port by its type and number. Description Use reset oam to clear the statistics on Ethernet OAM packets and Ethernet OAM link error events of an Ethernet port. If you do not specify the interface keyword, this command clears the statistics on Ethernet OAM packets and Ethernet OAM link error events of all the ports.
  • Page 36: Cfd Configuration Commands

    CFD configuration commands cfd ais enable Syntax cfd ais enable undo cfd ais enable View System view Default level 2: System level Parameters None Description Use cfd ais enable to enable AIS. Use undo cfd ais enable to disable AIS. By default, AIS is disabled.
  • Page 37: Cfd Ais Period

    Use undo cfd ais level to restore the default. By default, no AIS frame transmission level is configured for a service instance. If no AIS frame transmission level is configured for a service instance, the MEPs in the service instance cannot send AIS frames.
  • Page 38: Cfd Cc Interval

    View Layer 2 Ethernet interface view Default level 2: System 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 MEP, in the range of 1 to 8191. Description Use cfd cc enable to enable CCM sending on a specified MEP.
  • Page 39: Cfd Enable

    If the switch has one MPU with an assistant CPU, the CCM frames will be sent by this MPU. If the switch has no MPUs with assistant CPUs, the CCM frames will be sent by the card where the MEP is located.
  • Page 40: Cfd Linktrace

    cfd linktrace Syntax cfd linktrace service-instance instance-id mep mep-id { target-mep target-mep-id | target-mac mac-address } [ ttl ttl-value ] [ hw-only ] View Any view Default level 0: Visit 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 the source MEP, in the range of 1 to 8191.
  • Page 41: Cfd Linktrace Auto-Detection

    [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 12 Command output Field Description Linktrace to MEP 2001 with the...
  • Page 42: Cfd Loopback

    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. Description Use cfd linktrace auto-detection to enable the auto sending of linktrace messages.
  • Page 43: Cfd Ma

    Examples # Enable LB to check the status of the link between MEP 1 101 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...
  • Page 44: Cfd Md

    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 (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 –...
  • Page 45: Cfd Mep

    level level-value: Specifies an MD level in the range of 0 to 7. 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.
  • Page 46: Cfd Mep Enable

    [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 [Sysname] cfd meplist 3 service-instance 5 [Sysname] interface GigabitEthernet3/0/1 [Sysname-GigabitEthernet3/0/1] cfd mep 3 service-instance 5 inbound cfd mep enable Syntax cfd mep service-instance instance-id mep mep-id enable undo cfd mep service-instance instance-id mep mep-id enable...
  • Page 47: Cfd Mip-Rule

    Parameters meplist mep-list: Specifies a list of MEP IDs, indicating multiple MEPs, in the format of mep-list = { mep-id [ to mep-id ] }&<1- 1 0>, in which mep-id represents the MEP ID in the range of 1 to 8191. &<1- 1 0> indicates you can specify up to 10 MEP ID ranges.
  • Page 48: Cfd Service-Instance

    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...
  • Page 49: Cfd Service-Instance Maid Format

    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...
  • Page 50: Cfd Tst

    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 MA named test_ma1 in the Y.1731 format, MD level 3, and VLAN 100 for the service instance.
  • Page 51: Cfd Version

    The TST function takes effect only in CFD IEEE 802.1ag. To view the TST test result, use the display cfd tst command on the target MEP. Related commands: cfd version and display cfd tst. Examples # Enable the TST function in CFD IEEE 802.1ag to test the bit errors between source MEP 1 101 and destination MEP 1003 in service instance 1.
  • Page 52: Display Cfd Ais

    [Sysname] cfd version draft5 display cfd ais Syntax display cfd ais [ 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 a service instance by its ID in the range of 1 to 32767. mep mep-id: Specifies the MEP by its ID in the range of 1 to 8191.
  • Page 53: Display Cfd Linktrace-Reply

    Service instance: 20 AIS level: 3 AIS period: 60s MEP ID: 10 AIS condition: yes Time to enter the condition: 2009/05/22 10:43:57 AIS state machine: Prestate: NO_RECEIVE Curstate: RECEIVE Service instance: 100 AIS level: 6 AIS period: 1s MEP ID: 20 AIS condition: no Time to enter the condition: 2009/05/22 11:40:01 AIS state machine: Prestate: IDLE...
  • Page 54 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 MEP, in the range of 1 to 8191. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
  • Page 55 # 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. <Sysname> system-view [Sysname] cfd version draft5-plus [Sysname] display cfd linktrace-reply Service instance: 1 MEP ID: 1003 MAC Address Forwarded Relay Action...
  • Page 56: Display Cfd Linktrace-Reply Auto-Detection

    display cfd linktrace-reply auto-detection Syntax display cfd linktrace-reply auto-detection [ size size-value ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters size size-value: Specifies the times of recent auto-detections, in the range of 1 to 100. |: Filters command output by specifying a regular expression.
  • Page 57 # Display the contents of the LTRs received as responses to the LTMs automatically sent when the IEEE 802.1ag draft5.2 version of CFD is used. <Sysname> system-view [Sysname] cfd version draft5 [Sysname] display cfd linktrace-reply auto-detection Service instance: 1 MEP ID: 1003 Time: 2006/05/22 10:43:57 Target MEP ID: 2005 TTL: 64...
  • Page 58: Display Cfd Ma

    Field Description Last MAC MAC address of the last-hop device the LTM passes. Indicates whether the device forwards LTMs: • Forwarded Yes means that the device has forwarded the LTMs. • No means that the device did not forward the LTMs. Indicates whether the forwarding device found the destination MAC address in its MAC address table.
  • Page 59 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 ma to display the configuration of a specified MA. If MD is not specified, this command will display the MA configurations of all MDs on the device.
  • Page 60: Display Cfd Md

    display cfd md Syntax display cfd md [ | { 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.
  • Page 61: Display Cfd Mep

    display cfd mep Syntax display cfd mep mep-id service-instance instance-id [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters mep mep-id: Specifies a MEP by its ID in the range of 1 to 8191. service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767.
  • Page 62 One or more streams of error CCMs is received. The last-received CCM: Maintenance domain: (Without Name) Maintenance association:matest1 MEP:5 Sequence Number:0x50A Received Time: 02/3/6 13:01:34 One or more streams of cross-connect CCMs is received. The last-received CCM: Maintenance domain:mdtest1 Maintenance association:matest1 MEP:6 Sequence Number:0x63A Received Time: 02/3/6 13:01:34...
  • Page 63: Display Cfd Meplist

    Field Description Number of LBRs that have been sent. If the MEP is inward-facing, the number SendLBR of LBRs will not be counted. ReceiveInOrderLBR Number of LBR messages received in correct sequence. ReceiveOutOrderLBR Number of LBR messages received out of order. Linktrace Information related to linktrace.
  • Page 64: Display Cfd Mp

    |: 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 65 Examples # Display the MP information on all ports. <Sysname> display cfd mp Interface GigabitEthernet3/0/1 VLAN 100 MEP ID: 100 Level: 0 Service instance: 100 Direction: Outbound Maintenance domain: mdtest0 Maintenance association: mainmd0 MEP ID: 105 Level: 5 Service instance: 105 Direction: Outbound Maintenance domain: mdtest5 Maintenance association: mainmd5...
  • Page 66: Display Cfd Remote-Mep

    display cfd remote-mep Syntax display cfd remote-mep 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 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 67: Display Cfd Service-Instance

    display cfd service-instance Syntax display cfd service-instance [ instance-id ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters instance-id: Specifies the service instance ID in the range of 1 to 32767. |: Filters command output by specifying a regular expression.
  • Page 68: Display Cfd Status

    Table 23 Command output Field Description 2 service instance(s) are configured. Number of service instance configured. Service instance 5 Service instance ID. MD of the service instance. (If the MD does not have a name, this Maintenance domain field is displayed as Without Name.) Maintenance association: MA of the service instances.
  • Page 69: Display Cfd Tst

    display cfd tst Syntax display cfd tst [ 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 a service instance by its ID in the range of 1 to 32767. mep mep-id: Specifies the MEP by its ID in the range of 1 to 8191.
  • Page 70: Display Cfd Version

    Service instance: 2 No mep exists in the service instance. Service instance: 3 MEP ID: 1023 Send TST total number: 5 Received TST total number: 0 Table 24 Command output Field Description Service instance Service instance of the MEP. Send TST total number Number of TST frames sent.
  • Page 71: Reset Cfd Tst

    Table 25 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.
  • Page 72: Dldp Configuration Commands

    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 73: Display Dldp Statistics

    Neighbor state : two way Neighbor aged time : 13 Interface GigabitEthernet3/0/1 DLDP port state : disable DLDP link state : up The neighbor number of the port is 0. Table 26 Command output Field Description DLDP global status Global DLDP state (enable or disable). DLDP interval Interval to send Advertisement packets (in seconds).
  • Page 74 Parameters interface-type interface-number: Specifies a port by its type and number. |: 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.
  • Page 75: Dldp Authentication-Mode

    Field Description Packets received Total number of DLDP packets received. Invalid packets received Number of the invalid packets received. Loop packets received Number of the loopback packets received. Number of the received packets that failed to pass the Authentication failed packets received authentication.
  • Page 76: Dldp Delaydown-Timer

    dldp delaydown-timer Syntax dldp delaydown-timer time undo dldp delaydown-timer View System view Default level 2: System level Parameters Time: Sets the DelayDown timer in the range of 1 to 5 seconds. Description Use dldp delaydown-timer to set the DelayDown timer. Use undo dldp delaydown-timer to restore the default.
  • Page 77: Dldp Interval

    When executed in Ethernet interface view, this command enables/disables DLDP on the current • port. When executed in port group view, this command enables/disables DLDP on all the ports in the • port group. DLDP takes effect on a port only when DLDP is enabled both globally and on the port. Examples # Enable DLDP globally and on GigabitEthernet 4/0/1.
  • Page 78: Dldp Reset

    dldp reset Syntax dldp reset View System view, Ethernet interface view, port group view Default level 2: System level Parameters None Description Use dldp reset to reset DLDP state for ports in the DLDP down state to enable them to perform unidirectional link detection.
  • Page 79: Dldp Work-Mode

    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.
  • Page 80: Reset Dldp Statistics

    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 the statistics on DLDP packets passing through a port. If you do not provide the interface-type interface-number argument, this command clears the statistics on the DLDP packets passing through all the DLDP-enabled ports.
  • Page 81: Rpr Configuration Commands

    RPR configuration commands The switch supports RPR only when its system working mode is hybrid (hybrid is specified for the system working mode command). For more information about the system working mode, see Fundamentals Configuration Guide. default Syntax default View Layer 2 RPR logical interface view, Layer 3 RPR logical interface view, RPRPOS interface view, RPRXGE interface view Default level...
  • Page 82: Description

    <Sysname> system-view [Sysname] interface rprpos 2/1/1 [Sysname-RPRPOS2/1/1] default This command will restore the default settings. Continue? [Y/N]:y # Restore the default settings for RPR physical port RPRXGE 3/1/1. <Sysname> system-view [Sysname] interface rprxge 3/1/1 [Sysname-RPRXGE3/1/1] default This command will restore the default settings. Continue? [Y/N]:y description Syntax description text...
  • Page 83: Display Interface { Rpr | Rpr-Bridge

    <Sysname> system-view [Sysname] interface rprxge 3/1/1 [Sysname-RPRXGE3/1/1] description RPRXGE-1 display interface { rpr | rpr-bridge } Syntax display interface [ rpr | rpr-bridge ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ] display interface [ { rpr | rpr-bridge } [ interface-number ] ] [ brief [ description ] ] [ | { begin | exclude | include } regular-expression ] View...
  • Page 84 Examples # Display the information about Layer 2 RPR logical interface RPR-Bridge 1. <Sysname> display interface rpr-bridge 1 RPR-Bridge1 current state: DOWN IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 0000-0000-0000 Description: RPR-Bridge1 Interface Unknown-speed mode, unknown-duplex mode Link speed type is autonegotiation, link duplex type is autonegotiation PVID: 1 Port link-type: access Tagged...
  • Page 85 # Display the brief information about all Layer 3 RPR logical interfaces in DOWN state. <Sysname> display interface rpr brief down The brief information of interface(s) under route mode: Link: ADM - administratively down; Stby - standby Interface Link Cause RPR1 DOWN Not connected RPR2...
  • Page 86: Display Interface { Rprpos | Rprxge

    Field Description Link status: • Link: ADM - administratively ADM—The interface has been administratively shut down. To recover its down; Stby - standby physical state, perform the undo shutdown command. • Stby—The interface is operating as a backup interface. If the attribute value of Speed is (a), the interface rate is obtained through auto negotiation.
  • Page 87 View Any view Default level 1: Monitor level Parameters rprpos: Displays information about an RPRPOS interface. rprxge: Displays information about an RPRXGE interface. interface-number: Number of an RPR physical port. brief: Displays brief interface information. If you do not specify this keyword, this command displays detailed interface information.
  • Page 88 Clock grade: Quality unknown(existing synchronization network) BER thresholds: SD: 10e-5 SF: 10e-3 Regenerator section layer: J0(TX): "" 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 J0(RX): "" 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Alarm: LOS Error: 0 BIP(B1) Multiplex section layer:...
  • Page 89 Mode Packets Bytes SaStrip TtlDrop TxFlood RxFlood Last 300 second Host input : 0 packet/sec 0 byte/sec Last 300 second Line input : 0 packet/sec 0 byte/sec Last 300 second Host output: 0 packet/sec 0 byte/sec Last 300 second Line output: 0 packet/sec 0 byte/sec Host peak value of input: 0 bytes/sec, at 2011-06-17 07:02:30...
  • Page 90: Display Rpr Bind-Info

    Field Description Alarm time (in seconds) for the higher order path. (It is displayed when the alarm Path1 statistics value is not 0.) short Number of undersized packets. ringiderr Count of packets on a wrong ringlet. SaStrip Number of strips at the source station. TtlDrop Number of strips due to TTL expiration.
  • Page 91 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 rpr bind-info to display the binding information of the specified or all RPR logical interfaces. Examples # Display the binding information of all RPR logical interfaces.
  • Page 92: Display Rpr Defect

    display rpr defect Syntax display rpr defect [ { rpr | rpr-bridge } interface-number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters { rpr | rpr-bridge } 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 switch.
  • Page 93 View Any view Default level 1: Monitor level Parameters { rpr | rpr-bridge } interface-number: Specifies an RPR logical interface by its type and number. If no RPR logical interface is specified, this command displays the RPR fairness settings of the RPR stations corresponding to all the RPR logical interfaces on your switch.
  • Page 94: Display Rpr Mac-Address

    Local rate-limiter bandwidth for medium priority service on ringlet1: 0 in permillage Local rate-limiter bandwidth for low priority service on ringlet0: 1000 in permillage NOTE: For an RPR logical interface that is not bound to any physical port, the reserved bandwidth for each class of traffic is displayed as a permillage of the total bandwidth.
  • Page 95 rpr-bridge interface-number: Specifies an RPR logical interface by its type and number. If no RPR logical interface is specified, this command displays the MAC address table information of all RPR stations on your switch. The value range for the interface-number argument is 0 to 15. count: Displays the number of entries in the specified MAC address table.
  • Page 96: Display Rpr Protection

    3ce5-a635-4100 3ce5-a635-4100 Valid 3ce5-a635-4100 3ce5-a635-4100 Valid 3ce5-a635-4100 3ce5-a635-4100 Valid 3ce5-a635-4100 3ce5-a635-4100 Valid # Display information on the number of static MAC address entries. <Sysname> display rpr mac-address static count Static MAC address table on interface: RPR-Bridge0 No entry found! # Display information on the number of dynamic MAC address entries. <Sysname>...
  • Page 97 <Sysname> display rpr protection rpr1 Protection information on interface: RPR1 Configured protection mode: steer Active protection mode: steer Protection reversion mode: revertible Context containment active: 0 Protection state on the west span: sf Protection state on the east span: sf Edge state on the west span: edged Edge state on the east span: edged Last known neighbour on the west span: 000f-e245-7a43...
  • Page 98: Display Rpr Rs-Table

    Field Description Time when the last protection reversion occurred on Last protection time on the east span the east span. Starting time of the protection reversion occurring on Protection start time on the west span the west span. Starting time of the protection reversion occurring on Protection start time on the east span the east span.
  • Page 99: Display Rpr Timers

    Total entrie(s): 1 # Display information about the static ringlet selection tables of all RPR stations on your switch. <Sysname> display rpr rs-table static Static ringlet selection table on interface: RPR1 MAC-Address Ringlet-ID Status ----------------------------------- 000f-e202-0002 Ringlet0 Valid Total entrie(s): 1 Table 33 Command output Field Description...
  • Page 100: Display Rpr Topology

    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 rpr timers to display RPR timers. Examples # Display the settings of all RPR timers. <Sysname>...
  • Page 101 regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display rpr topology to display RPR topology information. Examples # Display all topology information. <Sysname> display rpr topology all Ring-level topology information on interface: RPR1 Stations on ringlet0: 1 Stations on ringlet1: 1 Total stations on ring: 2...
  • Page 102 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 # Display the topology information of the RPR station corresponding to Layer 3 RPR logical interface RPR <Sysname>...
  • Page 103 Field Description Protection state on the west span: • fs—forced switch. • sf—signal fail. • Protection state on the west span sd—signal degrade. • ms—manual switch. • wtr—wait to restore. • idle. Protection state on the east span: • fs—forced switch. •...
  • Page 104 Station topology information on interface: RPR1 Station entry on ringlet0 MAC-Address Esw Ese Wc Jp IP-Address Station-Name --------------------------------------------------------------------- 000f-e200-1a01 Idle Idle 0 100.0.0.3 StationB Station entry on ringlet1 MAC-Address Esw Ese Wc Jp IP-Address Station-Name --------------------------------------------------------------------- 000f-e200-1a01 Idle Idle 0 100.0.0.3 StationB Table 35 Command output...
  • Page 105 Field Description Ringlet1 Number of stations on the east span. Ring Total stations on the ring. Indicates whether Jumbo frames are supported: • Jumbo-Prefer Regular—Not supported. • Jumbo—Supported. Topology-Type Ring status, either open ring or closed ring. Local station topology information on Summary of local topology information of the station that interface corresponds to the interface.
  • Page 106 Field Description Sequence number Sequence number of the TP frame. Last known neighbour on the west span MAC address of the last learned neighbor on the west span. Last known neighbour on the east span MAC address of the last learned neighbor on the east span. It can be start (for topology initializing), stable, unstable, valid, or Local topology state invalid.
  • Page 107: Flag

    Station entry on ringlet1 Mac address: 000f-e200-1a01 Station name: StationA IP address: 100.0.0.3 Hops: 1 Jumbo preference: regular 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...
  • Page 108: Flow-Interval

    View RPRPOS interface view Default 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).
  • Page 109: Frame-Format

    Default level 2: System level Parameters interval: Specifies the packet statistics collection interval in the range of 5 to 300 and in steps of 5, in seconds. Description Use flow-interval to configure the packet statistics collection interval. Use undo flow-interval to restore the default. Examples # Configure the packet statistics collection interval as 100 seconds for RPR physical port RPRPOS2/1/1.
  • Page 110: Interface { Rpr | Rpr-Bridge

    interface { rpr | rpr-bridge } Syntax interface { rpr | rpr-bridge } interface-number undo interface { rpr | rpr-bridge } interface-number View System view Default level 2: System level Parameters rpr: Specifies a Layer 3 RPR logical interface. rpr-bridge: Specifies a Layer 2 RPR logical interface. interface-number: Number of the RPR logical interface.
  • Page 111: Mtu

    interface-number: Number of an RPR physical port. Description Use interface { rprpos | rprxge } to enter RPR physical port view. For a switch just shipped, the interface { rprpos | rprxge } command enters only RPRPOS physical port view. To enter RPRXGE physical port view of the switch, you must execute the rpr port-type 10ge command first.
  • Page 112: Reset Counters Interface { Rpr | Rpr-Bridge

    Examples # Configure the MTU of Layer 3 RPR logical interface RPR 1 as 1492. <Sysname> system-view [Sysname] interface rpr 1 [Sysname-RPR1] mtu 1492 reset counters interface { rpr | rpr-bridge } Syntax reset counters interface [ { rpr | rpr-bridge } [ interface-number ] ] View User view Default level...
  • Page 113: Reset Rpr Protection Statistics

    Default level 2: System level Parameters rprpos: Clears statistics of RPRPOS ports. rprxge: Clears statistics of RPRXGE ports. interface-number: Specifies the number of an RPR physical port for which statistics are to be cleared. Description Use reset counters interface to clear statistics of the specified RPR physical ports. To collect statistics of an RPR physical port within a specific period, you need to clear statistics of the port before starting statistics collection.
  • Page 114: Rpr Admin-Request

    rpr admin-request Syntax rpr admin-request { fs | idle | ms } { ringlet0 | ringlet1 } View Layer 2 RPR logical interface view, Layer 3 RPR logical interface view Default level 2: System level Parameters fs: Sends a forced switch (FS) protection request. idle: Sends an idle protection request.
  • Page 115 rpr bind { { rprpos | rprxge } interface-number } { ringlet0 | ringlet1 } undo rpr bind { { rprpos | rprxge } interface-number } In RPRPOS interface view or RPRXGE interface view: rpr bind { { rpr | rpr-bridge } interface-number } { ringlet0 | ringlet1 } undo rpr bind View Layer 2 RPR logical interface view, Layer 3 RPR logical interface view, RPRPOS interface view, RPRXGE...
  • Page 116: Rpr-Bridge Extend

    To connect the Layer 2 RPR function of an S9500E switch to the RPR function of an S9500 switch, execute the rpr station-mac command in RPR logical interface view on the S9500 switch. For more information about the rpr station-mac command, see H3C S9500 Routing Switch Series High Availability Command Reference.
  • Page 117: Rpr Default-Rs

    [sysname] rpr-bridge extend slot 3 rpr default-rs Syntax rpr default-rs { ringlet0 | ringlet1 } undo rpr default-rs View Layer 2 RPR logical interface view, Layer 3 RPR logical interface view Default level 2: System level Parameters ringlet0: Specifies Ringlet 0 as the default ringlet. ringlet1: Specifies Ringlet 1 as the default ringlet.
  • Page 118: Rpr Mate Smart-Connect

    Parameters mac-address: Tests the connectivity to the station identified by the MAC address. -c c-value: Specifies the number of Echo Requests to be sent for testing connectivity, in the range of 1 to 1000. The default is 5. -r: Specifies the ringlet for the destination to send Echo Responses. It could be ringlet0, ringlet1, or reverse.
  • Page 119: Rpr Port-Type

    Description Use rpr mate smart-connect to enable the RPR mate port smart connection function. Use undo rpr mate smart-connect to disable the function. By default, RPR mate port smart connection is disabled. When the two RPR physical ports are on the same subcard, you can enable RPR mate port smart connection.
  • Page 120: Rpr Protect-Mode

    [Sysname-RPRPOS2/1/1] rpr port-type 10ge # Change the type of RPRXGE2/1/1 to 10GPOS. <Sysname> system-view [Sysname] interface rprxge 2/1/1 [Sysname-RPRXGE2/1/1] rpr port-type 10gpos rpr protect-mode Syntax rpr protect-mode { steer | wrap } undo rpr protect-mode View Layer 2 RPR logical interface view, Layer 3 RPR logical interface view Default level 2: System level Parameters...
  • Page 121 undo rpr rate-limiter { high | low | medium | reserved } { ringlet0 | ringlet1 } View Layer 2 RPR logical interface view, Layer 3 RPR logical interface view Default level 2: System level Parameters high: Configures the rate limit for subclass A1 traffic. low: Configures the rate limit for class B EIR and class C traffic.
  • Page 122: Rpr Reversion-Mode

    rpr reversion-mode Syntax rpr reversion-mode { non-revertive | revertive } undo rpr reversion-mode View Layer 2 RPR logical interface view, Layer 3 RPR logical interface view Default level 2: System level Parameters non-revertive: Sets the protection reversion mode to non-revertive, where the station remains in automatic protection state upon expiration of the WTR timer and does not resume the idle state until a higher protection request is present on the ring.
  • Page 123: Rpr Station-Name

    ringlet1: Specifies Ringlet 1 as the sending ringlet for data frames destined to a specified MAC address. mac-address: Destination MAC address, in the format of H-H-H. Description 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.
  • Page 124: Rpr Timer

    [Sysname] interface rpr-bridge 1 [Sysname-RPR-Bridge1] rpr station-name ABC # 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 Syntax rpr timer { atd atd-value | holdoff holdoff-value | keepalive keepalive-value | stability stability-value | tc-fast tc-fast-value | tc-slow tc-slow-value | tp-fast tp-fast-value | tp-slow tp-slow-value | wtr wtr-value } undo rpr timer { atd | holdoff | keepalive | stability | tc-fast | tc-slow | tp-fast | tp-slow | wtr } View...
  • Page 125: Rpr Weight

    The TP fast timer is 10 milliseconds. • • The TP slow timer is 100 milliseconds. The WTR timer is 10 seconds. • Examples # Set the ATD timer to 3 seconds on Layer 2 RPR logical interface RPR-Bridge 1. <Sysname>...
  • Page 126: Shutdown

    shutdown Syntax shutdown undo shutdown View Layer 2 RPR logical interface view, Layer 3 RPR logical interface view, RPRPOS interface view, RPRXGE interface view Default level 2: System level Parameters None Description Use shutdown to shut down the interface. Use undo shutdown to bring up the interface. By default, an interface is enabled.
  • Page 127 View RPRPOS interface view Default level 2: System level Parameters sd: Sets the signal degrade (SD) alarm threshold. sf: Sets the signal fail (SF) alarm threshold. value: Specifies the SD or SF threshold value in the range of 3 to 9. It is interpreted as a negative exponent of 10e.
  • Page 128: Rrpp Configuration Commands

    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: Specifies the ID of the primary control VLAN for the RRPP domain, in the range of 2 to 4093. The specified VLAN must be a new one (not yet created).
  • Page 129: Display Rrpp Brief

    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.
  • Page 130 GigabitEthernet3/0/3 GigabitEthernet3/0/4 GigabitEthernet3/0/3 GigabitEthernet3/0/5 GigabitEthernet3/0/4 Table 39 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). •...
  • Page 131: Display Rrpp Ring-Group

    Field Description RRPP ring status: • Enable Status Yes—Enabled. • No—Disabled. display rrpp ring-group Syntax display rrpp ring-group [ ring-group-id ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor Level Parameters ring-group-id: Specifies the RRPP ring group ID in the range of 1 to 8.
  • Page 132: Display Rrpp Statistics

    Table 40 Command output Field Description Ring Group 1 RRPP ring group 1. domain 1 ring 1 to 3, 5 Subrings in the ring group, including rings 1, 2, 3, and 5 in RRPP domain 1. domain 1 ring 1 is the sending The sending ring of the ring group is ring 1 in RRPP domain 1.
  • Page 133 Ring Level Node Mode : Master Active Status : Yes Primary port : GigabitEthernet3/0/1 Fast Hello Packets: 0 Send, 0 Rcv Fast Edge Hello Packets: 0 Send, 0 Rcv Packet Link Common Complete Edge Major Packet Direct Hello Down Flush FDB Flush FDB Hello Fault...
  • Page 134 Send Common port : GigabitEthernet3/0/4 Packet Link Common Complete Edge Major Packet Direct Hello Down Flush FDB Flush FDB Hello Fault Total ------------------------------------------------------------------------------ Send Edge port : GigabitEthernet3/0/5 Packet Link Common Complete Edge Major Packet Direct Hello Down Flush FDB Flush FDB Hello Fault...
  • Page 135: Display Rrpp Verbose

    Field Description Fast-Edge-Hello packet statistics on the port: • Fast Edge Hello Packets Send—Number of Fast- Edge-Hello packets sent out of the port. • Rcv—Number of Fast- Edge-Hello packets received on the port. Packet Direct Packet transmission direction on the port: Send or Rcv. Hello Hello packet statistics received/sent on the port.
  • Page 136 Examples # Display the detailed information of ring 1 in RRPP domain 1. <Sysname> display rrpp verbose domain 1 ring 1 Domain ID Control VLAN : Major 5 Sub 6 Protected VLAN: Reference Instance 0 to 2, 4 Hello Timer Fail Timer : 3 Fast Detection Status: Disable Fast Hello Timer: 10 ms...
  • Page 137 Field Description Control VLANs of the RRPP domain: • Control VLAN Major—Primary control VLAN. • Sub—Secondary control VLAN. List of VLANs protected by the RRPP domain. MSTIs are displayed here. To Protected VLAN get the VLANs corresponding to these MSTIs, use the display stp region-configuration command.
  • Page 138: Domain Ring

    Field Description The secondary port field means the node mode is master node or transit Secondary 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 common port field means the node mode is edge node or assistant edge Common Port node.
  • Page 139: Fast-Detection Enable

    When activating rings in a ring group, activate them on the edge node first and then on the • assistant-edge node. When deactivating rings in a ring group, deactivate them on the assistant-edge node first and then • on the edge node. Failure to follow these guidelines can cause the failure of assistant-edge node to receive Edge-Hello packets and mistakenly considering the primary ring as failed.
  • Page 140: Protected-Vlan

    protected-vlan Syntax protected-vlan reference-instance instance-id-list undo protected-vlan [ reference-instance instance-id-list ] View RRPP domain view Default level 2: System level Parameters reference-instance instance-id-list: Specifies the Multiple Spanning Tree Instances (MSTIs) you want to reference in the form of instance-id-list = { instance-id [ to instance-id ] }&<1- 1 0>, where instance-id is an MSTI ID in the range of 0 to 47.
  • Page 141: Reset Rrpp Statistics

    reset rrpp statistics Syntax reset rrpp statistics domain domain-id [ ring ring-id ] View User view Default level 1: Monitor level Parameters domain-id: Specifies the RRPP domain ID in the range of 1 to 32. ring-id: Specifies the RRPP ring ID in the range of 1 to 64. Description Use reset rrpp statistics to clear RRPPDU statistics.
  • Page 142 secondary-port: Specifies the port as a secondary port. level-value: RRPP ring level, with 0 representing primary ring and 1 representing subring. edge: Specifies the device as the edge node of the RRPP ring. assistant-edge: Specifies the device as the assistant edge node of the RRPP ring. edge-port: Specifies the edge port for the node.
  • Page 143: Ring Enable

    # Specify the device as the transit node of primary ring 20 in RRPP domain 1, GigabitEthernet 3/0/1 as the primary port and GigabitEthernet 3/0/2 as the secondary 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 transit primary-port gigabitEthernet3/0/1 secondary-port gigabitEthernet3/0/2 level 1 # Specify the device as the transit node of primary ring 10 in RRPP domain 1, GigabitEthernet 3/0/1 as...
  • Page 144: Rrpp Domain

    To activate the RRPP domain, enable the RRPP protocol and the RRPP rings for the RRPP domain. Related commands: rrpp enable. Examples # Enable RRPP ring 10 in RRPP domain 1. <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 3/0/1 secondary-port gigabitethernet 3/0/2 level 0...
  • Page 145: Rrpp Ring-Group

    View System view Default level 2: System level Parameters None Description Use rrpp enable to enable RRPP protocol. Use undo rrpp enable to disable RRPP protocol. By default, RRPP protocol is disabled. To activate the RRPP domain, enable the RRPP protocol and the RRPP rings for the RRPP domain. After you enable enhanced IRF mode, the RRPP function is not supported.
  • Page 146: Timer

    Examples # Create RRPP ring group 1 and enter its view. <Sysname> system-view [Sysname] rrpp ring-group 1 [Sysname-rrpp-ring-group1] timer Syntax timer hello-timer hello-value fail-timer fail-value undo timer View RRPP domain view Default level 2: System level Parameters hello-value: Specifies the Hello timer value in the range of 1 to 10 seconds. fail-value: Specifies the Fail timer value in the range of 3 to 30 seconds.
  • Page 147: Timer Fast-Hello-Timer

    Parameters fast-fail-value: Specifies the Fast-Fail timer value in the range of 30 to 1500 milliseconds. Description Use timer fast-fail-timer to set the Fast-Fail timer value. Use undo timer fast-fail-timer to restore the default. By default, the Fast-Fail timer is six times the timer resolution (60 milliseconds). The value of the Fast-Fail timer must be equal to or greater than three times that of the Fast-Hello timer.
  • Page 148: Smart Link Configuration Commands

    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.
  • Page 149: Display Smart-Link Group

    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: Specifies the smart link group ID in the range of 1 to 48. all: Displays information about all smart link groups.
  • Page 150: Flush Enable

    Field Description Control-VLAN Control VLAN ID. 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 of the smart link group.
  • Page 151: Port

    port Syntax port interface-type interface-number { master | 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.
  • Page 152: Preemption Delay

    Default level 2: System level Parameters group-id: Specifies the smart link group ID in the range of 1 to 48. 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.
  • Page 153: Preemption Mode

    Default level 2: System level Parameters delay-time: Specifies the preemption delay (in seconds) in the range of 0 to 300. 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, so as to collaborate with the switchover of upstream switches.
  • Page 154: Protected-Vlan

    protected-vlan Syntax protected-vlan reference-instance instance-id-list 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>, where instance-id is an MSTI ID in the range of 0 to 47. instance-id 0 represents the common internal spanning tree (CIST).
  • Page 155: Reset Smart-Link Statistics

    reset smart-link statistics Syntax reset smart-link statistics View User view Default level 2: System level Parameters None Description Use reset smart-link statistics to clear the statistics about flush messages. Examples # Clear the statistics about flush messages. <Sysname> reset smart-link statistics smart-link flush enable Syntax smart-link flush enable [ control-vlan vlan-id-list ]...
  • Page 156: Smart-Link Group

    Examples # Enable GigabitEthernet 4/0/1 to process the flush messages received in VLAN 1. <Sysname> system-view [Sysname] interface gigabitethernet 4/0/1 [Sysname-GigabitEthernet4/0/1] smart-link flush enable # Enable Layer 2 aggregate interface 1 to process the flush messages received in VLAN 1. <Sysname>...
  • Page 157: Monitor Link Configuration Commands

    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: Specifies the monitor link group ID in the range of 1 to 24. all: Displays information about all monitor link groups.
  • Page 158: Monitor-Link Group

    Field Description Group status Monitor link group state: up or down. Last-up-time Last time when the monitor link group was up. Last-down-time Last time when the monitor link group was down. Member Member ports of the monitor link group. Role ort role: uplink port or downlink port.
  • Page 159: Port Monitor-Link Group

    View Monitor link group view Default level 2: System level Parameters interface-type interface-number: Specifies a port by its type and number. uplink: Specifies an uplink port. downlink: Specifies a downlink port. This keyword is not supported by RPR logical interfaces. Description Use port to assign a port to the monitor link group.
  • Page 160 Description Use port monitor-link group to assign the current port to a monitor link group as a member port. Use undo port monitor-link group to remove the current port from a monitor link group. NOTE: A port can be assigned to only one monitor link group. •...
  • Page 161: Vrrp Configuration Commands

    VRRP configuration commands The term router in this document refers to both routers and Layer 3 switches. 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.
  • Page 162: Vrrp Version

    RFC 5798 version field is 3. The IPv6 VRRP packet format is not defined in RFC 3768. The IPv6 VRRPv2 version is implemented by H3C based on RFC 3768. Description Use vrrp version to specify the VRRP version on an interface.
  • Page 163: Ipv4-Based Vrrp Configuration Commands

    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 164 Vlan2 Master Simple 1.1.1.1 Table 46 Command output (standard protocol 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, which means the virtual IP address of the VRRP group is mapped to the real MAC Run Method address of the interface.
  • Page 165 Track Object State : Positive Pri Reduced : 50 Table 47 Command output (standard protocol 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, which means the virtual IP address of the VRRP group is mapped to the real MAC Run Method address of the interface.
  • Page 166 Field Description Virtual IP Virtual IP address of the VRRP group. Virtual MAC address that corresponds to the virtual IP address of Virtual MAC the VRRP group. It is displayed only when the router is in the state of master. Primary IP address of the interface where the router in the state of Master IP master resides.
  • Page 167 Table 48 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, which means the virtual IP address of the VRRP group is mapped to the real MAC Run Method address of the interface.
  • Page 168 Interface Vlan-interface2 VRID Adver Timer Admin Status : Up State : Master Config Pri : 120 Running Pri : 110 Preempt Mode : Yes Delay Time Auth Type : None Virtual IP : 10.1.1.1 Member IP List : 10.1.1.2 (Local, Master) 10.1.1.3 (Backup) VRRP Track Information: Track Interface: Vlan3...
  • Page 169 Field Description VRID ID of the VRRP group. Adver Timer VRRP advertisement interval, in seconds. Administrative state: • Admin Status • DOWN. Status of the router in the VRRP group: • Master. State • Backup. • Initialize. Configured priority of the router, that is, the priority value Config Pri specified by using the vrrp vrid priority command.
  • Page 170 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. The priority value that is reduced when the monitored interface is down or removed, or when the status of the monitored track entry Pri Reduced turns to negative.
  • Page 171: Display Vrrp Statistics

    Field Description The weight value that is reduced when the status of the monitored Weight Reduced track entry turns to negative. It is displayed only when the vrrp vrid weight track command is executed. VF switchover information. Forwarder Switchover Track Information The information is displayed only after the vrrp vrid track forwarder-switchover command is executed.
  • Page 172 Description Use display vrrp statistics to display statistics about VRRP groups. If you specify both an interface and a VRRP group, only the statistics about the specified VRRP group on the interface are displayed. If you only specify an interface, the statistics about all the VRRP groups on the interface are displayed.
  • Page 173 VRID Errors Table 50 Command output (Standard protocol 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. Invalid Type Pkts Rcvd Number of packets with incorrect packet type.
  • Page 174: Reset Vrrp Statistics

    Field Description Number of packets with authentication failures due to invalid Invalid Auth Type authentication types. Number of packets with authentication failures due to mismatching Auth Type Mismatch 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.
  • Page 175: Vrrp Method

    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. virtual-router-id specifies a VRRP group by its group number in the range of 1 to 255. Description Use reset vrrp statistics to clear VRRP group statistics.
  • Page 176: Vrrp Un-Check Ttl

    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...
  • Page 177: Vrrp Vrid Preempt-Mode

    View Interface view Default level 2: System level Parameters virtual-router-id: Specifies the 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.
  • Page 178: Vrrp Vrid Priority

    View Interface view Default level 2: System level Parameters virtual-router-id: Specifies the VRRP group number in the range of 1 to 255. timer delay delay-value: Sets preemption delay. The value range for the delay-value argument is 0 to 255 seconds, and the default is 0 seconds. Description Use vrrp vrid preempt-mode to enable preemption on the router and configure its preemption delay in a specific VRRP group.
  • Page 179: Vrrp Vrid Timer Advertise

    priority-value: Specifies the priority value of the router in the specified VRRP group, in the range of 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.
  • Page 180: Vrrp Vrid Track

    Before executing the command, create a VRRP group on an interface and configure the virtual IP address of the VRRP group. 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 5 seconds. <Sysname>...
  • Page 181: Vrrp Vrid Track Interface

    or the LVF on the router immediately takes over the role of the AVF at the specified IP address, depending on your configuration. 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.
  • Page 182: Vrrp Vrid Virtual-Ip

    reduced priority-reduced: Value by which the priority decrements. The value range for the priority-reduced argument is 1 to 255, and the default is 10. Description Use vrrp vrid track interface to configure to track the specified interface. Use undo vrrp vrid track interface to disable tracking the specified interface. By default, no interface is tracked.
  • Page 183: Vrrp Vrid Weight Track

    Description Use vrrp vrid virtual-ip to create a VRRP group, and configure a virtual IP address for it, or, add another virtual IP address for an existing VRRP group. Use undo vrrp vrid virtual-ip to remove an existing VRRP group or the virtual IP address of the VRRP group.
  • Page 184: Ipv6-Based Vrrp Configuration Commands

    Use undo vrrp vrid weight track to remove the specified track entry. By default, no track entry is specified to be monitored. The command is effective only when VRRP is operating in load balancing mode. Before executing the command, create a VRRP group on an interface and configure the virtual IP address of the VRRP group.
  • Page 185 |: 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 186 Field Description Running priority of the router, or in other words, the current priority of the router. With VRRP tracking configured, when the Run Pri state of the monitored interface or track entry changes, the priority of the router changes. Adver Timer VRRP advertisement interval in centiseconds.
  • Page 187 Field Description Adver Timer VRRP advertisement interval in centiseconds. Administrative state: • Admin Status • DOWN. Status of the router in the VRRP group: • Master. State • Backup. • Initialize. Configured priority of the router, or in other words, the priority Config Pri value specified by using the vrrp ipv6 vrid priority command.
  • Page 188 Field Description State of the tracked interface or track entry. State of a tracked interface: • • Down. State State of a track entry: • Invalid. • Negative. • Positive. • Not existing. The priority value that is reduced when the monitored interface is down or removed, or when the status of the monitored track entry Pri Reduced turns to negative.
  • Page 189 Field Description • If VRID is number, this field indicates the status of the router in the VRRP group, including Master, Backup, and Initialize. State • If VRID is VF number, this field indicates the status of the VF in the VRRP group, including Active, Listening, and Initialize.
  • Page 190 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 Member IP...
  • Page 191 Field Description Preemptive mode: • Yes—The router in the VRRP group is operating in preemptive Preempt Mode mode. • No—The router in the VRRP group is operating in non-preemptive mode. Delay Time Preemption delay, in seconds. Time to wait before the router becomes the master. The unit is milliseconds.
  • Page 192 Field Description Config Weight Configured weight of the VF: 255. Running weight of the VF, or in other words, the current weight of Running Weight the VF. With VF tracking configured, if the state of the monitored track entry changes, the weight of the VF changes. Forwarder 01 Information about VF 01.
  • Page 193: Display Vrrp Ipv6 Statistics

    display vrrp ipv6 statistics Syntax display vrrp ipv6 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 information of the specified interface.
  • Page 194 Global statistics CheckSum Errors Version Errors VRID Errors # When VRRP is operating in load balancing mode, display the statistics about all VRRP groups. <Sysname> display vrrp ipv6 statistics Interface : Vlan-interface2 VRID CheckSum Errors Version Errors Invalid Type Pkts Rcvd Advertisement Interval Errors : 0 Hop Limit Errors Auth Failures...
  • Page 195 Field Description Priority Zero Pkts Rcvd Number of received advertisements with the priority of 0. Adver Rcvd Number of received advertisements. Priority Zero Pkts Sent Number of advertisements with the priority of 0 sent. Adver Sent Number of advertisements sent. Global statistics Global statistics about all VRRP groups.
  • Page 196: Reset Vrrp Ipv6 Statistics

    Field Description Release Sent Number of releases sent. 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.
  • Page 197: Vrrp Ipv6 Method

    vrrp ipv6 method Syntax vrrp ipv6 method { real-mac | virtual-mac } undo vrrp ipv6 method 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.
  • Page 198: Vrrp Ipv6 Vrid Preempt-Mode

    simple: Specifies the simple authentication mode. cipher: Sets a ciphertext authentication key. key: Sets the authentication key. This argument is case sensitive. If cipher is not specified, it must be a plaintext string of 1 to 8 characters. If cipher is specified, it must be a ciphertext string of 1 to 41 characters.
  • Page 199: Vrrp Ipv6 Vrid Priority

    Use undo vrrp ipv6 vrid preempt-mode to disable preemption on the router in a specific VRRP group. As a result, the router is operating in non-preemptive mode. Use undo vrrp ipv6 vrid preempt-mode timer delay to restore the default preemption delay. By default, the router is operating in preemptive mode and the preemption delay is 0 seconds.
  • Page 200: Vrrp Ipv6 Vrid Timer Advertise

    The role that a router plays in a VRRP group depends on its priority. A higher priority means that the router is more likely to become the master. Priority 0 is reserved for special use and 255 for the IP address owner.
  • Page 201: Vrrp Ipv6 Vrid Track

    [Sysname-Vlan-interface2] vrrp ipv6 vrid 1 timer advertise 500 vrrp ipv6 vrid track Syntax vrrp ipv6 vrid virtual-router-id track track-entry-number [ forwarder-switchover member-ip ipv6-address | reduced priority-reduced | switchover ] undo vrrp ipv6 vrid virtual-router-id track [ track-entry-number ] View Interface view Default level 2: System level Parameters...
  • Page 202: Vrrp Ipv6 Vrid Track Interface

    IMPORTANT: You must create the VRRP group and assign a virtual IP address to it before you can associate it with any track entry. The vrrp ipv6 vrid track command cannot take effect on an IP address owner. If you have configured the command on an IP address owner, the configuration takes effect after the router changes to be a non IP address owner.
  • Page 203: Vrrp Ipv6 Vrid Virtual-Ip

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

    By default, no VRRP group is created. The first virtual IPv6 address assigned to a VRRP group must be a link local address and only one such address is allowed in a VRRP group. After you remove all virtual IPv6 addresses, the VRRP group is automatically removed. The first address assigned to the group must be removed the last.
  • Page 205 The track entry specified in this command can be nonexistent. You can use the vrrp ipv6 vrid weight track command to specify a track entry, and then create the track entry with the track command. By default, the weight of a VF is 255, and its lower limit of failure is 10. If the weight of a VF owner is higher than or equal to the lower limit of failure, the priority of the VF owner is always 255 and does not change with the weight value.
  • Page 206: Bfd Configuration Commands

    BFD configuration commands bfd detect-multiplier Syntax bfd detect-multiplier value undo bfd detect-multiplier View Interface view Default level 2: System level Parameters value: Specifies the detect time multiplier in the range of 3 to 50. Description Use bfd detect-multiplier to configure the detection time multiplier. Use undo bfd detect-multiplier to restore the default.
  • Page 207: Bfd Min-Echo-Receive-Interval

    Use undo bfd echo-source-ip to remove the configured source IP address of BFD echo packets. Since a large amount of ICMP redirect packets might be sent by the remote switch, causing network congestion, 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 switch.
  • Page 208: Bfd Min-Transmit-Interval

    View Interface view Default level 2: System level Parameters value: Minimum interval for receiving BFD control packets, in milliseconds. The value range and default value depend on the MPU model of the switch: For switches with LSR1SRP2D1, MPU LSR1SRP2C1, or LSR1SRP2C2, the value is in the range of 10 •...
  • Page 209: Bfd Multi-Hop Destination-Port

    Description Use bfd min-transmit-interval to configure the minimum interval for transmitting BFD control packets. Use undo bfd min-transmit-interval to restore the default. By default, the minimum interval for transmitting BFD control packets is 400 milliseconds. A proper interval ensures BFD control packets are not transmitted faster than the switch can deal with. The actual interval for transmitting BFD control packets at the local switch should be the greater between the minimum interval for sending BFD control packets configured on the local interface and the minimum interval for receiving BFD control packets on the remote switch.
  • Page 210: Display Bfd Debugging-Switches

    View System view Default level 2: System level Parameters active: Uses the active mode. In the active mode, upon being enabled with BFD, an interface actively transmits a BFD control packet to the remote switch. passive: Uses the passive mode. In the passive mode, an interface does not actively transmit a BFD control packet to the remote end;...
  • Page 211: Display Bfd Interface

    Examples # Display enabled BFD debugging switches. <Sysname> display bfd debugging-switches BFD Error debugging is on BFD Event debugging is on BFD FSM debugging is on BFD Packet Receive debugging is on BFD Packet Send debugging is on BFD SCM debugging is on BFD Timer debugging is on display bfd interface Syntax...
  • Page 212: Display Bfd Session

    Total Interface Num: 1 Interface: Vlan-interface500 Session Num: 1 Min Trans Inter: 200ms Min Recv Inter: 200ms DetectMult: 3 Min Echo Recv Inter: 400ms LD/RD SourceAddr DestAddr ConnType State Mode 192.168.11.11 192.168.11.10 Direct Ctrl Table 58 Command output Field Description Interface Interface name.
  • Page 213 Parameters verbose: Displays detailed session information. slot slot-number: Displays the session information of the specified card. The slot-number argument refers to the card slot number. Use this option when your switch is operating in standalone mode. all: Displays detailed information about all the BFD sessions on the card. chassis chassis-number slot slot-number: Displays the session information of a card on an IRF member switch.
  • Page 214 Session State: Up Interface: GigabitEthernet4/0/2 Min Trans Inter: 200ms Act Trans Inter: 200ms Min Recv Inter: 200ms Act Detect Inter: 1000ms Running Up for: 00:02:36 Auth mode: None Connect Type: Direct Board Num: 0 Protocol: OSPF/RSVP/MFW Diag Info: No Diagnostic # Display detailed information about the BFD sessions maintained by slot 0 on chassis 1 (distributed IRF member device).
  • Page 215: Reset Bfd Session Statistics

    Field Description Send Pkt Num Number of packets sent. Hold Time Length of time before session detection timer expires. Auth mode Session authentication mode. The switch does not support authentication. Connect Type Connection type of the interface. Running up for Time interval for which the session has been up.
  • Page 216: Track Configuration Commands

    Track configuration commands display track Syntax display track { track-entry-number | all } [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters track-entry-number: Displays information about the specified track entry in the range of 1 to 1024. all: Displays information about all track entries.
  • Page 217 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 60 Command output...
  • Page 218: Track Bfd Echo

    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...
  • Page 219: Track Nqa

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

    After a track entry is created, you cannot change its settings except the delay time. To change the delay time, use the track nqa delay command. To modify other settings of this track entry, first delete the entire track entry, and then create a new track entry. Related commands: display track.;...
  • Page 221: Track Interface Protocol

    When a track entry to be associated with the physical status of a specific interface is created, the status of the track entry is Positive if the physical status of the interface is up. The status of the track entry is Negative if the physical status of the interface is down.
  • Page 222 Description 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. Use undo track to remove the track entry.
  • Page 223: Index

    Index B C D F H I M O P R S T V display cfd linktrace-reply auto-detection,46 display cfd ma,48 detect-multiplier,196 display cfd md,50 echo-source-ip,196 display cfd mep,51 min-echo-receive-interval,197 display cfd meplist,53 min-receive-interval,197 display cfd mp,54 min-transmit-interval,198 display cfd remote-mep,56 bfd multi-hop destination-port,199...
  • Page 224 display vrrp ipv6 statistics,183 port monitor-link group,149 display vrrp statistics,161 port smart-link group,141 dldp authentication-mode,65 preemption delay,142 dldp delaydown-timer,66 preemption mode,143 dldp enable,66 protected-vlan,130 dldp interval,67 protected-vlan,144 dldp reset,68 dldp unidirectional-shutdown,68 reset bfd session statistics,205 dldp work-mode,69 reset cfd tst,61 domain ring,128 reset counters interface { rpr | rpr-bridge...
  • Page 225 vrrp ipv6 vrid track,191 vrrp ipv6 vrid track interface,192 threshold,1 16 vrrp ipv6 vrid virtual-ip,193 timer,136 vrrp ipv6 vrid weight track,194 timer fast-fail-timer,136 vrrp method,165 timer fast-hello-timer,137 vrrp mode,151 track bfd echo,208 vrrp un-check ttl,166 track interface,210 vrrp version,152 track interface protocol,21 1 vrrp vrid authentication-mode,166...

Table of Contents