HPE FlexFabric 12900 Series Command Reference Manual

Hide thumbs Also See for FlexFabric 12900 Series:
Table of Contents

Advertisement

HPE FlexFabric 12900 Switch Series
High Availability Command Reference
Part number: 5998-4355R
Software version: R1003 and later
Document version: 6W102-20161028

Advertisement

Table of Contents
loading

Summary of Contents for HPE FlexFabric 12900 Series

  • Page 1 HPE FlexFabric 12900 Switch Series High Availability Command Reference Part number: 5998-4355R Software version: R1003 and later Document version: 6W102-20161028...
  • Page 2 © Copyright 2016 Hewlett Packard Enterprise Development LP The information contained herein is subject to change without notice. The only warranties for Hewlett Packard Enterprise products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. Hewlett Packard Enterprise shall not be liable for technical or editorial errors or omissions contained herein.
  • Page 3: Table Of Contents

    Contents Ethernet OAM commands ··············································································· 1 display oam ················································································································································ 1 display oam configuration ·························································································································· 5 display oam critical-event ··························································································································· 6 display oam link-event ································································································································ 7 oam enable ·············································································································································· 10 oam errored-frame threshold ··················································································································· 10 oam errored-frame window ······················································································································ 11 oam errored-frame-period threshold ········································································································ 12 oam errored-frame-period window ···········································································································...
  • Page 4 dldp delaydown-timer ······························································································································· 53 dldp enable ··············································································································································· 54 dldp global enable ···································································································································· 55 dldp interval ·············································································································································· 55 dldp unidirectional-shutdown ···················································································································· 56 reset dldp statistics ··································································································································· 57 VRRP commands ························································································· 58 IPv4 VRRP commands ···································································································································· 58 display vrrp ··············································································································································· 58 display vrrp statistics ································································································································ 61 reset vrrp statistics ···································································································································...
  • Page 5 Document conventions and icons ······························································· 107 Conventions ··················································································································································· 107 Network topology icons ·································································································································· 108 Support and other resources ······································································ 109 Accessing Hewlett Packard Enterprise Support ···························································································· 109 Accessing updates ········································································································································· 109 Websites ················································································································································ 110 Customer self repair ······························································································································· 110 Remote support ······································································································································ 110 Documentation feedback ·······················································································································...
  • Page 6: Ethernet Oam Commands

    Ethernet OAM commands 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. Syntax display oam { local | remote } [ interface interface-type interface-number ] Views Any view Predefined user roles...
  • Page 7 Par action : FWD Flags Link fault : Not occurred Dying gasp : Not occurred Critical event : Not occurred Local evaluating : COMPLETE Remote evaluating : COMPLETE Packets statistics Packet type Sent Received ----------------------------------------------------------------- OAMPDU OAMInformation OAMEventNotification OAMUniqueEventNotification OAMDuplicateEventNotification Table 1 Command output Field Description...
  • Page 8 Field Description Indicates whether the local-to-remote configuration negotiation is complete: Local evaluating • COMPLETE—The negotiation is completed. • NOTCOMPLETE—The negotiation is uncompleted. Indicates whether the remote-to-local configuration negotiation is complete: • COMPLETE—The negotiation is completed. • NOTCOMPLETE—The negotiation is uncompleted. Remote evaluating •...
  • Page 9: Related Commands

    Table 2 Command output Field Description Ten-GigabitEthernet1/0/1 Information on Ten-GigabitEthernet 1/0/1. Local Ethernet OAM mode: • OAM mode Active—The port operates in the active Ethernet OAM mode. • Passive—The port operates in the passive Ethernet OAM mode. MAC address MAC address of the remote end. MTU size MTU size, in bytes.
  • Page 10: Display Oam Configuration

    display oam configuration Use display oam configuration to display global Ethernet OAM configuration on the specified port, including the periods and thresholds for Ethernet OAM link error event detection. Syntax display oam configuration [ interface interface-type interface-number ] Views Any view Predefined user roles network-admin network-operator...
  • Page 11: Display Oam Critical-Event

    Window : 100 x 1000000 symbols Threshold : 1 error symbols Errored frame Window : 10 x 100 milliseconds Threshold : 1 error frames Errored frame period Window : 1000 x 10000 frames Threshold : 1 error frames Errored frame seconds Window : 600 x 100 milliseconds Threshold...
  • Page 12: Display Oam Link-Event

    Usage guidelines If you do not specify the interface keyword, this command displays the statistics for the critical Ethernet OAM link events that occurred on all the ports of the switch. Examples # Display the statistics on critical Ethernet OAM link events occurred on all the ports. <Sysname>...
  • Page 13 Usage guidelines If you do not specify the interface keyword, this command displays the statistics on the Ethernet OAM link error events occurred on all the local/peer ports. Examples # Display the statistics on Ethernet OAM link error events occurred on all the local ports. <Sysname>...
  • Page 14 Event time stamp : 16382 x 100 milliseconds Errored frame period window : 10000000 frames Errored frame period threshold : 1 error frames Errored frame period : 1 error frames Error running total : 5 error frames Event running total : 5 events OAM remote errored frame seconds summary event Event time stamp...
  • Page 15: Oam Enable

    Field Description Information about local/remote end errored frame seconds events: • Event time stamp—Time when an errored frame seconds event occurred. • Errored frame second window—Errored frame second detection interval. • OAM local/remote Errored Frame seconds threshold—Errored threshold that triggers an errored frame errored frame seconds event.
  • Page 16: Oam Errored-Frame Window

    Views Layer 2 Ethernet port view, Layer 3 Ethernet port view Predefined user roles network-admin mdc-admin Parameters threshold-value: Specifies the errored frame event triggering threshold in number of errored frame seconds, in the range of 0 to 4294967295. Usage guidelines The configuration in port view takes effect on the specified port.
  • Page 17: Oam Errored-Frame-Period Threshold

    Examples # Set the errored frame event detection window on Ten-GigabitEthernet 1/0/1 to 2000 milliseconds. <Sysname> system-view [Sysname] interface ten-gigabitethernet 1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] oam errored-frame window 20 Related commands • display oam configuration • display oam link-event • oam global errored-frame window oam errored-frame-period threshold Use oam errored-frame-period threshold to set the errored frame period event triggering threshold on a port.
  • Page 18: Oam Errored-Frame-Period Window

    oam errored-frame-period window Use oam errored-frame-period window to set the errored frame period event detection window. Use undo oam errored-frame-period window to restore the default. Syntax oam errored-frame-period window window-value undo oam errored-frame-period window Default The port uses the global setting. Views Layer 2 Ethernet port view, Layer 3 Ethernet port view Predefined user roles...
  • Page 19: Oam Errored-Frame-Seconds Window

    Views Layer 2 Ethernet port view, Layer 3 Ethernet port view Predefined user roles network-admin mdc-admin Parameters threshold-value: Specifies the errored frame seconds event triggering threshold in the range of 0 to 900. Usage guidelines The value of the errored frame seconds event triggering threshold cannot be greater than the value of the errored frame seconds event detection window (in seconds).
  • Page 20: Oam Errored-Symbol-Period Threshold

    Parameters window-value: Specifies the errored frame seconds event detection window in the range of 100 to 9000 and in steps of 10 (in 100 milliseconds). Usage guidelines The value of the errored frame seconds event triggering threshold cannot be greater than the value of the errored frame seconds event detection window (in seconds).
  • Page 21: Oam Errored-Symbol-Period Window

    <Sysname> system-view [Sysname] interface ten-gigabitethernet 1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] oam errored-symbol-period threshold 100 Related commands • display oam configuration • display oam link-event • oam global errored-symbol-period threshold oam errored-symbol-period window Use oam errored-symbol-period window to set the errored symbol event detection window. Use undo oam errored-symbol-period window to restore the default.
  • Page 22: Oam Global Errored-Frame Window

    Use undo oam global errored-frame threshold to restore the default. Syntax oam global errored-frame threshold threshold-value undo oam global errored-frame threshold Default The errored frame event triggering threshold is 1. Views System view Predefined user roles network-admin mdc-admin Parameters threshold-value: Specifies the errored frame event triggering threshold in the range of 0 to 4294967295.
  • Page 23: Oam Global Errored-Frame-Period Threshold

    Parameters window-value: Specifies the errored frame event detection window in the range of 10 to 600 and in steps of 10 (in 100 milliseconds). Usage guidelines The configuration in system view takes effect on all ports, but has a lower precedence than the configuration in port view.
  • Page 24: Oam Global Errored-Frame-Period Window

    • display oam link-event • oam errored-frame-period threshold oam global errored-frame-period window Use oam global errored-frame-period window to set the global errored frame period event detection window. Use undo oam global errored-frame-period window to restore the default. Syntax oam global errored-frame-period window window-value undo oam global errored-frame-period window Default The global errored frame period event detection window is 10000000.
  • Page 25: Oam Global Errored-Frame-Seconds Window

    Default The global errored frame seconds event detection interval is 1. Views System view Predefined user roles network-admin mdc-admin Parameters threshold-value: Specifies the errored frame seconds event triggering threshold in the range of 0 to 900. Usage guidelines The value of the errored frame seconds event triggering threshold cannot be greater than the value of the errored frame seconds event detection window (in seconds).
  • Page 26: Oam Global Errored-Symbol-Period Threshold

    Parameters window-value: Specifies the errored frame seconds event detection window in the range of 100 to 9000 and in steps of 10 (in 100 milliseconds). Usage guidelines The value of the errored frame seconds event triggering threshold cannot be greater than the value of the errored frame seconds event detection window (in seconds).
  • Page 27: Oam Global Errored-Symbol-Period Window

    [Sysname] oam global errored-symbol-period threshold 100 Related commands • display oam configuration • display oam link-event • oam errored-symbol-period threshold oam global errored-symbol-period window Use oam global errored-symbol-period window to set the global errored symbol event detection window. Use undo oam global errored-symbol-period window to restore the default. Syntax oam global errored-symbol-period window window-value undo oam global errored-symbol-period window...
  • Page 28: Oam Global Timer Keepalive

    Syntax oam global timer hello interval undo oam global timer hello Default The global Ethernet OAM handshake packet transmission interval is 1000 milliseconds. Views System view Predefined user roles network-admin mdc-admin Parameters interval: Specifies the Ethernet OAM handshake packet transmission interval, in steps of 100 (in milliseconds).
  • Page 29: Oam Mode

    mdc-admin Parameters interval: Specifies the Ethernet OAM connection timeout timer, in steps of 100 (in milliseconds). The value range for this argument is 1000 to 25000. Usage guidelines After the timeout timer of an Ethernet OAM connection expires, the local OAM entity ages out its connection with the peer OAM entity, causing the OAM connection to disconnect.
  • Page 30: Oam Remote-Failure Action

    <Sysname> system-view [Sysname] interface ten-gigabitethernet 1/0/1 [Sysname-Ten-GigabitEthernet1/0/1] undo oam enable [Sysname-Ten-GigabitEthernet1/0/1] oam mode passive Related commands oam enable oam remote-failure action Use oam remote-failure action to configure the action the port takes after it receives an Ethernet OAM event from the remote end. Use undo oam remote-failure action to restore the default.
  • Page 31: Oam Timer Keepalive

    undo oam timer hello Default The port uses the global setting. Views Layer 2 Ethernet port view, Layer 3 Ethernet port view Predefined user roles network-admin mdc-admin Parameters interval: Specifies the Ethernet OAM handshake packet transmission interval, in steps of 100 (in milliseconds).
  • Page 32: Reset Oam

    Parameters interval: Specifies the Ethernet OAM connection timeout timer, in steps of 100 (in milliseconds). The value range for this argument is 1000 to 25000. Usage guidelines After the timeout timer of an Ethernet OAM connection expires, the local OAM entity ages out its connection with the peer OAM entity, causing the OAM connection to disconnect.
  • Page 33: Cfd Commands

    CFD commands 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 The CCM sending function is disabled.
  • Page 34: Cfd Enable

    Default The value of this field is 4 for all CCMs sent. Views System view Predefined user roles network-admin mdc-admin Parameters interval interval-value: Specifies the value of the interval field in CCM messages, in the range of 1 to 7. The switch does not support a CCM interval field value in the range of 1 to 3. If you configure a CCM interval field value of 1, 2, or 3, the value of 4 takes effect.
  • Page 35: Cfd Linktrace

    Views System view Predefined user roles network-admin mdc-admin Examples # Enable CFD. <Sysname> system-view [Sysname] cfd enable cfd linktrace Use cfd linktrace to find the path between the source MEP and target MP, 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-mac mac-address | target-mep target-mep-id } [ ttl ttl-value ] [ hw-only ]...
  • Page 36: Cfd Linktrace Auto-Detection

    Field Description Last MAC MAC address of the last-hop device the LTM passes. Indicates whether the forwarding device found the destination MAC address in its MAC address table. When the standard version (IEEE 802.1ag) of CFD is used: • Relay Action Hit—The current device is the destination device.
  • Page 37: Cfd Loopback

    Related commands • cfd linktrace • display cfd linktrace-reply auto-detection cfd loopback Use cfd loopback to enable LB function so that LBMs can be sent from the source MEP to the target MP, and LBR messages can be received. Syntax cfd loopback service-instance instance-id mep mep-id { target-mac mac-address | target-mep target-mep-id } [ number number ] Default...
  • Page 38: Cfd Md

    Table 8 Command output Field Description Loopback to 0010-fc00-6512 with the Sends LBMs to 0010-FC00-6512 with the sequence number sequence number start from starting with 1101-43404. 1101-43404 Reply from 0010-fc00-6512 Reply from the MP with the MAC address 0010-FC00-6512. sequence number Sequence number in the LBR messages.
  • Page 39: Cfd Mep

    mac mac-address subnumber: Specifies an MD name comprising the MAC address and an integer, where mac-address represents the MAC address of the MD, and subnumber is in the range of 0 to 65535. none: Specifies that no MD name is carried in the packets sent by the MEP. Usage guidelines An MD name must be in compliant with the specifications in table 21-19 in IEEE802.1ag-2007.
  • Page 40: Cfd Meplist

    Configurations in Ethernet interface view take effect only on the current interface; configurations in aggregate interface view take effect on the aggregate interface and all its member ports; configurations on a member port take effect only when the member port leaves the aggregation group.
  • Page 41: Cfd Mip-Rule

    [Sysname] cfd meplist 9 to 15 service-instance 5 Related commands • cfd md • cfd service-instance cfd mip-rule Use cfd mip-rule to configure the rules for generating MIPs. The system automatically generates MIPs on each port according to the rules configured. Use undo cfd mip-rule to restore the default.
  • Page 42 Views System view Predefined user roles network-admin mdc-admin Parameters service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767. ma-id: Creates an MA. icc-based icc-name: Specifies that an MA is identified by an ICC. The icc-name argument is a string of 1 to 13 characters.
  • Page 43: Display Cfd Linktrace-Reply

    Related commands cfd md display cfd linktrace-reply Use display cfd linktrace-reply to display the LTR information received by a MEP. Syntax display cfd linktrace-reply [ service-instance instance-id [ mep mep-id ] ] Views Any view Predefined user roles network-admin network-operator mdc-admin mdc-operator Parameters...
  • Page 44: Display Cfd Linktrace-Reply Auto-Detection

    Field Description Indicates whether the forwarding device found the destination MAC address in its MAC address table. When the standard version (IEEE 802.1ag) of CFD is used: • Relay Action Hit—The current device is the destination device. • FDB—The forwarding device found the destination MAC address. •...
  • Page 45: Display Cfd Md

    Table 10 Command output Field Description Service instance Service instance to which the MEPs that sent LTM messages belong. MEP ID ID of the MEP that sends LTMs. Time Time of the LTMs automatically sent. Target MEP ID ID of the target MEP. Initial hop count of the automatically sent LTMs.
  • Page 46: Display Cfd Mep

    Table 11 Command output Field Description Maintenance domains configured Number of MDs configured. Level Level of MD. Index MD index. Maintenance domain Name of MD. MD name format: • CHARSTRING—Character string. • MD format DNS—DNS name. • MAC—MAC address and an integer. •...
  • Page 47 Maintenance association index: 1 Level: 0 VLAN: 1 Direction: Outbound Current state: Active CCM send: Enable FNG state: FNG_DEFECT_REPORTED CCM: Current state: CCI_WAITING Interval: 1s SendCCM: 12018 Loopback: NextSeqNumber: 8877 SendLBR: 0 ReceiveInOrderLBR: 0 ReceiveOutOrderLBR: 0 Linktrace: NextSeqNumber: 8877 SendLTR: 0 ReceiveLTM: 0 No CCM received from some remote MEPs.
  • Page 48 Field Description Current state State of MEP, either Active or Inactive. CCM send Whether the MEP sends CCM. State of FNG (Fault Notification Generator): • FNG_RESET—A fault has been cleared. • FNG_DEFECT—A fault has been detected. • FNG_REPORT_DEFECT—Report a fault. FNG state •...
  • Page 49: Display Cfd Meplist

    Field Description One or more streams of Cross-connect CCMs are received, and the content of the last cross-connect CCMs is cross-connect CCM is displayed. (This information is displayed only when received. The last received cross-connect CCMs are received.) CCM: Some other MEPs are CCMs with the RDI flag bits set are received from other MEPs.
  • Page 50 Parameters interface interface-type interface-number: Displays the MP information on a port specified by its port type and port number. If this option is not specified, MP information on all ports is displayed. Usage guidelines The output is arranged by port name. On a port, the output shows MPs that serve VLANs, and then shows MPs that do not serve any VLANs.
  • Page 51: Display Cfd Remote-Mep

    display cfd remote-mep Use display cfd remote-mep to display information about a remote MEP. Syntax display cfd remote-mep service-instance instance-id mep mep-id Views Any view Predefined user roles network-admin network-operator mdc-admin mdc-operator 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 52: Display Cfd Service-Instance

    display cfd service-instance Use display cfd service-instance to display the configuration information of service instance. Syntax display cfd service-instance [ instance-id ] Views Any view Predefined user roles network-admin network-operator mdc-admin mdc-operator Parameters instance-id: Specifies a service instance ID in the range of 1 to 32767. If this argument is not specified, the configuration information of all service instances is displayed.
  • Page 53: Display Cfd Status

    Field Description Maintenance association index Index of the MA to which the service instances belong. Level MD level. VLAN VLAN to which the MA belongs. MIP rule MIP generation rules configured on service instance. CCM interval Interval to send CCMs. Direction Direction of the MEPs configured on the service instance.
  • Page 54: Dldp Commands

    DLDP commands display dldp Use display dldp to display DLDP configuration. Syntax display dldp [ interface interface-type interface-number ] Views Any view Predefined user roles network-admin network-operator mdc-admin mdc-operator Parameters interface interface-type interface-number: Specifies an interface by its type and number. Usage guidelines If no port is specified, this command displays global and port-specific DLDP configuration.
  • Page 55: Display Dldp Statistics

    Interface Ten-GigabitEthernet1/0/1 DLDP port state: Bidirectional Number of the port’s neighbors: 1 Neighbor MAC address: 0023-8956-3600 Neighbor port index: 79 Neighbor state: Confirmed Neighbor aged time: 13s Table 16 Command output Field Description DLDP global status Global DLDP state (Enabled or Disabled). Interval for sending Advertisement packets (in seconds) to DLDP advertisement interval maintain neighbor relations.
  • Page 56 Predefined user roles network-admin network-operator mdc-admin mdc-operator Parameters interface interface-type interface-number: Specifies a port by its type and number. Usage guidelines If no port is specified, this command displays the statistics on the DLDP packets passing through all the DLDP-enabled ports. Examples # Display the statistics on the DLDP packets passing through all the DLDP-enabled ports.
  • Page 57: Dldp Authentication-Mode

    dldp authentication-mode Use dldp authentication-mode to configure DLDP authentication. Use undo dldp authentication-mode to restore the default. Syntax dldp authentication-mode { md5 | none | simple } undo dldp authentication-mode Default DLDP authentication is not performed. Views System view Predefined user roles network-admin mdc-admin Parameters...
  • Page 58: Dldp Delaydown-Timer

    Syntax dldp authentication-password { cipher cipher | simple simple } undo dldp authentication-password Default No DLDP authentication password is configured. Views System view Predefined user roles network-admin mdc-admin Parameters cipher cipher: Sets a ciphertext password. The cipher argument is a case-sensitive string of 1 to 53 characters.
  • Page 59: Dldp Enable

    undo dldp delaydown-timer Default The setting of the DelayDown timer is 1 second. Views System view Predefined user roles network-admin mdc-admin Parameters time: Specifies the DelayDown timer in the range of 1 to 5 seconds. Usage guidelines The DelayDown timer configured by using this command applies to all DLDP-enabled ports. Examples # Set the DelayDown timer to 2 seconds.
  • Page 60: Dldp Global Enable

    Related commands • display dldp • dldp global enable dldp global enable Use dldp global enable to enable DLDP globally. Use undo dldp global enable to disable DLDP globally. Syntax dldp global enable undo dldp global enable Default DLDP is disabled globally. Views System view Predefined user roles...
  • Page 61: Dldp Unidirectional-Shutdown

    mdc-admin Parameters time: Specifies Advertisement packets sending interval in the range of 1 to 100 seconds. Usage guidelines This command applies to all DLDP-enabled ports. To enable DLDP to operate correctly, make sure the intervals for sending Advertisement packets configured on the two ends of a link are the same. Examples # Set the interval for sending Advertisement packets to 20 seconds.
  • Page 62: Reset Dldp Statistics

    reset dldp statistics Use reset dldp statistics to clear the statistics on DLDP packets passing through a port. Syntax reset dldp statistics [ interface interface-type interface-number ] Views User view Predefined user roles network-admin mdc-admin Parameters interface interface-type interface-number: Clears the statistics on DLDP packets passing through a port.
  • Page 63: Vrrp Commands

    VRRP commands The term "interface" in VRRP collectively refers to Layer 3 interfaces, including VLAN interfaces and Layer 3 Ethernet interfaces. You can set an Ethernet port as a Layer 3 interface by using port link-mode route (see Layer 2—LAN Switching Configuration Guide). IPv4 VRRP commands display vrrp Use display vrrp to display the states of IPv4 VRRP groups.
  • Page 64 Table 18 Command output (in standard mode) Field Description Running Mode VRRP operating mode (standard mode). Total number of virtual routers Total number of VRRP groups. Interface Interface where the VRRP group is configured. VRID Virtual router ID (VRRP group number). Status of the router in the VRRP group: •...
  • Page 65 Master IP : 1.1.1.12 Table 19 Command output (in standard mode) Field Description Running Mode VRRP operating mode (standard mode). Total number of virtual routers Total number of VRRP groups. Interface Interface where the VRRP group is configured. VRID Virtual router ID (VRRP group number). Adver Timer VRRP advertisement sending interval in centiseconds.
  • Page 66: Display Vrrp Statistics

    Field Description Switchover mode. When the status of the associated track entry becomes Switchover negative, the backup immediately becomes the master. display vrrp statistics Use display vrrp statistics to display statistics for IPv4 VRRP groups. Syntax display vrrp statistics [ interface interface-type interface-number [ vrid virtual-router-id ] ] Views Any view Predefined user roles...
  • Page 67: Reset Vrrp Statistics

    Version Errors VRID Errors Table 20 Command output (in standard mode) Field Description Interface Interface where the VRRP group is configured. VRID VRRP group number. CheckSum Errors Number of packets with checksum errors. Version Errors Number of packets with version errors. Invalid Pkts Rcvd Number of received packets of invalid packet types.
  • Page 68: Snmp-Agent Trap Enable Vrrp

    Predefined user roles network-admin mdc-admin Parameters interface interface-type interface-number: Specifies an interface by its type and number. vrid virtual-router-id: Specifies an IPv4 VRRP group by its virtual router ID in the range of 1 to 255. Usage guidelines • If no interface or VRRP group is specified, this command clears statistics for all IPv4 VRRP groups.
  • Page 69: Vrrp Check-Ttl Enable

    Usage guidelines When the notification function is enabled, the device can send notifications to the destination host. To specify the notification type (inform or trap) and target host, use the snmp-agent target-host command. Examples # Generate notifications as defined in RFC 2787 when the device in a VRRP group receives a VRRP advertisement with the authentication type or key not matching the local configuration.
  • Page 70: Vrrp Version

    Syntax vrrp dscp dscp-value undo vrrp dscp Views System view Predefined user roles network-admin mdc-admin Parameters dscp-value: Specifies a DSCP value for VRRP packets, in the range of 0 to 63. The default is 48. Usage guidelines The DSCP value identifies the packet priority during transmission. A greater DSCP value means a higher packet priority.
  • Page 71: Vrrp Vrid Authentication-Mode

    [Sysname-Vlan-interface10] vrrp version 2 vrrp vrid authentication-mode Use vrrp vrid authentication-mode to configure the authentication mode and the authentication key for an IPv4 VRRP group to send and receive VRRP packets. Use undo vrrp vrid authentication-mode to restore the default. Syntax vrrp vrid virtual-router-id authentication-mode { md5 | simple } { cipher | plain } key undo vrrp vrid virtual-router-id authentication-mode...
  • Page 72: Vrrp Vrid Preempt-Mode

    IMPORTANT: • You can configure different authentication modes and authentication keys for the VRRP groups on an interface. However, members of the same VRRP group must use the same authentication mode and authentication key. • For VRRPv3, this command does not take effect. Examples # Set the authentication mode to simple and the authentication key to Sysname for VRRP group 1 on VLAN-interface 2.
  • Page 73: Vrrp Vrid Priority

    To avoid frequent state changes among members in a VRRP group and to provide the backups enough time to collect information (such as routing information), a backup does not immediately become the master after it receives an advertisement with lower priority than the local priority. Instead, it waits for a period of time before taking over as the master.
  • Page 74: Vrrp Vrid Shutdown

    Related commands • display vrrp • vrrp vrid track vrrp vrid shutdown Use vrrp vrid shutdown to disable an IPv4 VRRP group. Use undo vrrp vrid shutdown to restore the default. Syntax vrrp vrid virtual-router-id shutdown undo vrrp vrid virtual-router-id shutdown Default An IPv4 VRRP group is enabled.
  • Page 75: Vrrp Vrid Timer Advertise

    Views Interface view Predefined user roles network-admin mdc-admin Parameters virtual-router-id: Specifies an IPv4 VRRP group by its virtual router ID in the range of 1 to 255. interface-type interface-number: Specifies an interface by its type and number. Usage guidelines If VRRP group members cannot exchange VRRP packets through the interfaces where the VRRP group resides, you can use this command to enable VRRP packet exchange among VRRP group members through the specified source interfaces.
  • Page 76: Vrrp Vrid Track

    Usage guidelines The master in an IPv4 VRRP group periodically sends VRRP advertisements to declare its presence. You can use this command to configure the interval at which the master sends VRRP advertisements. As a best practice, set the VRRP advertisement interval to be greater than 100 centiseconds to maintain system stability.
  • Page 77: Vrrp Vrid

    track-entry-number: Specifies a track entry. The track-entry-number argument is in the range of 1 to 1024. reduced priority-reduced: Reduces the priority of the router in the VRRP group by a specific value when the state of the specified track entry changes to negative. The priority-reduced argument is in the range of 1 to 255.
  • Page 78: Ipv6 Vrrp Commands

    Predefined user roles network-admin mdc-admin Parameters virtual-router-id: Specifies an IPv4 VRRP group by its virtual router ID in the range of 1 to 255. virtual-ip virtual-address: Specifies a virtual IP address, which cannot be an all-zero address (0.0.0.0); a broadcast address (255.255.255.255); a loopback address; an IP address of other than Class A, Class B, and Class C;...
  • Page 79 vrid virtual-router-id: Specifies an IPv6 VRRP group by its virtual router ID in the range of 1 to 255. verbose: Displays detailed IPv6 VRRP group information. If the verbose keyword is not specified, this command displays brief IPv6 VRRP group information. Usage guidelines •...
  • Page 80 Total number of virtual routers : 2 Interface Vlan-interface2 VRID Adver Timer : 100 Admin Status : Up State : Master Config Pri : 150 Running Pri : 150 Preempt Mode : Yes Delay Time : 10 Auth Type : None Virtual IP : FE80::10 1::10...
  • Page 81: Display Vrrp Ipv6 Statistics

    Field Description Delay Time Preemption delay time in seconds. Time, in milliseconds, that a backup router has to wait before it becomes Become Master the master. Authentication type. Only none is available, which means no Auth Type authentication is required. Virtual IP Virtual IP address of the VRRP group.
  • Page 82 • If both an interface and an IPv6 VRRP group are specified, this command displays statistics for the specified IPv6 VRRP group on the specified interface. You can use the reset vrrp ipv6 statistics command to clear statistics for IPv6 VRRP groups. Examples # Display statistics for all IPv6 VRRP groups when VRRP operates in standard mode.
  • Page 83: Reset Vrrp Ipv6 Statistics

    Field Description Adver Sent Number of sent advertisements. Global statistics Global statistics for all IPv6 VRRP groups. CheckSum Errors Total number of packets with checksum errors. Version Errors Total number of packets with version errors. VRID Errors Total number of packets with VRID errors. Related commands reset vrrp ipv6 statistics reset vrrp ipv6 statistics...
  • Page 84: Vrrp Ipv6 Vrid Preempt-Mode

    undo vrrp ipv6 dscp Views System view Predefined user roles network-admin mdc-admin Parameters dscp-value: Specifies a DSCP value for IPv6 VRRP packets, in the range of 0 to 63. The default is Usage guidelines The DSCP value identifies the packet priority during transmission. A greater DSCP value means a higher packet priority.
  • Page 85: Vrrp Ipv6 Vrid Priority

    In preemptive mode, a backup takes over as the master and sends VRRP advertisements when it detects that it has a higher priority than the master. The previous master then becomes a backup. This mechanism makes sure the master is always the router with the highest priority. To avoid frequent state changes among members in a VRRP group and to provide the backups enough time to collect information (such as routing information), a backup does not immediately become the master after it receives an advertisement with lower priority than the local priority.
  • Page 86: Vrrp Ipv6 Vrid Shutdown

    [Sysname-Vlan-interface2] vrrp ipv6 vrid 1 priority 150 Related commands display vrrp ipv6 vrrp ipv6 vrid shutdown Use vrrp ipv6 vrid shutdown to disable an IPv6 VRRP group. Use undo vrrp ipv6 vrid shutdown to restore the default. Syntax vrrp ipv6 vrid virtual-router-id shutdown undo vrrp ipv6 vrid virtual-router-id shutdown Default An IPv6 VRRP group is enabled.
  • Page 87: Vrrp Ipv6 Vrid Track

    Predefined user roles network-admin mdc-admin Parameters virtual-router-id: Specifies an IPv6 VRRP group by its virtual router ID in the range of 1 to 255. adver-interval: Specifies an interval for the master in the specified IPv6 VRRP group to send VRRP advertisements.
  • Page 88: Vrrp Ipv6 Vrid

    Default An IPv6 VRRP group is not associated with any track entry. Views Interface view Predefined user roles network-admin mdc-admin Parameters virtual-router-id: Specifies an IPv6 VRRP group number in the range of 1 to 255. track-entry-number: Specifies a track entry. The track-entry-number argument is in the range of 1 to 1024.
  • Page 89 Use undo vrrp ipv6 vrid to remove all configurations of an existing IPv6 VRRP group or to remove a virtual IPv6 address from an existing IPv6 VRRP group. Syntax vrrp ipv6 vrid virtual-router-id virtual-ip virtual-address [ link-local ] undo vrrp ipv6 vrid virtual-router-id [ virtual-ip [ virtual-address [ link-local ] ] ] Default No IPv6 VRRP group is created.
  • Page 90: Bfd Commands

    BFD commands The term "interface" in BFD collectively refers to Layer 3 interfaces, including VLAN interfaces and Layer 3 Ethernet interfaces. You can set an Ethernet port as a Layer 3 interface by using port link-mode route (see Layer 2—LAN Switching Configuration Guide). bfd authentication-mode Use bfd authentication-mode to configure the BFD authentication mode for single-hop BFD control packets.
  • Page 91: Bfd Detect-Multiplier

    Use undo bfd demand enable to restore the default. Syntax bfd demand enable undo bfd demand enable Default The BFD session is in Asynchronous mode. Views Interface view Predefined user roles network-admin mdc-admin Usage guidelines In demand mode, no BFD control packets are exchanged after the session is established. When the connectivity to another system needs to be verified explicitly, a system sends several BFD control packets that have the Poll (P) bit set at the negotiated transmit interval.
  • Page 92: Bfd Echo Enable

    Usage guidelines The detection time multiplier determines the maximum number of concurrent BFD packets (including control packets and echo packets) that can be discarded. Table 24 Detection interval calculation method Mode Detection interval Detection time multiplier of the sender × actual Echo packet mode packet sending interval of the sender Control packet mode BFD session in asynchronous...
  • Page 93: Bfd Echo-Source-Ip

    bfd echo-source-ip Use bfd echo-source-ip to configure the source IP address of BFD echo packets. Use undo bfd echo-source-ip to remove the configured source IP address of BFD echo packets. Syntax bfd echo-source-ip ip-address undo bfd echo-source-ip Default No source IP address is configured for BFD echo packets. Views System view Predefined user roles...
  • Page 94: Bfd Min-Echo-Receive-Interval

    Parameters ipv6-address: Specifies the source IPv6 address for BFD echo packets. Usage guidelines The source IPv6 address of echo packets can only be a global unicast address. The source IPv6 address cannot be on the same network segment as any local interface's IP address.
  • Page 95: Bfd Min-Transmit-Interval

    Use undo bfd min-receive-interval to restore the default. Syntax bfd min-receive-interval value undo bfd min-receive-interval Default The minimum interval for receiving single-hop BFD control packets is 400 milliseconds. Views Interface view Predefined user roles network-admin mdc-admin Parameters value: Specifies the minimum interval for receiving single-hop BFD control packets, in milliseconds. The value range for this argument is 10 to 1000.
  • Page 96: Bfd Multi-Hop Authentication-Mode

    Parameters value: Specifies the minimum interval for transmitting single-hop BFD control packets, in milliseconds. The value range for this argument is 10 to 1000. Usage guidelines Use this command to make sure that the BFD packet sending rate does not exceed the device capability.
  • Page 97: Bfd Multi-Hop Destination-Port

    Examples # Configure the simple authentication mode for multi-hop BFD control packets, setting the authentication key ID to 1 and password to 123456. <Sysname> system-view [Sysname] bfd multi-hop authentication-mode simple 1 plain 123456 bfd multi-hop destination-port Use bfd multi-hop destination-port to configure the destination port number for multi-hop BFD control packets.
  • Page 98: Bfd Multi-Hop Min-Receive-Interval

    Parameters value: Specifies the multi-hop detection time multiplier in the range of 3 to 50. Usage guidelines The detection time multiplier determines the maximum number of concurrent BFD control packets that can be discarded. Table 25 Detection interval calculation method Mode Detection interval Control packet mode BFD session in asynchronous...
  • Page 99: Bfd Multi-Hop Min-Transmit-Interval

    bfd multi-hop min-transmit-interval Use bfd multi-hop min-transmit-interval to configure the minimum interval for transmitting multi-hop BFD control packets. Use undo bfd multi-hop min-transmit-interval to restore the default. Syntax bfd multi-hop min-transmit-interval value undo bfd multi-hop min-transmit-interval Default The minimum interval for transmitting multi-hop BFD control packets is 400 milliseconds. Views System view Predefined user roles...
  • Page 100: Display Bfd Session

    Parameters active: Uses the active mode. In active mode, BFD actively transmits BFD control packets to the remote device, regardless of whether it receives a BFD control packet from the remote device. passive: Uses the passive mode. In passive mode, BFD does not actively transmit a BFD control packet to the remote end;...
  • Page 101 IPv6 Session Working Under Ctrl Mode: Local Discr: 513 Remote Discr: 513 Source IP: FE80::20C:29FF:FED4:7171 Destination IP: FE80::20C:29FF:FE72:AC4D Session State: Up Interface: Vlan11 # Display detailed IPv4 BFD session information. <Sysname> display bfd session verbose Total Session Num: 1 Up Session Num: 1 Init Mode: Active IPv4 Session Working Under Ctrl Mode: Local Discr: 513...
  • Page 102: Reset Bfd Session Statistics

    Field Description Up Session Num Total number of active BFD sessions. Init Mode BFD operating mode, active or passive. IPv4/IPv6 BFD session mode: • Session Working Under Ctrl Mode Ctrl—Control packet mode. • Echo—Echo packet mode. Local Discr/LD Local ID of the session. Remote Discr/RD Remote ID of the session.
  • Page 103 Examples # Clear the BFD session statistics. <Sysname> reset bfd session statistics...
  • Page 104: Track Commands

    Track commands display track Use display track to display track entry information. Syntax display track { track-entry-number | all } Views Any view Predefined user roles network-admin network-operator mdc-admin mdc-operator Parameters track-entry-number: Displays information about the specified track entry. The value range for the track-entry-number argument is 1 to 1024.
  • Page 105 Interface: Vlan-interface3 Protocol: IPv4 Track ID: 4 State: Negative Duration: 0 days 0 hours 0 minutes 32 seconds Notification delay: Positive 20, Negative 30 (in seconds) Tracked object: CFD service instance: 1, MEP ID: 2 Table 27 Command output Field Description Track ID ID of a track entry.
  • Page 106: Track Bfd

    • track interface protocol • track nqa track bfd Use track bfd to create a track entry and associate it with a BFD session. Use undo track to remove the track entry. Syntax track track-entry-number bfd echo interface interface-type interface-number remote ip remote-ip local ip local-ip [ delay { negative negative-time | positive positive-time } * ] undo track track-entry-number Default...
  • Page 107: Track Cfd

    Related commands display track track cfd Use track cfd to create a track entry and associate it with CFD. Use undo track to remove the track entry. Syntax track track-entry-number cfd cc service-instance instance-id mep mep-id [ delay { negative negative-time | positive positive-time } * ] undo track track-entry-number Default...
  • Page 108: Track Nqa

    track nqa Use track nqa to create a track entry and associate it with the specified reaction entry of the NQA test group. Use undo track to remove the track entry. Syntax track track-entry-number nqa entry admin-name operation-tag reaction item-number [ delay { negative negative-time | positive positive-time } * ] undo track track-entry-number Default...
  • Page 109: Track Interface

    track interface Use track interface to create a track entry and associate it with the link state of a specific interface. Use undo track to remove the track entry. Syntax track track-entry-number interface interface-type interface-number [ delay { negative negative-time | positive positive-time } * ] undo track track-entry-number Default No track entry exists.
  • Page 110: Track Interface Protocol

    track interface protocol Use track interface protocol to create a track entry and associate it with the protocol state of a specific interface. Use undo track to remove the track entry. Syntax track track-entry-number interface interface-type interface-number protocol { ipv4 | ipv6 } [ delay { negative negative-time | positive positive-time } * ] undo track track-entry-number Default...
  • Page 111 Related commands • display track • display ip interface brief (Layer 3—IP Services Command Reference) • display ipv6 interface brief (Layer 3—IP Services Command Reference)
  • Page 112: Document Conventions And Icons

    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.
  • Page 113: Network Topology Icons

    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.
  • Page 114: Support And Other Resources

    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 •...
  • Page 115: Websites

    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 116 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.
  • Page 117: Index

    Index B C D O R S T V W display oam critical-event,6 display oam link-event,7 authentication-mode,85 display track,99 bfd demand enable,85 display vrrp,58 detect-multiplier,86 display vrrp ipv6,73 bfd echo enable,87 display vrrp ipv6 statistics,76 echo-source-ip,88 display vrrp statistics,61 echo-source-ipv6,88 dldp authentication-mode,52 min-echo-receive-interval,89...
  • Page 118 vrrp ipv6 vrid preempt-mode,79 vrrp ipv6 vrid priority,80 snmp-agent trap enable vrrp,63 vrrp ipv6 vrid shutdown,81 vrrp ipv6 vrid timer advertise,81 track bfd,101 vrrp ipv6 vrid track,82 track cfd,102 vrrp version,65 track interface,104 vrrp vrid,72 track interface protocol,105 vrrp vrid authentication-mode,66 track nqa,103...

Table of Contents