HP FlexNetwork 6600, FlexNetwork HSR6600 High Availability Command Reference

HPE FlexNetwork 6600/HSR6600 Routers
High Availability Command Reference
Part number: 5998-1494R Software version: A6600_HSR6602-CMW520-R3303P25 Document version: 6W105-20151231
Enterprise products and services are set forth in the express warranty statements acco mpanying such products and services. Nothing herein should be construe d as constituting an additional warranty. Hewlett Packard Enterprise shall not be liable for technical or editorial errors or omissions co ntained herein.
Confidential computer software. V alid license from Hewlett Packard Enterprise required for possession, use, or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and T e chnical Data for Commercial Items are licensed to the U.S. Government under vendor’s standard commercial license.
Links to third-party websites take you outside the Hewlett Packard Enterprise website. Hewlett Packard Enterprise has no control over and is not responsible for information outside the Hewlett Packard Enterprise website.
Acknowledgments
Intel®, Itanium®, Pentium®, Intel Inside®, and the Intel Inside logo are trademarks of Intel Corporation in the United States and other countries.
Microsoft® and Windows® are trademarks of the Microsoft group of companies. Adobe® and Acrobat® are trademarks of Adobe Systems In corporated. Java and Oracle are registered trademarks of Oracle and/or its affiliates. UNIX® is a registered trademark of The Open Group.

Contents

Active and standby switchover configuration commands ································ 1
display switchover state ····························································································································· 1 ha slave-ignore-version-check ··················································································································· 2 slave restart ················································································································································ 2 slave switchover ········································································································································· 3 slave switchover { disable | enable } ·········································································································· 3
Ethernet OAM configuration commands ························································· 5
display oam ················································································································································ 5 display oam configuration ·························································································································· 8 display oam critical-event ························································································································· 10 display oam link-event ······························································································································ 11 oam enable ·············································································································································· 13 oam errored-frame period ························································································································ 14 oam errored-frame threshold ··················································································································· 14 oam errored-frame-period period ············································································································· 15 oam errored-frame-period threshold ········································································································ 16 oam errored-frame-seconds period ·········································································································· 16 oam errored-frame-seconds threshold ····································································································· 17 oam errored-symbol period ······················································································································ 18 oam errored-symbol threshold ················································································································· 18 oam loopback ··········································································································································· 19 oam loopback interface (system view) ····································································································· 19 oam loopback interface (user view) ········································································································· 20 oam loopback reject-request ···················································································································· 21 oam mode ················································································································································ 22 oam timer hello ········································································································································· 22 oam timer keepalive ································································································································· 23 reset oam ················································································································································· 24
CFD configuration commands ······································································ 25
cfd cc enable ············································································································································ 25 cfd cc interval ··········································································································································· 25 cfd enable ················································································································································· 26 cfd linktrace ·············································································································································· 27 cfd linktrace auto-detection ······················································································································ 28 cfd loopback ············································································································································· 29 cfd ma ······················································································································································ 30 cfd md ······················································································································································ 31 cfd mep ···················································································································································· 32 cfd mep enable ········································································································································· 33 cfd meplist ················································································································································ 34 cfd mip-rule ·············································································································································· 34 cfd service-instance ································································································································· 35 cfd service-instance maid format ············································································································· 36 cfd version ················································································································································ 37 display cfd linktrace-reply ························································································································· 38 display cfd linktrace-reply auto-detection ································································································· 40 display cfd ma ·········································································································································· 42 display cfd md ·········································································································································· 44 display cfd mep ········································································································································ 45 display cfd meplist ···································································································································· 47 display cfd mp ·········································································································································· 48 display cfd remote-mep ···························································································································· 49 display cfd service-instance ····················································································································· 50 display cfd status ······································································································································ 52 display cfd version ···································································································································· 52
i
DLDP configuration commands ···································································· 54
display dldp ·············································································································································· 54 display dldp statistics ······························································································································· 56 dldp authentication-mode ························································································································· 57 dldp delaydown-timer ······························································································································· 58 dldp enable ··············································································································································· 58 dldp interval ·············································································································································· 59 dldp reset ················································································································································· 60 dldp unidirectional-shutdown ···················································································································· 60 dldp work-mode ········································································································································ 61 reset dldp statistics ··································································································································· 62
RPR configuration commands ······································································ 63
bandwidth ················································································································································· 63 description ················································································································································ 63 display interface rpr ·································································································································· 64 display interface rprpos ···························································································································· 66 display rpr bind-info ·································································································································· 69 display rpr defect ······································································································································ 70 display rpr fairness ··································································································································· 71 display rpr protection ································································································································ 73 display rpr rs-table ···································································································································· 74 display rpr statistics ·································································································································· 76 display rpr timers ······································································································································ 77 display rpr topology ·································································································································· 78 display rpr vrrp-info ·································································································································· 85 flag ··························································································································································· 85 flag j1 ignore ············································································································································· 86 frame-format ············································································································································· 87 interface rpr ·············································································································································· 87 interface rprpos ········································································································································ 88 mtu ··························································································································································· 88 reset counters interface rpr ······················································································································ 89 reset counters interface rprpos ················································································································ 89 reset rpr protection statistics ···················································································································· 90 rpr admin-request ····································································································································· 90 rpr bind ····················································································································································· 91 rpr default-rs ············································································································································· 92 rpr echo mac ············································································································································ 93 rpr mate smart-connect ···························································································································· 94 rpr protect-mode ······································································································································· 94 rpr rate-limiter ··········································································································································· 95 rpr reversion-mode ··································································································································· 96 rpr static-rs ··············································································································································· 97 rpr station-name ······································································································································· 97 rpr timer ···················································································································································· 98 rpr weight ················································································································································· 99 service ······················································································································································ 99 shutdown ················································································································································ 100 threshold ················································································································································ 101
RRPP configuration commands ·································································· 102
control-vlan ············································································································································· 102 display rrpp brief ····································································································································· 102 display rrpp ring-group ··························································································································· 104 display rrpp statistics ······························································································································ 106 display rrpp verbose ······························································································································· 108 domain ring ············································································································································ 111 protected-vlan ········································································································································ 112 reset rrpp statistics ································································································································· 113 ring ························································································································································· 113
ii
ring enable ············································································································································· 115 rrpp domain ············································································································································ 116 rrpp enable ············································································································································· 117 rrpp ring-group ······································································································································· 117 timer ······················································································································································· 118
Smart Link configuration commands ··························································· 119
display smart-link flush ··························································································································· 119 display smart-link group ························································································································· 119 flush enable ············································································································································ 121 port ························································································································································· 121 port smart-link group ······························································································································ 122 port smart-link group track ····················································································································· 123 preemption delay ···································································································································· 124 preemption mode ··································································································································· 125 protected-vlan ········································································································································ 125 reset smart-link statistics ························································································································ 126 smart-link flush enable ··························································································································· 126 smart-link group ····································································································································· 127
VRRP configuration commands ·································································· 129
Common VRRP configuration commands ····································································································· 129
vrrp mode ··············································································································································· 129 vrrp version ············································································································································ 129
IPv4-based VRRP configuration commands ·································································································· 130
display vrrp ············································································································································· 130 display vrrp statistics ······························································································································ 138 reset vrrp statistics ································································································································· 141 vrrp dot1q ··············································································································································· 142 vrrp method ············································································································································ 143 vrrp un-check ttl ······································································································································ 144 vrrp vrid authentication-mode ················································································································· 144 vrrp vrid backup-arp ······························································································································· 145 vrrp vrid preempt-mode ·························································································································· 146 vrrp vrid priority ······································································································································ 147 vrrp vrid source-interface ······················································································································· 148 vrrp vrid timer advertise ·························································································································· 149 vrrp vrid track ········································································································································· 149 vrrp vrid track interface ··························································································································· 151 vrrp vrid virtual-ip ···································································································································· 152 vrrp vrid weight track ······························································································································ 153
IPv6-based VRRP configuration commands ·································································································· 154
display vrrp ipv6 ····································································································································· 154 display vrrp ipv6 statistics ······················································································································ 161 reset vrrp ipv6 statistics ·························································································································· 164 vrrp ipv6 method ···································································································································· 165 vrrp ipv6 vrid authentication-mode ········································································································· 166 vrrp ipv6 vrid preempt-mode ·················································································································· 167 vrrp ipv6 vrid priority ······························································································································· 168 vrrp ipv6 vrid timer advertise ·················································································································· 168 vrrp ipv6 vrid track ·································································································································· 169 vrrp ipv6 vrid track interface ··················································································································· 171 vrrp ipv6 vrid virtual-ip ···························································································································· 172 vrrp ipv6 vrid weight track ······················································································································ 173
Stateful failover configuration commands ··················································· 175
dhbk enable ············································································································································ 175 dhbk interface ········································································································································· 175 display dhbk status ································································································································· 176
BFD configuration commands ····································································· 178
bfd detect-multiplier ································································································································ 178
iii
bfd echo-source-ip ································································································································· 178 bfd min-echo-receive-interval ················································································································· 179 bfd min-receive-interval ·························································································································· 179 bfd min-transmit-interval ························································································································· 180 bfd multi-hop destination-port ················································································································· 180 bfd session init-mode ····························································································································· 181 display bfd debugging-switches ············································································································· 182 display bfd interface ······························································································································· 182 display bfd session ································································································································· 184 reset bfd session statistics ····················································································································· 186 snmp-agent trap enable bfd ··················································································································· 186
Track configuration commands ··································································· 187
display track ··········································································································································· 187 track bfd echo ········································································································································· 189 track nqa ················································································································································ 190 track interface ········································································································································· 191 track interface protocol ··························································································································· 192
Document conventions and icons ······························································· 194
Conventions ··················································································································································· 194 Network topology icons ·································································································································· 195
Support and other resources ······································································ 196
Accessing Hewlett Packard Enterprise Support ···························································································· 196 Accessing updates ········································································································································· 196
Websites ················································································································································ 197 Customer self repair ······························································································································· 197 Remote support ······································································································································ 197 Documentation feedback ······················································································································· 197
Index ··········································································································· 199
iv

Active and standby switchover configuration commands

The following matrix shows the command and router compatibility:
Command HSR6602 6604/6608/6616
Active and standby switchover commands
No Yes

display switchover state

Use display switchover state to display the backup state of the specified MPU.
Syntax
display switchover state [ slot slot-number ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
slot slot-number: Displays the backup state of a specified card, where slot-number represents the
slot number of a card. If no slot number is specified, the backup state of the active MPU is displayed. |: 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.
regular-expression: Specifi es a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display the backup state on the active MPU.
<Sysname> display switchover state Master HA State to Slot [1]: Realtime backup to slave.
Table 1 Command output
Field Description
Backup state between the active MPU and the standby MPU,
Master HA State to Slot 1
Slave is absent The standby MPU is not in the slot. Waiting batch backup request from slave Waiting for the batch backup requests from the standby MPU. Batch backup Batch backup state. Realtime backup to slave Real-time backup state.
where 1 represents the number of the slot where the standby MPU resides.
1
Field Description
Data smooth Data smoothing state.
# Display the backup state on the standby MPU in slot 1.
<Sysname> display switchover state slot 1 Slave HA State: Receiving realtime data.
The output indicates that the standby MPU is slot 1 is receiving real-time backup data.
Table 2 Command output
Field Description
Slave HA State
It indicates that the output is generated by the standby MPU and it describes the backup state of the standby MPU.
Waiting
The standby MPU is in the slot and waiting to enter batch backup state.

ha slave-ignore-version-check

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 stand by MPU.
Syntax
ha slave-ignore-version-check undo ha slave-ignore-version-check
Default
Version check of the stand by MPU is enabled.
Views
System view
Default command level
2: System level
Usage guidelines
Inconsistency of the software version of the active MPU and standby MPU might result in system failure when the system is running.
Examples
# Ignore version check of the standby MPU.
<Sysname> system-view [Sysname] ha slave-ignore-version-check

slave restart

Use slave restart to manually restart the standby MPU.
Syntax
slave restart
2
Views
System view
Default command level
2: System level
Examples
# Restart the standby MPU.
<Sysname> system-view [Sysname] slave restart The slave will reset! Continue?[Y/N]:y

slave switchover

Use slave switchover to manually configure the switchover between the active MPU and standby MPU.
Syntax
slave switchover
Views
System view
Default command level
2: System level
Examples
# Manually configure the switchover between the active MPU and the standby MPU.
<Sysname> system-view [Sysname] slave switchover Caution!!! Confirm to switch slave to master?[Y/N] y
Starting.....
RAM Line....OK
Related commands
slave switchover { disable | enable }

slave switchover { disable | enable }

Use slave switchover disable to disable manual switchover function between the active MPU and standby MPU.
Use slave sw itchover enable to enable manual switchover function between the active MPU and standby MPU.
Syntax
slave switchover { disable | enable }
Default
Views
Manual configuration of the switchover between the active MPU and standby MPU is enabled.
System view
3
Default command level
2: System level
Parameters
disable: Disables manual switchover between the active MPU and standby MPU. enable: Enables manual switchover between the active MPU and standby MPU.
Examples
# Enable manual switchover between the active MPU and standby MPU.
<Sysname> system-view [Sysname] slave switchover enable
Related commands
slave switchover
4

Ethernet OAM configuration commands

The commands in this chapter are supported only when the SAP module is operating in bridge mode.

display oam

Use display oam to display the information about an Ethernet OAM connection, including connection status, information contained in Ethernet OAM packet header, and Ethernet OAM packet statistics.
Syntax
display oam { local | remote } [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command 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. interface 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. include: Displays all lines that match the specified regular expression.
regular-expression: Specifi es a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
If you do not specify the interface keyword, this command displays the information about all the Ethernet OAM connections.
Examples
# Display the information about the Ethernet OAM connection established on the local port GigabitEthernet 3/0/1.
<Sysname> display oam local interface gigabitethernet 3/0/1 Port : GigabitEthernet3/0/1 Link Status : Up EnableStatus : Enable Local_oam_mode : Active Local_pdu : ANY Local_mux_action : FWD Local_par_action : FWD
OAMLocalFlagsField :
-------------------------------------------------------------------------­Link Fault : 0 Dying Gasp : 0
5
Critical Event : 0 Local Evaluating : COMPLETE Remote Evaluating : COMPLETE
Packets statistic : Packets Send Receive
-------------------------------------------------------------------------­OAMPDU 645 648 OAMInformation 645 648 OAMEventNotification 0 -­OAMUniqueEventNotification -- 0 OAMDuplicateEventNotification -- 0
Table 3 Command output
Field Description
Port
Port index. Link Status EnableStatus
Local_oam_mode
Local_pdu
Local_mux_action
Local_par_action
Link status (up or down).
Ethernet OAM state (enabled or disabled).
Local Ethernet OAM mode:
Active—The port operates in the active Ethernet OAM mode.
Passive—The port operates in the passive Ethernet OAM mode.
The way in which the local end processes Ethernet OAMPDUs:
RX_INFO—The port only receives Information OAMPDUs and does not send any Ethernet OAMPDUs.
LF_INFO—The port only sends the Information OAMPDUs without Information TLV triplets and with their link error flag bits being set.
INFO—The port sends and receives only Information OAMPDUs.
ANY—The por t sends and receives Ethernet OAMPDUs of any
type.
Working mode of the local transmitter:
FWD—The port can send any packets.
DISCARD—The port only sends Ethernet OAMPDUs.
Working mode of the local receiver:
FWD—The port can receive any packets.
DISCARD—The port only receives Ethernet OAMPDUs.
LB—The local receiver is in loopback state. All the packets other
than Ethernet OAMPDUs received on the local receiver are returned to their sources along the ways they come.
OAMLocalFlagsField Local flags inserted in the local flag fields of the Ethernet OAMPDUs sent.
Link Fault
Dying Gasp Indicates whether a fatal error is present: 0 for no and 1 for yes. Critical Event Indicates whether a critical error is present: 0 for no and 1 for yes.
Local Evaluating
Indicates whether an Ethernet OAM link error is present: 0 for no and 1 for yes.
Indicates whether the local-to-remote configuration negotiation is complete:
COMPLETE—The negotiation is completed.
NOTCOMPLETE—The negotiation is uncompleted.
6
Field Description
Indicates whether the remote-to-local configuration negotiation is
Remote Evaluating
Packets statistic Statistics about Ethernet OAMPDUs sent and received. OAMPDU Total number of the Ethernet OAMPDUs sent and received. OAMInformation Number of the Information OAMPDUs sent and received. OAMEventNotification Number of the Event notification OAMPDUs sent and received.
complete:
COMPLETE—The negotiation is completed.
NOTCOMPLETE—The negotiation is uncompleted.
OAMUniqueEventNotification
OAMDuplicateEventNotificatio n
Number of the unduplicated Event notification OAMPDUs sent or received uniquely.
Number of the duplicate Event notification OAMPDUs sent or received.
# Display the Ethernet OAM information of the peer port GigabitEthernet 3/0/1.
<Sysname> display oam remote interface gigabitethernet 3/0/1 Port : GigabitEthernet3/0/1 Link Status : Up Information of the latest received OAM packet: OAMRemoteMACAddress : 00e0-fd73-6502 OAMRemotePDUConfiguration : 1500
OAMRemoteState :
-------------------------------------------------------------------------­Remote_mux_action : FWD Remote_par_action : FWD
OAMRemoteConfiguration :
-------------------------------------------------------------------------­OAM Mode : Active Unidirectional Support : YES Loopback Support : YES Link Events : YES Variable Retrieval : NO
OAMRemoteFlagsField :
-------------------------------------------------------------------------­Link Fault : 0 Dying Gasp : 0 Critical Event : 0 Local Evaluating : COMPLETE Remote Evaluating : COMPLETE
Table 4 Command output
Field Description
Port Port index. Link Status Link status. Information of the latest received
OAM packet OAMRemoteMACAddress MAC address of the Ethernet OAM peer. OAMRemotePDUConfiguration Maximum Ethernet OAMPDU size allowed.
Information about the latest received Ethernet OAMPDU.
7
Field Description
OAMRemoteState State of the Ethernet OAM peer. Remote_mux_action Peer sending mode. For more information, see Table 3. Remote_par_action Peer receiving mode. For more information, see Table 3. OAMRemoteConfiguration Configuration of the peer Ethernet OAM entity. OAM Mode Ethernet OAM mode. Unidirectional Support Indicates whether unidirectional transmission is supported (YES or NO).
Loopback Support
Link Events
Variable Retrieval Indicates whether MIB variable retrieval is supported (YES or NO). OAMRemoteFlagsField Values of the peer Ethernet OAM flag fields in OAM packets. 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. Critical Event Indicate whether a critical fault is present: 0 for no and 1 for yes.
Local Evaluating
Remote Evaluating
Related commands
reset oam
Indicates whether Ethernet OAM remote loopback is supported (YES or NO).
Indicates whether Ethernet OAM link error events are supported (YES or NO).
Indicates whether the local-to-remote configuration negotiation is complete:
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.

display oam configuration

Use display oam configu ration to display global Ethernet OAM configuratio n, including the periods and thresholds for Ethernet OAM link error event detection.
Syntax
display oam configuration [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
2: System level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
8
include: Displays all lines that match the specified regular expression. regular-expression: Specifi es a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display global Ethernet OAM configuration.
<Sysname> display oam configuration Configuration of the link event window/threshold :
-------------------------------------------------------------------------­Errored-symbol Event period(in seconds) : 1 Errored-symbol Event threshold : 1 Errored-frame Event period(in seconds) : 1 Errored-frame Event threshold : 1 Errored-frame-period Event period(in ms) : 1000 Errored-frame-period Event threshold : 1 Errored-frame-seconds Event period(in seconds) : 60 Errored-frame-seconds Event threshold : 1
Configuration of the timer :
-------------------------------------------------------------------------­Hello timer(in ms) : 1000 Keepalive timer(in ms) : 5000
Table 5 Command output
Field Description
Configuration of the link event window/threshold
Errored-symbol Event period (in seconds)
Errored-symbol Event threshold
Errored-frame Event period (in seconds)
Errored-frame Event threshold Errored frame event triggering threshold, which defaults to 1. Errored-frame-period Event
period (in ms) Errored-frame-period Event
threshold Errored-frame-seconds Event
period (in seconds) Errored-frame-seconds Event
threshold Configuration of the timer Ethernet OAM connection detection timers.
Detection intervals and triggering thresholds configured for link ev ents.
Errored symbol event detection interval, which defaults to one second.
Errored symbol event triggering threshold, which defaults to 1.
Errored frame event detection interval, which defaults to one second.
Errored frame period event detection interval, which defaults to 1000 milliseconds.
Errored frame period event triggering threshold, which defaults to 1.
Errored frame seconds event detection interval, which defaults to 60 seconds.
Errored frame seconds event triggering threshold, which defaults to 1.
Hello timer(in ms)
Keepalive timer(in ms)
Ethernet OAM handshake packet transmission interval, the value of which defaults to 1000 milliseconds.
Ethernet OAM connection timeout timer, the value of which defaults to 5000 milliseconds.
9
Related commands
oam errored-symbol period
oam errored-symbol threshold
oam errored-frame period
oam errored-frame threshold
oam errored-frame-period period
oam errored-frame-period threshold
oam errored-frame-seconds period
oam errored-frame-seconds threshold
oam timer hello
oam timer keepalive

display oam critical-event

Use display oam critical-event to display the statistics on critical Ethernet OAM link events occurred on a port.
Syntax
display oam critical-event [ interface interface-type interface-number] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
2: System level
Parameters
interface 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. include: Displays all lines that match the specified regular expression.
regular-expression: Specifi es a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
If you do not specify the interface keyword, this command displays the statistics on the critical Ethernet OAM link events occurred on all the ports of the switch.
Examples
# Display the statistics on critical Ethernet OAM link events occurred on all the ports.
<Sysname> display oam critical-event Port : GigabitEthernet3/0/1 Link Status : Up Event statistic :
------------------------------------------------------------------------­Link Fault :0 Dying Gasp : 0 Critical Event : 0
10
Table 6 Command output
Field Description
Port Port index. Link Status Link status. Event statistic Statistics on critical Ethernet OAM link events. Link Fault Indicates whether a link fault is present: 0 for no and 1 for yes. Dying Gasp Indicate whether a fatal fault is present: 0 for no and 1 for yes. Critical Event Indicate whether a critical fault is present: 0 for no and 1 for yes.

display oam link-event

Use display oam link-event to display the statistics o n Ethernet OAM link error events o ccurred on a local port or a peer port. Ethernet OAM link error events include errored symbol events, errored frame events, errored frame period events, and errored frame seconds events.
Syntax
display oam link-event { local | remote } [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
2: System level
Parameters
local: Displays the statistics on the local Ethernet OAM link error events. remote: Displays the statistics on the peer Ethernet OAM link error events. interface 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. include: Displays all lines that match the specified regular expression.
regular-expression: Specifi es a regular expression, a case-sensitive string of 1 to 256 characters.
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> display oam link-event local Port : GigabitEthernet3/0/1 Link Status : Up
OAMLocalErrFrameEvent : (ms = milliseconds)
11
-------------------------------------------------------------------------­Event Time Stamp : 3539 Errored Frame Window : 10(100ms) Errored Frame Threshold : 5 Errored Frame : 1488111 Error Running Total : 260908758 Event Running Total : 307
OAMLocalErrFramePeriodEvent :
-------------------------------------------------------------------------­Event Time Stamp : 3539 Errored Frame Window : 976500 Errored Frame Threshold : 1 Errored Frame : 1042054 Error Running Total : 260909151 Event Running Total : 471
OAMLocalErrFrameSecsSummaryEvent : (ms = milliseconds)
-------------------------------------------------------------------------­Event Time Stamp : 3389 Errored Frame Second Summary Window : 600(100ms) Errored Frame Second Summary Threshold : 1 Errored Frame Second Summary : 60 Error Running Total : 292 Event Running Total : 5
Table 7 Command output
Field Description
Port Port index. Link Status Link status.
Information about local errored frame events:
Event Time Stamp—Time when an errored frame event occurred (in 100 milliseconds).
Errored Frame Window—Error frame detection interval (in 100 milliseconds).
OAMLocalErrFrame Event
OAMLocalErrFrame PeriodEvent
Errored Frame Threshold—Error threshold that triggers an errored frame event.
Errored Frame—Number of detected error frames over the specific detection interval.
Error Running Total—Total number of error frames.
Event Running Total—Total number of errored frame events that have
occurred.
Information about local errored frame period events:
Event Time Stamp—Time when an errored frame event occurred (in 100 milliseconds).
Errored Frame Window—Maximum number of 64-byte frames that can be transmitted through an Ethernet port over the configured error frame period detection interval. For more information, see the "oam errored-frame-period
peri
od" command.
Errored Frame Threshold—Error threshold that triggers an error frame period event.
Errored Frame—Number of detected error frames over a detection interval.
Error Running Total—Total number of error frames that have detected.
Event Running Total—Total number of error frame period events.
12
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 SecsSummaryEvent
Errored Frame Second Summary Threshold—Error threshold that triggers an error frame seconds event.
Errored Frame Second Summary—Number of detected error frame seconds over a detection interval.
Error Running Total—Total number of error frame seconds.
Event Running Total—Total number of error frame seconds events that have
occurred.
# Display Ethernet OAM link event statistics of the remote ends of all the ports.
<Sysname> display oam link-event remote Port :GigabitEthernet3/0/1 Link Status :Up OAMRemoteErrFrameEvent : (ms = milliseconds)
--------------------------------------------------------------------­Event Time Stamp : 5789 Errored Frame Window : 10(100ms) Errored Frame Threshold : 1 Errored Frame : 3 Error Running Total : 35 Event Running Total : 17
Table 8 Command output
Field Description
Port Port index. Link Status Link status.
OAMLocalErrFra meEvent
Related commands
display oam configuration
reset oam

oam enable

Information about remote errored frame events:
Event Time Stamp—Time when an errored frame event occurred (in 100 milliseconds).
Errored Frame Window—Error frame detection interval (in 100 milliseconds).
Errored Frame Threshold—Error threshold that triggers an errored frame event.
Errored Frame—Number of detected error frames over the specific detection
interval.
Error Running Total—Total number of error frames.
Event Running Total—Total number of errored frame events that have occurred.
Syntax
Use oam enable to enable Ethernet OAM on the Ethernet port. Use undo oam enable to disable Ethernet OAM on the Ethernet port.
oam enable undo oam enable
13
Default
Ethernet OAM is disabled on all Ethernet ports.
Views
Layer 2 Ethernet port view
Default command level
2: System level
Examples
# Enable OAM on port GigabitEthernet 3/0/1.
<Sysname> system-view [Sysname] interface gigabitethernet 3/0/1 [Sysname-GigabitEthernet3/0/1] oam enable

oam errored-frame period

Use oam errored-frame period to set the errored frame event detection interval. Use undo oam errored-frame period to restore the default.
Syntax
oam errored-frame period period-value undo oam errored-frame period
Default
The errored frame event detection interval is one second.
Views
System view
Default command level
2: System level
Parameters
period-value: Errored frame event detection interval in the range of 1 to 60 (in seconds).
Examples
# Set the errored frame event detection interval to 10 seconds.
<Sysname> system-view [Sysname] oam errored-frame period 10
Related commands
oam errored-frame threshold
display oam link-event
display oam configuration

oam errored-frame threshold

Use oam errored-frame threshold to set the errored frame event triggering threshold. Use undo oam errored-frame threshold to restore the default.
14
Syntax
oam errored-frame threshold threshold-value undo oam errored-frame threshold
Default
The errored frame event triggering threshold is 1.
Views
System view
Default command level
2: System level
Parameters
threshold-value: Errored frame event triggering threshold in the range of 0 to 4294967295.
Examples
# Set the errored frame event triggering threshold to 100.
<Sysname> system-view [Sysname] oam errored-frame threshold 100
Related commands
oam errored-frame period
display oam link-event
display oam configuration

oam errored-frame-period period

Use oam errored-frame-period period to set the errored frame period event detection interval. Use undo oam errored-frame-period period to restore the default.
Syntax
oam errored-frame-period period period-value undo oam errored-frame-period period
Default
The errored frame period event detection interval is 1000 milliseconds.
Views
System view
Default command level
2: System level
Parameters
period-value: Errored frame period event detection interval in the range of 100 to 60000 (in milliseconds).
Usage guidelines
As for errored frame period event detection, the system first uses the following expre ssion to convert the errored frame period event detection interval to the maximum number of 64-byte frames that can be transmitted through an Ethernet port in the period:
bandwidth * period / (64 * 8 * 1000),
15
where bandwidth is the port bandwidth (in bps) and "period" is the configured period (in milliseconds).
Examples
# Set the errored frame period event detection interval to 10 seconds (10000 milliseconds).
<Sysname> system-view [Sysname] oam errored-frame-period period 10000
Related commands
oam errored-frame-period threshold
display oam link-event
display oam configuration

oam errored-frame-period threshold

Use oam errored-frame-period threshold to set the errored frame period event triggering threshold.
Use undo oam errored-frame-period threshold to restore the default.
Syntax
oam errored-frame-period threshold threshold-value undo oam errored-frame-period threshold
Default
The errored frame period event triggering threshold is 1.
Views
System view
Default command level
2: System level
Parameters
threshold-value: Errored frame period event triggering threshold in the range of 0 to 4294967295.
Examples
# Set the errored frame period event triggering threshold to 100.
<Sysname> system-view [Sysname] oam errored-frame-period threshold 100
Related commands
oam errored-frame-period period
display oam link-event
display oam configuration

oam errored-frame-seconds period

Use oam errored-frame-second s period to set the errored frame seconds event detection i nterval. Use undo oam errored-frame-seconds period to restore the default.
Syntax
oam errored-frame-seconds period period-value
16
undo oam errored-frame-seconds period
Default
The errored frame seconds event detection interval is 60 seconds.
Views
System view
Default command level
2: System level
Parameters
period-value: Errored frame seconds event detection interval in the rang e of 10 t o 900 (in se cond s).
Examples
# Set the errored frame seconds event detection interval to 100 seconds.
<Sysname> system-view [Sysname] oam errored-frame-seconds period 100
Related commands
oam errored-frame-seconds threshold
display oam link-event
display oam configuration

oam errored-frame-seconds threshold

Use oam errored-frame-seconds threshold to set the errored frame seconds event triggering threshold.
Use undo oam errored-frame-seconds threshold to restore the default.
Syntax
oam errored-frame-seconds threshold threshold-value undo oam errored-frame-seconds threshold
Default
The errored frame seconds event triggering threshold is 1.
Views
System view
Default command level
2: System level
Parameters
threshold-value: Errored frame seconds event triggering threshold in the range of 0 to 900.
Examples
# Set the errored frame seconds event triggering threshold to 100.
<Sysname> system-view [Sysname] oam errored-frame-seconds threshold 100
Related commands
oam errored-frame-seconds period
display oam link-event
17
display oam configuration

oam errored-symbol period

Use oam errored-symbol period to set the errored symbol event detection interval. Use undo oam errored-symbol period to restore the default.
Syntax
oam errored-symbol period period-value undo oam errored-symbol period
Default
The errored symbol event detection interval is one second.
Views
System view
Default command level
2: System level
Parameters
period-value: Errored symbol event detection interval in the range of 1 to 60 (in seconds).
Examples
# Set the errored symbol event detection interval to 10 seconds.
<Sysname> system-view [Sysname] oam errored-symbol period 10
Related commands
oam errored-symbol threshold
display oam link-event
display oam configuration

oam errored-symbol threshold

Use oam errored-symbol threshold to set the errored symbol event triggering threshold. Use undo oam errored-symbol threshold to restore the default.
Syntax
oam errored-symbol threshold threshold-value undo oam errored-symbol threshold
Default
The errored symbol event triggering threshold is 1.
Views
System view
Default command level
2: System level
Parameters
threshold-value: Errored symbol event triggering threshold in the range of 0 to 4,294,967,295.
18
Examples
# Set the errored symbol event triggering threshold to 100.
<Sysname> system-view [Sysname] oam errored-symbol threshold 100
Related commands
oam errored-symbol period
display oam link-event
display oam configuration

oam loopback

Use oam loopback to enable Ethernet OAM remote loopback on the specified Ethernet port. Use undo oam loopback to disable Ethernet OAM remote loopback on the Ethernet port.
Syntax
oam loopback undo oam loopback
Default
Ethernet OAM remote loopback is disabled on the Ethernet port.
Views
Layer 2 Ethernet port view
Default command level
2: System level
Usage guidelines
Ethernet OAM remote loopback is available only after the Ethernet OAM connection is established and can be performed only by the Ethernet OAM entities operating in active Ethernet OAM mode.
Examples
# Configure the active Ethernet OAM mode and enable Ethernet OAM on GigabitEthernet 3/0/1, and then enable Ethernet OAM remote loopback on GigabitEthernet 3/0/1 in Layer 2 Ethernet port view.
<Sysname> system-view [Sysname] interface gigabitethernet 3/0/1 [Sysname-GigabitEthernet3/0/1] oam mode active [Sysname-GigabitEthernet3/0/1] oam enable [Sysname-GigabitEthernet3/0/1] oam loopback
Related commands
oam enable
oam loopback interface (system view)
oam loopback interface (user view)
oam mode

oam loopback interface (system view)

Use oam loopback interface to enable Ethernet OAM remote loopback on an Ethernet port in system view.
19
Use undo oam loopback interface to disable Ethernet OAM remote loopback on an Ethernet port in system view.
Syntax
oam loopback interface interface-type interface-number undo oam loopback interface interface-type interface-number
Default
Ethernet OAM remote loopback is disabled on an Ethernet port.
Views
System view
Default command level
2: System level
Parameters
interface-type interface-number: Specifies a port by its type and number.
Usage guidelines
Ethernet OAM remote loopback is available only after the Ethernet OAM connection is established and can be performed only by the Ethernet OAM entities operating in active Ethernet OAM mode.
Examples
# Configure the active Ethernet OAM mode and enable Ethernet OAM on GigabitEthernet 3/0/1, and then enable Ethernet OAM remote loopback on GigabitEthernet 3/0/1 in system view.
<Sysname> system-view [Sysname] interface gigabitethernet 3/0/1 [Sysname-GigabitEthernet3/0/1] oam mode active [Sysname-GigabitEthernet3/0/1] oam enable [Sysname-GigabitEthernet3/0/1] quit [Sysname] oam loopback interface gigabitethernet 3/0/1
Related commands
oam enable
oam loopback
oam loopback interface (user view)
oam mode

oam loopback interface (user view)

Use oam loopback interface to enable Ethernet OAM remote loopback on an Ethernet port in use r view.
Use undo oam loopback interface to disable Ethernet OAM remote loopback on an Ethernet port in user view.
Syntax
Default
oam loopback interface interface-type interface-number undo oam loopback interface interface-type interface-number
Ethernet OAM remote loopback is disabled on an Ethernet port.
20
Views
User view
Default command level
1: Monitor level
Parameters
interface-type interface-number: Specifies a port by its type and number.
Usage guidelines
Ethernet OAM remote loopback is available only after the Ethernet OAM connection is established and can be performed only by the Ethernet OAM entities operating in active Ethernet OAM mode.
Examples
# Configure the active Ethernet OAM mode and enable Ethernet OAM on GigabitEthernet 3/0/1, and then enable Ethernet OAM remote loopback on GigabitEthernet 3/0/1 in user view.
<Sysname> system-view [Sysname] interface gigabitethernet 3/0/1 [Sysname-GigabitEthernet3/0/1] oam mode active [Sysname-GigabitEthernet3/0/1] oam enable [Sysname-GigabitEthernet3/0/1] return <Sysname> oam loopback interface gigabitethernet 3/0/1
Related commands
oam enable
oam loopback
oam loopback interface (system view)
oam mode

oam loopback reject-request

Use oam loopback reject-request to configure a port to reject the Ethernet OAM remote loopback request from a remote port.
Use undo oam loopback reject-request to restore the default.
Syntax
oam loopback reject-request undo oam loopback reject-request
Default
A port does not reject the Ethernet OAM remote loopback request from a remote port.
Views
Layer 2 Ethernet port view
Default command level
2: System level
Examples
# Configure GigabitEthernet 3/0/1 to reject the Ethernet OAM remote loopback request from a remote port.
<Sysname> system-view [Sysname] interface gigabitethernet 3/0/1
21
[Sysname-GigabitEthernet3/0/1] oam loopback reject-request

oam mode

Use oam mode to set the Ethernet OAM mode for an Ethernet port. Use undo oam mode to restore the default.
Syntax
oam mode { active | passive } undo oam mode
Default
An Ethernet OAM-enabled Ethernet port operates in the active Ethernet OAM mode.
Views
Layer 2 Ethernet port view
Default command level
2: System level
Parameters
active: Specifies the active Ethernet OAM mode. passive: Specifies the passive Ethernet OAM mode.
Usage guidelines
To change the Ethernet OAM mode of an Ethernet OAM-enabled Ethernet port, you need to disable Ethernet OAM on the port first.
Examples
# Disable Ethernet OAM on GigabitEthernet 3/0/1, and then configure GigabitEthernet 3/0/1 to operate in passive Ethernet OAM mode.
<Sysname> system-view [Sysname] interface gigabitethernet 3/0/1 [Sysname-GigabitEthernet3/0/1] undo oam enable [Sysname-GigabitEthernet3/0/1] oam mode passive
Related commands
oam enable

oam timer hello

Use oam timer hello to configure the Ethernet OAM handshake packet transmission interval. Use undo oam timer hello to restore the default.
Syntax
Default
oam timer hello interval undo oam timer hello
The Ethernet OAM handshake packet transmission interval is 1000 milliseconds.
22
Views
System view
Default command level
2: System level
Parameters
interval: Ethernet OAM handshake packet transmission interva in the range of 500 to 5000 milliseconds. The value of this argument must be a multiple of 100.
Usage guidelines
After the timeout timer for an Ethernet OAM connection expires, the local OAM entity ages out its connection with the peer OAM entity, causing the OAM connection to be disconnected. Hewlett Packard Enterprise recommends setting the connection timeout timer at least five times the handshake packet transmission interval, ensuring the stability of Ethernet OAM conne ction s.
Examples
# Set the Ethernet OAM handshake packet transmission interval to 600 milliseconds—assume that the Ethernet OAM connection timeout timer is 5000 milliseconds.
<Sysname> system-view [Sysname] oam timer hello 600
Related commands
oam timer keepalive
display oam configuration

oam timer keepalive

Use oam timer keepalive to configure the Ethernet OAM connection timeout timer. Use undo oam timer keepalive to restore the default.
Syntax
oam timer keepalive interval undo oam timer keepalive
Default
The Ethernet OAM connection timeout timer is 5000 milliseconds.
Views
System view
Default command level
2: System level
Parameters
interval: Ethernet OAM connection timeout timer in the range of 1000 to 25000 milliseconds. The value of this argument must be a multiple of 100.
Usage guidelines
After the timeout timer for an Ethernet OAM connection expires, the local OAM entity ages out its connection with the peer OAM entity, causing the OAM connection to be disconnected. Hewlett Packard Enterprise recommends setting the connection timeout timer at least five times the handshake packet transmission interval, ensuring the stability of Ethernet OAM conne ction s.
23
Examples
# Set the Ethernet OAM connection timeout timer to 6000 milliseconds—assume that the Ethernet OAM handshake packet transmission interval is 1000 milliseconds.
<Sysname> system-view [Sysname] oam timer keepalive 6000
Related commands
oam timer hello
display oam configuration

reset oam

Use reset oam to clear the statistics on Ethernet OAM packets and Ethernet OAM link error events of an Ethernet port.
Syntax
reset oam [ interface interface-type interface-number ]
Views
User view
Default command level
2: System level
Parameters
interface interface-type interface-number: Specifies a port by its type and number.
Usage guidelines
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.
Examples
# Clear the statistics on Ethernet OAM packets and Ethernet OAM link error events of all the ports.
<Sysname> reset oam
Related commands
display oam
display oam link-event
24
Loading...
+ 172 hidden pages