HPE JQ042A Configuration Guide

Category
Networking
Type
Configuration Guide

This manual is also suitable for

HPE FlexFabric 5940 Switch Series
High Availability Configuration Guide
Software version: Release 671x and later
Document version: 6W100-20230822
© Copyright 2023 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.
Confidential computer software. Valid 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 Technical 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 either registered trademarks or trademarks of Microsoft Corporation in the
United States and/or other countries.
Adobe® and Acrobat® are trademarks of Adobe Systems Incorporated.
Java and Oracle are registered trademarks of Oracle and/or its affiliates.
UNIX® is a registered trademark of The Open Group.
i
Contents
Configuring Ethernet OAM ············································································· 1
About Ethernet OAM ·········································································································································· 1
Major functions of Ethernet OAM ··············································································································· 1
Ethernet OAMPDUs ··································································································································· 1
How Ethernet OAM works ·························································································································· 1
Protocols and standards ···························································································································· 3
Restrictions and guidelines: Ethernet OAM configuration ·················································································· 3
Ethernet OAM tasks at a glance ························································································································ 4
Configuring basic Ethernet OAM functions ········································································································ 4
Configuring the Ethernet OAM connection detection timers ·············································································· 5
About the Ethernet OAM connection detection timers ··············································································· 5
Restrictions and guidelines for configuring Ethernet OAM connection detection timers ···························· 5
Configuring the Ethernet OAM connection detection timers globally ························································· 5
Configuring the Ethernet OAM connection detection timers on a port ······················································· 5
Configuring errored symbol event detection ······································································································ 6
Restrictions and guidelines for configuring errored symbol event detection ·············································· 6
Configuring errored symbol event detection globally ················································································· 6
Configuring errored symbol event detection on a port ··············································································· 6
Configuring errored frame event detection········································································································· 7
Restrictions and guidelines for configuring errored frame event detection ················································ 7
Configuring errored frame event detection globally ··················································································· 7
Configuring errored frame event detection on a port ················································································· 7
Configuring errored frame period event detection ····························································································· 7
Restrictions and guidelines for configuring errored frame period event detection ····································· 7
Configuring errored frame period event detection globally ········································································ 7
Configuring errored frame period event detection on a port ······································································ 8
Configuring errored frame seconds event detection ·························································································· 8
Restrictions and guidelines for configuring errored frame seconds event detection ·································· 8
Configuring errored frame seconds event detection globally ····································································· 8
Configuring errored frame seconds event detection on a port ··································································· 9
Configuring the action a port takes after it receives an Ethernet OAM event from the remote end ··················· 9
Enabling Ethernet OAM remote loopback for a port ·························································································· 9
About Ethernet OAM remote loopback ······································································································ 9
Restrictions and guidelines for enabling Ethernet OAM remote loopback ··············································· 10
Enabling Ethernet OAM remote loopback for a port in system view ························································ 10
Enabling Ethernet OAM remote loopback for a port in interface view ······················································ 10
Rejecting the Ethernet OAM remote loopback request from a remote port ····················································· 11
Display and maintenance commands for Ethernet OAM ················································································· 11
Ethernet OAM configuration examples ············································································································ 12
Example: Configuring Ethernet OAM ······································································································· 12
Configuring CFD ·························································································· 14
About CFD ······················································································································································· 14
Basic CFD concepts ································································································································· 14
CFD levels ················································································································································ 14
Packet processing of MPs ························································································································ 17
CFD functions ·········································································································································· 17
EAIS ························································································································································· 18
Port collaboration ····································································································································· 18
Collaboration between CFD and Track ···································································································· 19
Protocols and standards ·························································································································· 19
Restrictions and guidelines: CFD configuration ······························································································· 19
CFD tasks at a glance ······································································································································ 20
Prerequisites for CFD······································································································································· 20
Configuring basic CFD settings ······················································································································· 21
Enabling CFD ··········································································································································· 21
Configuring service instances ·················································································································· 21
ii
Configuring MEPs ···································································································································· 21
Configuring MIP auto-generation rules ···································································································· 22
Configuring CFD functions ······························································································································· 22
Configuring CC ········································································································································· 22
Configuring LB ········································································································································· 24
Configuring LT ·········································································································································· 24
Configuring AIS ········································································································································ 24
Configuring LM ········································································································································· 25
Configuring one-way DM ·························································································································· 25
Configuring two-way DM ·························································································································· 26
Configuring TST ······································································································································· 26
Configuring EAIS·············································································································································· 26
Configuring port collaboration ·························································································································· 27
Display and maintenance commands for CFD ································································································ 27
CFD configuration examples ···························································································································· 28
Example: Configuring CFD ······················································································································ 28
Configuring DLDP ························································································ 34
About DLDP ····················································································································································· 34
Application scenario ································································································································· 34
Basic concepts ········································································································································· 35
How DLDP works ····································································································································· 36
Restrictions and guidelines: DLDP configuration ····························································································· 38
DLDP tasks at a glance···································································································································· 38
Enabling DLDP················································································································································· 38
Setting the interval to send advertisement packets ························································································· 39
Setting the DelayDown timer···························································································································· 39
Setting the port shutdown mode ······················································································································ 40
Configuring DLDP authentication ····················································································································· 41
Display and maintenance commands for DLDP ······························································································ 41
DLDP configuration examples ························································································································· 41
Example: Configuring the auto port shutdown mode ··············································································· 41
Example: Configuring the manual port shutdown mode ·········································································· 45
Example: Configuring the hybrid port shutdown mode ············································································ 49
Configuring RRPP ······················································································· 53
About RRPP ····················································································································································· 53
RRPP networking ····································································································································· 53
RRPPDUs ················································································································································ 55
RRPP timers ············································································································································ 56
How RRPP works ····································································································································· 57
Typical RRPP networking ························································································································ 59
Protocols and standards ·························································································································· 63
Restrictions and guidelines: RRPP configuration····························································································· 63
RRPP tasks at a glance ··································································································································· 63
Prerequisites for RRPP ···································································································································· 64
Creating an RRPP domain ······························································································································· 64
Configuring control VLANs ······························································································································· 64
Configuring protected VLANs ·························································································································· 65
Configuring RRPP rings ··································································································································· 65
Prerequisites ············································································································································ 65
Configuring RRPP ports ··························································································································· 65
Configuring RRPP nodes ························································································································· 66
Activating an RRPP domain ····························································································································· 67
Configuring RRPP timers ································································································································· 68
Restrictions and guidelines for RRPP timer configuration ······································································· 68
Configuring the Hello timer and Fail timer ································································································ 68
Configuring the link-up delay timer ··········································································································· 68
Configuring RRPP fast detection ····················································································································· 69
Enabling fast detection ····························································································································· 69
Configuring fast detection timers ·············································································································· 69
Configuring an RRPP ring group······················································································································ 70
iii
Enabling SNMP notifications for RRPP············································································································ 71
Display and maintenance commands for RRPP ······························································································ 71
RRPP configuration examples ························································································································· 71
Example: Configuring a single ring ·········································································································· 71
Example: Configuring intersecting rings··································································································· 74
Example: Configuring load-balanced intersecting rings ··········································································· 80
Example: Configuring fast detection ········································································································ 91
Troubleshooting RRPP ···································································································································· 94
The primary node cannot receive Hello packets when the link state is normal········································ 94
Configuring ERPS························································································ 96
About ERPS ····················································································································································· 96
ERPS structure ········································································································································ 96
Instances ·················································································································································· 97
ERPS protocol packets ···························································································································· 97
ERPS node states ···································································································································· 98
ERPS timers ············································································································································· 98
ERPS operation mechanism ···················································································································· 99
ERPS network diagrams ························································································································ 101
Protocols and standards ························································································································ 104
Restrictions and guidelines: ERPS configuration ··························································································· 104
ERPS tasks at a glance ································································································································· 104
Prerequisites ·················································································································································· 105
Enabling ERPS globally ································································································································· 105
Configuring an ERPS ring ······························································································································ 105
Creating an ERPS ring ··························································································································· 105
Configuring ERPS ring member ports ···································································································· 106
Configuring control VLANs ····················································································································· 107
Configuring protected VLANs················································································································· 107
Configuring the node role ······················································································································· 108
Enabling ERPS for an instance ······················································································································ 108
Enabling R-APS packets to carry the ring ID in the destination MAC address ·············································· 109
Configuring R-APS packet levels ··················································································································· 109
Setting ERPS timers ······································································································································ 110
Setting the non-revertive mode ······················································································································ 110
Setting a switchover mode ····························································································································· 110
Associating a ring with a subring···················································································································· 111
Enabling flush packet transparent transmission ···························································································· 111
Associating an ERPS ring member port with a track entry ············································································ 112
Removing the MS mode and FS mode settings for an ERPS ring································································· 112
Displaying and maintaining ERPS ················································································································· 112
ERPS configuration examples ······················································································································· 113
Example: Configuring one ring ··············································································································· 113
Example: Configuring one subring ········································································································· 121
Example: Configuring one-ring multi-instance load balancing ······························································· 135
Troubleshooting ERPS··································································································································· 145
The owner node cannot receive SF packets from a faulty node when the link state is normal·············· 145
Configuring Smart Link ·············································································· 147
About Smart Link············································································································································ 147
Application scenario ······························································································································· 147
Terminology ··········································································································································· 148
How Smart Link works ··························································································································· 148
Collaboration between Smart Link and Monitor Link for port status detection ······································· 149
Collaboration between Smart Link and Track for link status detection ·················································· 149
Restrictions and guidelines: Smart Link configuration ··················································································· 150
Smart Link tasks at a glance ·························································································································· 150
Configuring a Smart Link device ···················································································································· 150
Prerequisites for Smart Link device configuration ·················································································· 150
Configuring protected VLANs for a smart link group ·············································································· 150
Configuring member ports for a smart link group ··················································································· 151
Configuring a preemption mode for a smart link group ·········································································· 151
iv
Enabling the sending of flush messages································································································ 152
Configuring collaboration between Smart Link and Track······································································ 152
Enabling an associated device to receive flush messages ············································································ 152
Display and maintenance commands for Smart Link ····················································································· 153
Smart Link configuration examples ················································································································ 153
Example: Configuring a single smart link group ····················································································· 153
Example: Configuring multiple smart link groups load sharing ······························································ 158
Example: Configuring Smart Link and Track collaboration ···································································· 162
Configuring Monitor Link ············································································ 169
About Monitor Link ········································································································································· 169
Restrictions and guidelines: Monitor Link configuration ················································································· 170
Monitor Link tasks at a glance························································································································ 170
Enabling Monitor Link globally ······················································································································· 170
Creating a monitor link group ························································································································· 170
Configuring monitor link group member interfaces ························································································ 171
Restrictions and guidelines ···················································································································· 171
Configuring monitor link group member interfaces in monitor link group view ······································· 171
Configuring monitor link group member interfaces in interface view ······················································ 171
Configuring the uplink interface threshold for triggering monitor link group state switchover ························ 172
Configuring the switchover delay for the downlink interfaces in a monitor link group ···································· 172
Display and maintenance commands for Monitor Link ·················································································· 172
Monitor Link configuration examples·············································································································· 172
Example: Configuring Monitor Link ········································································································ 172
Configuring VRRP ····················································································· 177
About VRRP ··················································································································································· 177
VRRP group ··················································································································································· 177
VRRP standard mode ···································································································································· 178
VRRP networking ··································································································································· 178
Virtual IP address and IP address owner ······························································································· 178
Router priority in a VRRP group ············································································································· 178
Preemption ············································································································································· 179
Authentication method ··························································································································· 179
VRRP timers ·········································································································································· 179
Master election ······································································································································· 180
VRRP tracking ········································································································································ 180
VRRP application ··································································································································· 181
VRRP load balancing mode ··························································································································· 182
Virtual MAC address assignment ··········································································································· 182
Virtual forwarder ····································································································································· 184
Protocols and standards ································································································································ 186
Restrictions: Hardware compatibility with VRRP···························································································· 186
Configuring IPv4 VRRP·································································································································· 186
Restrictions and guidelines: IPv4 VRRP configuration ·········································································· 186
IPv4 VRRP tasks at a glance ················································································································· 187
Specifying an IPv4 VRRP operating mode ···························································································· 187
Specifying the IPv4 VRRP version ········································································································· 187
Configuring an IPv4 VRRP group ·········································································································· 188
Specifying an IPv4 VRRP control VLAN ································································································ 190
Configuring IPv4 VRRP packet attributes ······························································································ 191
Configuring VF tracking ·························································································································· 192
Setting the packet sending mode for IPv4 VRRPv3 ··············································································· 193
Enabling periodic sending of gratuitous ARP packets for IPv4 VRRP ··················································· 193
Configuring a subordinate IPv4 VRRP group to follow a master IPv4 VRRP group ······························ 194
Setting the state transition delay timer for an IPv4 VRRP group ··························································· 195
Enabling SNMP notifications for VRRP ·································································································· 195
Enabling the isolation mode for IPv4 VRRP··························································································· 196
Display and maintenance commands for IPv4 VRRP ············································································ 196
Configuring IPv6 VRRP·································································································································· 196
Restrictions and guidelines: IPv6 VRRP configuration ·········································································· 196
IPv6 VRRP tasks at a glance ················································································································· 197
v
Specifying an IPv6 VRRP operating mode ···························································································· 197
Configuring an IPv6 VRRP group ·········································································································· 197
Specifying an IPv6 VRRP control VLAN ································································································ 199
Configuring VF tracking ·························································································································· 201
Configuring IPv6 VRRP packet attributes ······························································································ 201
Enabling periodic sending of ND packets for IPv6 VRRP ······································································ 202
Configuring a subordinate IPv6 VRRP group to follow a master IPv6 VRRP group ······························ 202
Setting the state transition delay timer for an IPv6 VRRP group ··························································· 203
Enabling the isolation mode for IPv6 VRRP··························································································· 204
Display and maintenance commands for IPv6 VRRP ············································································ 204
IPv4 VRRP configuration examples ··············································································································· 205
Example: Configuring a single VRRP group ·························································································· 205
Example: Configuring multiple VRRP groups ························································································ 208
Example: Configuring VRRP load balancing·························································································· 210
IPv6 VRRP configuration examples ··············································································································· 219
Example: Configuring a single VRRP group ·························································································· 219
Example: Configuring multiple VRRP groups ························································································ 222
Example: Configuring VRRP load balancing·························································································· 225
Troubleshooting VRRP ·································································································································· 233
An error prompt is displayed ·················································································································· 233
Multiple masters appear in a VRRP group ····························································································· 234
Fast VRRP state flapping ······················································································································· 234
Configuring BFD ························································································ 235
About BFD······················································································································································ 235
Mechanism ····················································································································································· 235
Single-hop detection and multihop detection ························································································· 236
BFD session modes ······························································································································· 236
Hardware BFD ······································································································································· 237
Supported features ································································································································· 237
Protocols and standards ························································································································ 238
Restrictions and guidelines: BFD configuration ····························································································· 238
BFD tasks at a glance ···································································································································· 238
Configuring BFD sessions in echo packet mode ··························································································· 239
About BFD session creation methods ···································································································· 239
Restrictions and guidelines ···················································································································· 239
Creating a static BFD session ················································································································ 239
Configuring detection time settings ········································································································ 241
Configuring BFD sessions in control packet mode ························································································ 242
About BFD session creation methods ···································································································· 242
Restrictions and guidelines ···················································································································· 242
Configuring the session establishment mode ························································································ 242
Configuring the detection mode ············································································································· 243
Creating a static BFD session ················································································································ 243
Configuring detection time settings ········································································································ 244
Configuring the authentication mode ····································································································· 246
Configuring the destination port number for multihop BFD control packets ··········································· 246
Configuring the notification delay timer for session establishment failures ············································ 247
Enabling the echo function ····················································································································· 247
Associating the interface state with BFD ································································································ 248
Configuring the TTL value for BFD packets ··························································································· 249
Configuring BFD session flapping suppression ····························································································· 249
Configuring a BFD template ··························································································································· 250
Enabling SNMP notifications for BFD ············································································································ 251
Display and maintenance commands for BFD ······························································································· 251
Configuring SBFD ······················································································ 253
About SBFD ··················································································································································· 253
Restrictions and guidelines: SBFD configuration ··························································································· 253
SBFD tasks at a glance·································································································································· 253
Configuring the initiator ·································································································································· 254
Restrictions and guidelines ···················································································································· 254
vi
Configuring the initiator for LDP LSP detection······················································································ 254
Configuring the initiator for MPLS TE tunnel detection ·········································································· 255
Configuring the reflector ································································································································· 256
Configuring a BFD template ··························································································································· 256
Display and maintenance commands for SBFD ···························································································· 256
Configuring Track ······················································································ 257
About Track ···················································································································································· 257
Collaboration mechanism ······················································································································· 257
Supported detection modules ················································································································ 258
Supported application modules ·············································································································· 258
Restrictions and guidelines: Track configuration···························································································· 258
Collaboration application example ················································································································· 259
Track tasks at a glance ·································································································································· 259
Associating the Track module with a detection module ················································································· 260
Associating Track with NQA ··················································································································· 260
Associating Track with BFD ··················································································································· 260
Associating Track with CFD ··················································································································· 261
Associating Track with interface management······················································································· 262
Associating Track with route management ···························································································· 263
Associating Track with LLDP ················································································································· 263
Associating Track with DRNI MAD state ································································································ 264
Associating Track with a tracked list ·············································································································· 264
Associating Track with a Boolean list ····································································································· 264
Associating Track with a percentage threshold list ················································································ 265
Associating Track with a weight threshold list ························································································ 265
Associating the Track module with an application module············································································· 266
Prerequisites for associating the Track module with an application module ····································· 266
Associating Track with VRRP ················································································································ 266
Associating Track with static routing ······································································································ 268
Associating Track with PBR ··················································································································· 269
Associating Track with Smart Link ········································································································· 271
Associating Track with VPLS ················································································································· 272
Associating Track with VXLAN ··············································································································· 272
Associating Track with MPLS L2VPN ···································································································· 273
Associating Track with EAA ··················································································································· 274
Associating Track with ERPS ················································································································· 274
Display and maintenance commands for Track ····························································································· 275
Track configuration examples ························································································································ 275
Example: Configuring VRRP-Track-NQA collaboration ········································································· 275
Example: Configuring an echo-mode BFD session for a VRRP backup to monitor the master············· 279
Example: Configuring a control-mode BFD session for a VRRP backup to monitor the master············ 282
Example: Configuring an echo-mode BFD session for the VRRP master to monitor the uplink ············ 285
Example: Configuring a control-mode BFD session for the VRRP master to monitor the uplink ··········· 288
Example: Configuring static routing-Track-NQA collaboration ······························································· 292
Example: Configuring static routing-Track-BFD (echo mode) collaboration ·········································· 296
Example: Configuring static routing-Track-BFD (control mode) collaboration ······································· 300
Example: Configuring VRRP-Track-interface management collaboration ············································· 303
Example: Configuring VRRP-Track-route management collaboration ··················································· 306
Example: Configuring static routing-Track-LLDP collaboration······························································ 309
Example: Configuring Smart Link-Track-CFD collaboration ·································································· 312
Configuring process placement ································································· 313
About process placement······························································································································· 313
Process ·················································································································································· 313
Node ······················································································································································· 313
Process redundancy ······························································································································ 313
Process placement ································································································································· 313
Default process placement policy ·········································································································· 313
Process placement affinities ·················································································································· 314
Process placement optimization ············································································································ 314
Restrictions and guidelines: process placement configuration ······································································ 314
vii
Process placement tasks at a glance············································································································· 315
Configuring process placement policy ··········································································································· 315
Configuring a location affinity ················································································································· 315
Configuring a location type affinity ········································································································· 315
Configuring a process affinity ················································································································· 316
Configuring a self affinity ························································································································ 316
Optimizing process placement ······················································································································· 317
Display and maintenance commands for process placement ········································································ 317
Document conventions and icons ······························································ 318
Conventions ··················································································································································· 318
Network topology icons ·································································································································· 319
Support and other resources ····································································· 320
Accessing Hewlett Packard Enterprise Support····························································································· 320
Accessing updates ········································································································································· 320
Websites ················································································································································ 321
Customer self repair ······························································································································· 321
Remote support ······································································································································ 321
Documentation feedback ······················································································································· 321
Index ·········································································································· 323
1
Configuring Ethernet OAM
About Ethernet OAM
Ethernet Operation, Administration, and Maintenance (OAM) is a tool that monitors Layer 2 link
status and addresses common link-related issues on the "last mile." Ethernet OAM improves
Ethernet management and maintainability. You can use it to monitor the status of the point-to-point
link between two directly connected devices.
Major functions of Ethernet OAM
Ethernet OAM provides the following functions:
•
Link performance monitoring—Monitors the performance indices of a link, including packet
loss, delay, and jitter, and collects traffic statistics of various types.
•
Fault detection and alarm—Checks the connectivity of a link by sending OAM protocol data
units (OAMPDUs) and reports to the network administrators when a link error occurs.
•
Remote loopback—Checks link quality and locates link errors by looping back OAMPDUs.
Ethernet OAMPDUs
Ethernet OAM operates on the data link layer. Ethernet OAM reports the link status by periodically
exchanging OAMPDUs between devices, so that the administrator can effectively manage the
network.
Ethernet OAMPDUs include the following types shown in Table 1.
Table 1 Functions of different types of OAMPDUs
OAMPDU type
Function
Information OAMPDU
Used for transmitting state information of an Ethernet OAM entity, including the
information about the local device and remote devices, and customized
information, to the remote Ethernet OAM entity, and maintaining OAM
connections.
Event Notification
OAMPDU Used by link monitoring to notify the remote OAM entity when it detects problems
on the link in between.
Loopback Control
OAMPDU
Used for remote loopback control. By inserting the information used to
enable/disable loopback to a loopback control OAMPDU, you can enable/disable
loopback on a remote OAM entity.
NOTE:
Throughout this document, an Ethernet OAM
-enabled port is called an Ethernet OAM entity or an
OAM entity.
How Ethernet OAM works
This section describes the working procedures of Ethernet OAM.
Ethernet OAM connection establishment
OAM connection establishment is also known as the Discovery phase, where an Ethernet OAM
entity discovers the remote OAM entity to establish a session.
2
In this phase, two connected OAM entities exchange Information OAMPDUs to advertise their OAM
configuration and capabilities to each other for a comparison. If their Loopback, link detection, and
link event settings match, the OAM entities establish an OAM connection.
An OAM entity operates in active mode or passive mode. OAM entities in active mode initiate OAM
connections, and OAM entities in passive mode wait and respond to the OAM connection requests.
To set up an OAM connection between two OAM entities, you must set at least one entity to operate
in active mode.
Table 2 shows the actions that a device can perform in different modes.
Table 2 Active Ethernet OAM mode and passive Ethernet OAM mode
Item Active Ethernet OAM mode Passive Ethernet OAM
mode
Initiating OAM Discovery Available Unavailable
Responding to OAM Discovery Available Available
Transmitting Information
OAMPDUs Available Available
Transmitting Event Notification
OAMPDUs Available Available
Transmitting Information
OAMPDUs without any TLV Available Available
Transmitting Loopback Control
OAMPDUs Available Unavailable
Responding to Loopback Control
OAMPDUs Available Available
After an Ethernet OAM connection is established, the Ethernet OAM entities exchange Information
OAMPDUs at the handshake packet transmission interval to detect the availability of the Ethernet
OAM connection. If an Ethernet OAM entity receives no Information OAMPDU within the Ethernet
OAM connection timeout time, the Ethernet OAM connection is considered disconnected.
Link monitoring
Error detection in an Ethernet is difficult, especially when the physical connection in the network is
not disconnected, but network performance is degrading gradually.
Link monitoring detects link faults in various environments. Ethernet OAM entities monitor link status
by exchanging Event Notification OAMPDUs. When detecting one of the link error events listed in
Table 3, an OAM entity sends an Event Notification OAMPDU to its peer OAM entity. The network
administrator can keep track of network status changes by retrieving the log.
Table 3 Ethernet OAM link error events
Ethernet OAM link events
Errored symbol event An errored symbol event occurs when the number of detected symbol
errors in the detection window (specified number of received symbols)
exceeds the predefined threshold.
Errored frame event
in the detection window (specified detection interval) exceeds the
predefined threshold.
Errored frame period event An errored frame period event occurs when the number of frame errors in
the detection window (specified number of received frames) exceeds the
predefined threshold.
3
Ethernet OAM link events
Errored frame seconds event
An errored frame seconds event occurs when the number of errored
frame seconds (the second in which an errored frame appears is called an
errored frame second) detected on a port in the detection window
(specified detection interval) reaches the predefined threshold.
Remote fault detection
Information OAMPDUs are exchanged periodically among Ethernet OAM entities across established
OAM connections. When traffic is interrupted due to device failure or unavailability, the Ethernet
OAM entity at the faulty end sends error information to its peer. The Ethernet OAM entity uses the
flag field in Information OAMPDUs to indicate the error information (any critical link event type as
shown in Table 4). You can use the log information to track ongoing link status and troubleshoot
problems promptly.
Table 4 Critical link events
Type Description OAMPDU transmission
frequencies
Link Fault IPL signal is lost. Once per second.
Dying Gasp An unexpected fault, such as power failure,
occurred. Non-stop.
Critical Event An undetermined critical event happened. Non-stop.
Remote loopback
Remote loopback is available only after the Ethernet OAM connection is established. With remote
loopback enabled, the Ethernet OAM entity in active mode sends non-OAMPDUs to its peer. After
receiving these frames, the peer does not forward them according to their destination addresses.
Instead, it returns them to the sender along the original path.
Remote loopback enables you to check the link status and locate link failures. Performing remote
loopback periodically helps to detect network faults promptly. Furthermore, performing remote
loopback by network segments helps to locate network faults.
Protocols and standards
IEEE 802.3ah, Carrier Sense Multiple Access with Collision Detection (CSMA/CD) Access Method
and Physical Layer Specifications
Restrictions and guidelines: Ethernet OAM
configuration
The device's support for sending and receiving Information OAMPDUs carrying critical link events is
as follows:
•
Can receive Information OAMPDUs carrying the critical link events listed in Table 4.
•
Cannot send Information OAMPDUs carrying Link Fault events.
•
Can send Information OAMPDUs carrying Dying Gasp events when the device is rebooted or
relevant ports are manually shut down. Physical IRF ports, however, are unable to send this
type of OAMPDUs.
•
Cannot send Information OAMPDUs carrying Critical Events.
4
Ethernet OAM tasks at a glance
To configure Ethernet OAM, perform the following tasks:
1. Configuring basic Ethernet OAM functions
2. (Optional.) Configuring the Ethernet OAM connection detection timers
3. (Optional.) Configuring link event detection
ï‚¡ Configuring errored symbol event detection
ï‚¡ Configuring errored frame event detection
ï‚¡ Configuring errored frame period event detection
ï‚¡ Configuring errored frame seconds event detection
4. (Optional.) Configuring the action a port takes after it receives an Ethernet OAM event from the
remote end
5. (Optional.) Configuring Ethernet OAM remote loopback
ï‚¡ Enabling Ethernet OAM remote loopback for a port
ï‚¡ Rejecting the Ethernet OAM remote loopback request from a remote port
Configuring basic Ethernet OAM functions
About this task
To set up an Ethernet OAM connection between two Ethernet OAM entities, you must set at least
one entity to operate in active mode. An Ethernet OAM entity can initiate OAM connection only in
active mode.
Restrictions and guidelines
To change the Ethernet OAM mode on an Ethernet OAM-enabled port, first disable Ethernet OAM on
the port.
Procedure
1. Enter system view.
System-view
2. Enter Layer 2/Layer 3 Ethernet port view.
interface interface-type interface-number
3. Set the Ethernet OAM mode.
oam mode { active | passive }
The default is active Ethernet OAM mode.
4. Enable Ethernet OAM.
oam enable
Ethernet OAM is disabled by default.
5
Configuring the Ethernet OAM connection
detection timers
About the Ethernet OAM connection detection timers
After an Ethernet OAM connection is established, the Ethernet OAM entities exchange Information
OAMPDUs at the handshake packet transmission interval to detect the availability of the Ethernet
OAM connection. If an Ethernet OAM entity receives no Information OAMPDU within the Ethernet
OAM connection timeout time, the Ethernet OAM connection is considered disconnected.
By adjusting the handshake packet transmission interval and the connection timeout timer, you can
change the detection time resolution for Ethernet OAM connections.
Restrictions and guidelines for configuring Ethernet OAM
connection detection timers
When you configure Ethernet OAM, follow these restrictions and guidelines:
•
You can configure this command in system view or port view. The configuration in system view
takes effect on all ports, and the configuration in port view takes effect on the specified port. For
a port, the configuration in port view takes precedence.
•
After the timeout timer of an Ethernet OAM connection expires, the local OAM entity ages out
and terminates its connection with the peer OAM entity. To keep the Ethernet OAM connections
stable, set the connection timeout timer to be at least five times the handshake packet
transmission interval.
Configuring the Ethernet OAM connection detection timers
globally
1. Enter system view.
System-view
2. Configure the Ethernet OAM handshake packet transmission interval.
oam global timer hello interval
The default is 1000 milliseconds.
3. Configure the Ethernet OAM connection timeout timer.
oam global timer keepalive interval
The default is 5000 milliseconds.
Configuring the Ethernet OAM connection detection timers
on a port
1. Enter system view.
System-view
2. Enter Layer 2/Layer 3 Ethernet port view.
interface interface-type interface-number
3. Configure the Ethernet OAM handshake packet transmission interval.
oam timer hello interval
6
By default, an interface uses the value configured globally.
4. Configure the Ethernet OAM connection timeout timer.
oam timer keepalive interval
By default, an interface uses the value configured globally.
Configuring errored symbol event detection
Restrictions and guidelines for configuring errored symbol
event detection
You can configure this function in system view or port view. The configuration in system view takes
effect on all ports, and the configuration in port view takes effect on the specified port. For a port, the
configuration in port view takes precedence.
Configuring errored symbol event detection globally
1. Enter system view.
system-view
2. Configure the errored symbol event detection window.
oam global errored-symbol-period window window-value
By default, the errored symbol event detection window is 100000000.
3. Configure the errored symbol event triggering threshold.
oam global errored-symbol-period threshold threshold-value
By default, the errored symbol event triggering threshold is 1.
Configuring errored symbol event detection on a port
1. Enter system view.
system-view
2. Enter Layer 2/Layer 3 Ethernet port view.
interface interface-type interface-number
3. Configure the errored symbol event detection window.
oam errored-symbol-period window window-value
By default, an interface uses the value configured globally.
4. Configure the errored symbol event triggering threshold.
oam errored-symbol-period threshold threshold-value
By default, an interface uses the value configured globally.
7
Configuring errored frame event detection
Restrictions and guidelines for configuring errored frame
event detection
You can configure this function in system view or port view. The configuration in system view takes
effect on all ports, and the configuration in port view takes effect on the specified port. For a port, the
configuration in port view takes precedence.
Configuring errored frame event detection globally
1. Enter system view.
system-view
2. Configure the errored frame event detection window.
oam global errored-frame window window-value
By default, the errored frame event detection window is 1000 milliseconds.
3. Configure the errored frame event triggering threshold.
oam global errored-frame threshold threshold-value
By default, the errored frame event triggering threshold is 1.
Configuring errored frame event detection on a port
1. Enter system view.
system-view
2. Enter Layer 2/Layer 3 Ethernet port view.
interface interface-type interface-number
3. Configure the errored frame event detection window.
oam errored-frame window window-value
By default, an interface uses the value configured globally.
4. Configure the errored frame event triggering threshold.
oam errored-frame threshold threshold-value
By default, an interface uses the value configured globally.
Configuring errored frame period event detection
Restrictions and guidelines for configuring errored frame
period event detection
You can configure this function in system view or port view. The configuration in system view takes
effect on all ports, and the configuration in port view takes effect on the specified port. For a port, the
configuration in port view takes precedence.
Configuring errored frame period event detection globally
1. Enter system view.
8
system-view
2. Configure the errored frame period event detection window.
oam global errored-frame-period window window-value
By default, the errored frame period event detection window is 10000000.
3. Configure the errored frame period event triggering threshold.
oam global errored-frame-period threshold threshold-value
By default, the errored frame period event triggering threshold is 1.
Configuring errored frame period event detection on a port
1. Enter system view.
system-view
2. Enter Layer 2/Layer 3 Ethernet port view.
interface interface-type interface-number
3. Configure the errored frame period event detection window.
oam errored-frame-period window window-value
By default, an interface uses the value configured globally.
4. Configure the errored frame period event triggering threshold.
oam errored-frame-period threshold threshold-value
By default, an interface uses the value configured globally.
Configuring errored frame seconds event
detection
Restrictions and guidelines for configuring errored frame
seconds event detection
•
You can configure this function in system view or port view. The configuration in system view
takes effect on all ports, and the configuration in port view takes effect on the specified port. For
a port, the configuration in port view takes precedence.
•
Make sure the errored frame seconds triggering threshold is less than the errored frame
seconds detection window. Otherwise, no errored frame seconds event can be generated.
Configuring errored frame seconds event detection globally
1. Enter system view.
system-view
2. Configure the errored frame seconds event detection window.
oam global errored-frame-seconds window window-value
By default, the errored frame seconds event detection window is 60000 milliseconds.
3. Configure the errored frame seconds event triggering threshold.
oam global errored-frame-seconds threshold threshold-value
By default, the errored frame seconds event triggering threshold is 1.
9
Configuring errored frame seconds event detection on a port
1. Enter system view.
system-view
2. Enter Layer 2/Layer 3 Ethernet port view.
interface interface-type interface-number
3. Configure the errored frame seconds event detection window.
oam errored-frame-seconds window window-value
By default, an interface uses the value configured globally.
4. Configure the errored frame seconds event triggering threshold.
oam errored-frame-seconds threshold threshold-value
By default, an interface uses the value configured globally.
Configuring the action a port takes after it receives
an Ethernet OAM event from the remote end
About this task
This feature enables a port to log events and automatically terminate the OAM connection and set
the link state to down.
Procedure
1. Enter system view.
system-view
2. Enter Layer 2/Layer 3 Ethernet port view.
interface interface-type interface-number
3. Configure the action the port takes after it receives an Ethernet OAM event from the remote
end.
oam remote-failure { connection-expired | critical-event | dying-gasp
| link-fault } action error-link-down
By default, the port only logs the Ethernet OAM event it receives from the remote end.
Enabling Ethernet OAM remote loopback for a
port
CAUTION:
U
se this feature with caution, because enabling Ethernet OAM remote loopback impacts other
services.
About Ethernet OAM remote loopback
When you enable Ethernet OAM remote loopback on a port, the port sends Loopback Control
OAMPDUs to a remote port. After receiving the Loopback Control OAMPDUs, the remote port enters
the loopback state. The remote port then returns any packets sent from the local port except
10
OAMPDUs. By observing how many of these packets return, you can calculate the packet loss ratio
on the link and evaluate the link performance.
Restrictions and guidelines for enabling Ethernet OAM
remote loopback
•
Ethernet OAM remote loopback is available only after the Ethernet OAM connection is
established. It can be performed only by Ethernet OAM entities operating in active Ethernet
OAM mode.
•
Remote loopback is available only on full-duplex links that support remote loopback at both
ends.
•
Ethernet OAM remote loopback must be supported by both the remote port and the sending
port.
•
Enabling Ethernet OAM remote loopback interrupts data communications. After Ethernet OAM
remote loopback is disabled, all the ports involved will go down and then come up. Ethernet
OAM remote loopback can be disabled by any of the following events:
ï‚¡ Disabling Ethernet OAM.
ï‚¡ Disabling Ethernet OAM remote loopback.
ï‚¡ Timeout of the Ethernet OAM connection.
•
Enabling internal loopback test on a port in remote loopback test can terminate the remote
loopback test. For more information about loopback test, see Layer 2—LAN Switching
Configuration Guide.
•
For Ethernet OAM remote loopback to work correctly, do not configure link aggregation
management VLANs. For more information about link aggregation management VLANs, see
Layer 2—LAN Switching Configuration Guide.
•
You can enable Ethernet OAM remote loopback on a specific port in user view, system view, or
Ethernet port view. The configuration effects are the same.
Enabling Ethernet OAM remote loopback for a port in system
view
1. (Optional.) Enter system view.
system-view
You can also perform this task in user view.
2. Enable Ethernet OAM remote loopback for a port.
oam remote-loopback start interface interface-type interface-number
By default, Ethernet OAM remote loopback is disabled.
Enabling Ethernet OAM remote loopback for a port in
interface view
1. Enter system view.
system-view
2. Enter Layer 2/Layer 3 Ethernet port view.
interface interface-type interface-number
3. Enable Ethernet OAM remote loopback on the port.
oam remote-loopback start
11
By default, Ethernet OAM remote loopback is disabled.
Rejecting the Ethernet OAM remote loopback
request from a remote port
About this task
The Ethernet OAM remote loopback feature impacts other services. To solve this problem, you can
disable a port from being controlled by the Loopback Control OAMPDUs sent by a remote port. The
local port then rejects the Ethernet OAM remote loopback request from the remote port.
Restrictions and guidelines
This feature does not affect the ongoing remote loopback test on the port. It takes effect when the
next remote loopback starts on the port.
Procedure
1. Enter system view.
system-view
2. Enter Layer 2/Layer 3 Ethernet port view.
interface interface-type interface-number
3. Reject the Ethernet OAM remote loopback request from a remote port.
oam remote-loopback reject-request
By default, a port does not reject the Ethernet OAM remote loopback request from a remote
port.
Display and maintenance commands for Ethernet
OAM
Execute display commands in any view and reset commands in user view:
Task
Command
Display information about an Ethernet OAM
connection.
display oam
{
local
|
remote
}
[ interface interface-type
interface-number
]
Display Ethernet OAM configuration.
display oam configuration
[ interface interface-type
interface-number
]
Display the statistics on critical events after an
Ethernet OAM connection is established.
display oam critical-event
[ interface interface-type
interface-number
]
Display the statistics on Ethernet OAM link error
events after an Ethernet OAM connection is
established.
display oam link-event
{
local
|
remote } [ interface interface-type
interface-number
]
Clear statistics on Ethernet OAM packets and
Ethernet OAM link error events.
reset oam
[
interface
interface-type interface-number
]
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321
  • Page 322 322
  • Page 323 323
  • Page 324 324
  • Page 325 325
  • Page 326 326
  • Page 327 327
  • Page 328 328
  • Page 329 329
  • Page 330 330
  • Page 331 331
  • Page 332 332
  • Page 333 333
  • Page 334 334
  • Page 335 335
  • Page 336 336
  • Page 337 337
  • Page 338 338
  • Page 339 339
  • Page 340 340
  • Page 341 341
  • Page 342 342
  • Page 343 343
  • Page 344 344
  • Page 345 345
  • Page 346 346
  • Page 347 347
  • Page 348 348
  • Page 349 349
  • Page 350 350
  • Page 351 351
  • Page 352 352
  • Page 353 353
  • Page 354 354
  • Page 355 355
  • Page 356 356
  • Page 357 357
  • Page 358 358
  • Page 359 359

HPE JQ042A Configuration Guide

Category
Networking
Type
Configuration Guide
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI