HPE FlexFabric 12900E Switch Series High Availability Configuration Guide

Category
Software
Type
Configuration Guide
HPE FlexFabric 12900E Switch Series
High Availability Configuration Guide
Software
version: Release 5210
Document version: 6W100-20230424
© 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 ························································································································ 3
Configuring basic Ethernet OAM functions ········································································································ 4
Configuring the Ethernet OAM connection detection timers ·············································································· 4
About the Ethernet OAM connection detection timers ··············································································· 4
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········································································································· 6
Restrictions and guidelines for configuring errored frame event detection ················································ 6
Configuring errored frame event detection globally ··················································································· 6
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 ······································································ 7
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 ··································································· 8
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 ················································· 9
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 ····················································· 10
Verifying and maintaining Ethernet OAM ········································································································· 11
Verifying Ethernet OAM configuration ······································································································ 11
Verifying Ethernet OAM running status ···································································································· 11
Clearing Ethernet OAM statistics ············································································································· 11
Ethernet OAM configuration examples ············································································································ 11
Example: Configuring Ethernet OAM ······································································································· 11
Configuring CFD ·························································································· 14
About CFD ······················································································································································· 14
Basic CFD concepts ································································································································· 14
CFD levels ················································································································································ 14
Packet processing of MPs ························································································································ 16
CFD functions ·········································································································································· 16
Protocols and standards ·························································································································· 17
Restrictions and guidelines: CFD configuration ······························································································· 17
CFD tasks at a glance ······································································································································ 18
Prerequisites for CFD······································································································································· 18
Configuring basic CFD settings ······················································································································· 18
Enabling CFD ··········································································································································· 18
Configuring service instances ·················································································································· 18
ii
Configuring MEPs ···································································································································· 19
Configuring CFD functions ······························································································································· 19
Configuring CC ········································································································································· 19
Configuring one-way LM ·························································································································· 21
Configuring two-way DM ·························································································································· 21
Verifying and maintaining CFD ························································································································ 22
Verifying CFD configuration and running status ······················································································· 22
Displaying and clearing CFD test results ································································································· 23
CFD configuration examples ···························································································································· 23
Example: Configuring CFD in a Layer 2 VPN (L2VPN networking) ························································· 23
Configuring DLDP ························································································ 27
About DLDP ····················································································································································· 27
Application scenario ································································································································· 27
Basic concepts ········································································································································· 28
How DLDP works ····································································································································· 29
Restrictions and guidelines: DLDP configuration ····························································································· 31
DLDP tasks at a glance···································································································································· 32
Enabling DLDP················································································································································· 32
Setting the interval to send advertisement packets ························································································· 32
Setting the DelayDown timer···························································································································· 33
Setting the port shutdown mode ······················································································································ 33
Configuring DLDP authentication ····················································································································· 34
Verifying and maintaining DLDP ······················································································································ 34
Verifying DLDP configuration and running status ···················································································· 34
Displaying and clearing DLDP statistics ··································································································· 34
DLDP configuration examples ························································································································· 35
Example: Configuring the auto port shutdown mode ··············································································· 35
Example: Configuring the manual port shutdown mode ·········································································· 38
Example: Configuring the hybrid port shutdown mode ············································································ 42
Configuring ERPS························································································ 47
About ERPS ····················································································································································· 47
ERPS structure ········································································································································ 47
Instances ·················································································································································· 48
ERPS protocol packets ···························································································································· 48
ERPS node states ···································································································································· 49
ERPS timers ············································································································································· 49
ERPS operation mechanism ···················································································································· 50
ERPS network diagrams ·························································································································· 52
Protocols and standards ·························································································································· 55
Restrictions and guidelines: ERPS configuration ····························································································· 55
ERPS tasks at a glance ··································································································································· 55
Prerequisites ···················································································································································· 56
Enabling ERPS globally ··································································································································· 56
Configuring an ERPS ring ································································································································ 56
Creating an ERPS ring ····························································································································· 56
Configuring ERPS ring member ports ······································································································ 57
Configuring control VLANs ······················································································································· 58
Configuring protected VLANs··················································································································· 58
Configuring the node role ························································································································· 59
Enabling ERPS for an instance ························································································································ 59
Enabling R-APS packets to carry the ring ID in the destination MAC address ················································ 60
Configuring R-APS packet levels ····················································································································· 60
Setting ERPS timers ········································································································································ 60
Setting the non-revertive mode ························································································································ 61
Setting a switchover mode ······························································································································· 61
Associating a ring with a subring······················································································································ 62
Enabling flush packet transparent transmission ······························································································ 62
Associating an ERPS ring member port with a track entry ·············································································· 63
Removing the MS mode and FS mode settings for an ERPS ring··································································· 63
Verifying and maintaining ERPS ······················································································································ 63
iii
Verifying ERPS configuration and running status ···················································································· 63
Displaying and clearing ERPS packet statistics ······················································································· 63
ERPS configuration examples ························································································································· 64
Example: Configuring one ring ················································································································· 64
Example: Configuring one subring ··········································································································· 72
Example: Configuring one-ring multi-instance load balancing ································································· 86
Troubleshooting ERPS····································································································································· 97
The owner node cannot receive SF packets from a faulty node when the link state is normal················ 97
Configuring Smart Link ················································································ 98
About Smart Link·············································································································································· 98
Application scenario ································································································································· 98
Terminology ············································································································································· 99
How Smart Link works ····························································································································· 99
Collaboration between Smart Link and Monitor Link for port status detection ······································· 100
Collaboration between Smart Link and Track for link status detection ·················································· 100
Restrictions and guidelines: Smart Link configuration ··················································································· 101
Smart Link tasks at a glance ·························································································································· 101
Configuring a Smart Link device ···················································································································· 101
Prerequisites for Smart Link device configuration ·················································································· 101
Configuring protected VLANs for a smart link group ·············································································· 101
Configuring member ports for a smart link group ··················································································· 102
Configuring a preemption mode for a smart link group ·········································································· 102
Enabling the sending of flush messages································································································ 102
Configuring collaboration between Smart Link and Track······································································ 103
Enabling an associated device to receive flush messages ············································································ 103
Verifying and maintaining Smart Link ············································································································ 104
Verifying Smart Link configuration and running status ··········································································· 104
Clearing Smart Link packet statistics ····································································································· 104
Smart Link configuration examples ················································································································ 104
Example: Configuring a single smart link group ····················································································· 104
Example: Configuring multiple smart link groups load sharing ······························································ 109
Example: Configuring Smart Link and Track collaboration ···································································· 113
Configuring Monitor Link ············································································ 120
About Monitor Link ········································································································································· 120
Restrictions and guidelines: Monitor Link configuration ················································································· 121
Monitor Link tasks at a glance························································································································ 121
Enabling Monitor Link globally ······················································································································· 121
Creating a monitor link group ························································································································· 121
Configuring monitor link group member interfaces ························································································ 122
Restrictions and guidelines ···················································································································· 122
Configuring monitor link group member interfaces in monitor link group view ······································· 122
Configuring monitor link group member interfaces in interface view ······················································ 122
Configuring a monitor link group to monitor a BGP instance ········································································· 123
Configuring the uplink interface threshold for triggering monitor link group state switchover ························ 123
Configuring the switchover delay for the downlink interfaces in a monitor link group ···································· 124
Verifying and maintaining Monitor Link ·········································································································· 124
Monitor Link configuration examples·············································································································· 124
Example: Configuring Monitor Link ········································································································ 124
Configuring S-Trunk ··················································································· 129
About S-Trunk ················································································································································ 129
Application scenario ······························································································································· 129
S-Trunk network model ·························································································································· 129
S-Trunk protocol packet timeout ············································································································ 130
S-Trunk system setup process ··············································································································· 130
Traffic forwarding and failure handling mechanisms ·············································································· 131
BFD association with S-Trunk ················································································································ 132
S-Trunk reversion mechanism ··············································································································· 133
Sequence number check on S-Trunk protocol packets ········································································· 133
S-Trunk protocol packet authentication·································································································· 133
iv
Restrictions and guidelines: S-Trunk configuration ························································································ 133
S-Trunk tasks at a glance ······························································································································ 134
Configuring S-Trunk system settings ············································································································· 134
Restrictions and guidelines for S-Trunk system settings ······································································· 134
Configuring the LACP system MAC address ························································································· 134
Setting the LACP system priority ··········································································································· 135
Setting the LACP system number ·········································································································· 135
Creating a smart trunk···································································································································· 135
Configuring a smart trunk ······························································································································· 136
Configuring a description for a smart trunk ···························································································· 136
Setting the role priority of the device ······································································································ 136
Setting the destination UDP port of S-Trunk protocol packets ······························································· 136
Configuring S-Trunk protocol packet parameters ·················································································· 137
Setting the S-Trunk protocol packet transmission interval ····································································· 137
Setting the multiplier for calculating the S-Trunk protocol packet timeout ············································· 138
Assigning an interface to a smart trunk ·········································································································· 138
Configuring the role of an aggregate interface in a smart trunk ····································································· 139
Configuring reversion settings for a smart trunk ···························································································· 139
Setting the reversion delay ····················································································································· 139
Disabling reversion to the primary interface ··························································································· 140
Associating a smart trunk with a BFD session ······························································································· 140
Enabling sequence number check on S-Trunk protocol packets ··································································· 141
Enabling S-Trunk protocol packet authentication··························································································· 141
Enabling S-Trunk maintenance mode ············································································································ 141
Display and maintenance commands for S-Trunk ························································································· 142
Configuring error code detection ································································ 143
About error code detection ····························································································································· 143
Error code detection fundamentals ················································································································ 143
Interface error code detection ················································································································ 143
Link quality detection ······························································································································ 143
Background traffic ·································································································································· 144
Error code detection deployment ··················································································································· 144
Restrictions and guidelines: Error code detection configuration ···································································· 145
Configuring interface error code detection ····································································································· 145
Configuring link quality detection ··················································································································· 145
Configuring the bit error ratio calculation factors for an interface ·································································· 146
Specifying the protocol for transferring error code detection information ······················································ 147
Configuring interface alarm functions ············································································································ 147
Verifying and maintaining error code detection ······························································································ 152
Displaying interface monitor information ································································································ 152
Clearing the bit error ratio status for interfaces ······················································································ 152
Configuring VRRP ····················································································· 153
About VRRP ··················································································································································· 153
VRRP standard mode ···································································································································· 154
VRRP networking ··································································································································· 154
Virtual IP address and IP address owner ······························································································· 154
Router priority in a VRRP group ············································································································· 154
Preemption ············································································································································· 154
Authentication method ··························································································································· 155
VRRP timers ·········································································································································· 155
Master election ······································································································································· 156
VRRP tracking ········································································································································ 156
VRRP application ··································································································································· 156
VRRP load balancing mode ··························································································································· 158
Virtual MAC address assignment ··········································································································· 158
Virtual forwarder ····································································································································· 160
Protocols and standards ································································································································ 162
Configuring IPv4 VRRP·································································································································· 162
Restrictions and guidelines: IPv4 VRRP configuration ·········································································· 162
IPv4 VRRP tasks at a glance ················································································································· 162
v
Specifying an IPv4 VRRP operating mode ···························································································· 163
Specifying the IPv4 VRRP version ········································································································· 163
Configuring an IPv4 VRRP group ·········································································································· 163
Configuring a subordinate IPv4 VRRP group to follow a master IPv4 VRRP group ······························ 165
Associating an IPv4 VRRP group with a track entry ·············································································· 166
Enabling the preemptive mode for the router in a VRRP group and setting the preemption delay timer166
Specifying an IPv4 VRRP control VLAN ································································································ 167
Configuring IPv4 VRRP packet attributes ······························································································ 168
Setting the packet sending mode for IPv4 VRRPv3 ··············································································· 169
Enabling periodic sending of gratuitous ARP packets for IPv4 VRRP ··················································· 170
Setting the state transition delay timer for an IPv4 VRRP group ··························································· 170
Enabling an IPv4 VRRP group to ignore interface down events ···························································· 171
Enabling SNMP notifications for VRRP ·································································································· 172
Enabling the isolation mode for IPv4 VRRP··························································································· 172
Disabling an IPv4 VRRP group ·············································································································· 172
Verifying and maintaining IPv4 VRRP···································································································· 173
Configuring IPv6 VRRP·································································································································· 173
Restrictions and guidelines: IPv6 VRRP configuration ·········································································· 173
IPv6 VRRP tasks at a glance ················································································································· 173
Specifying an IPv6 VRRP operating mode ···························································································· 174
Configuring an IPv6 VRRP group ·········································································································· 174
Configuring a subordinate IPv6 VRRP group to follow a master IPv6 VRRP group ······························ 175
Associating an IPv6 VRRP group with a track entry ·············································································· 177
Enabling the preemptive mode for the router in an IPv6 VRRP group and setting the preemption delay
timer ······················································································································································· 177
Specifying an IPv6 VRRP control VLAN ································································································ 178
Configuring IPv6 VRRP packet attributes ······························································································ 179
Enabling periodic sending of ND packets for IPv6 VRRP ······································································ 180
Setting the state transition delay timer for an IPv6 VRRP group ··························································· 180
Enabling an IPv6 VRRP group to ignore interface down events ···························································· 181
Enabling the isolation mode for IPv6 VRRP··························································································· 182
Disabling an IPv6 VRRP group ·············································································································· 182
Verifying and maintaining IPv6 VRRP···································································································· 182
IPv4 VRRP configuration examples ··············································································································· 183
Example: Configuring a single VRRP group ·························································································· 183
Example: Configuring multiple VRRP groups ························································································ 186
Example: Configuring VRRP load balancing·························································································· 188
IPv6 VRRP configuration examples ··············································································································· 196
Example: Configuring a single VRRP group ·························································································· 196
Example: Configuring multiple VRRP groups ························································································ 199
Example: Configuring VRRP load balancing·························································································· 202
Troubleshooting VRRP ·································································································································· 211
An error prompt is displayed ·················································································································· 211
Multiple masters appear in a VRRP group ····························································································· 211
Fast VRRP state flapping ······················································································································· 212
Configuring BFD ························································································ 213
About BFD······················································································································································ 213
Mechanism ····················································································································································· 213
Single-hop detection and multihop detection ························································································· 214
BFD session modes ······························································································································· 214
Supported features ································································································································· 215
Protocols and standards ························································································································ 215
BFD tasks at a glance ···································································································································· 216
Restrictions and guidelines: BFD configuration ····························································································· 216
Configuring BFD sessions in echo packet mode ··························································································· 216
About BFD session creation methods ···································································································· 216
Restrictions and guidelines ···················································································································· 216
Creating a static BFD session ················································································································ 217
Configuring detection time settings ········································································································ 218
Configuring BFD sessions in control packet mode ························································································ 220
About BFD session creation methods ···································································································· 220
vi
Restrictions and guidelines ···················································································································· 220
Configuring the session establishment mode ························································································ 221
Configuring the detection mode ············································································································· 221
Configuring a static BFD session ··········································································································· 222
Configuring detection time settings ········································································································ 223
Configuring the authentication mode ····································································································· 225
Configuring the destination port number for multihop BFD control packets ··········································· 226
Configuring the notification delay timer for session establishment failures ············································ 226
Enabling the echo function ····················································································································· 227
Associating the interface state with BFD ································································································ 227
Configuring BFD session flapping suppression ····························································································· 228
Configuring a BFD template ··························································································································· 229
Enabling SNMP notifications for BFD ············································································································ 230
Configuring BFD optimization ························································································································ 230
Verifying and maintaining BFD······················································································································· 230
Configuring SBFD ······················································································ 232
About SBFD ··················································································································································· 232
SBFD session modes····································································································································· 232
Restrictions and guidelines: SBFD configuration ··························································································· 232
SBFD tasks at a glance·································································································································· 232
Configuring the initiator ·································································································································· 233
Restrictions and guidelines ···················································································································· 233
Configuring the initiator for LDP LSP detection······················································································ 233
Configuring the initiator for MPLS TE tunnel detection ·········································································· 234
Configuring the initiator for SR-MPLS TE policy detection ····································································· 235
Configuring the initiator for SRv6 locator detection ················································································ 240
Configuring the initiator for SRv6 TE policy detection ············································································ 241
Configuring the reflector ································································································································· 243
Configuring a BFD template ··························································································································· 243
Verifying and maintaining SBFD ···················································································································· 244
Configuring Track ······················································································ 245
About Track ···················································································································································· 245
Collaboration mechanism ······················································································································· 245
Supported detection modules ················································································································ 246
Supported application modules ·············································································································· 246
Restrictions and guidelines: Track configuration···························································································· 246
Collaboration application example ················································································································· 247
Track tasks at a glance ·································································································································· 247
Associating Track with a detection module object ························································································· 248
Associating Track with NQA ··················································································································· 248
Associating Track with BFD ··················································································································· 248
Associating Track with CFD ··················································································································· 249
Associating Track with interface management······················································································· 249
Associating Track with route management ···························································································· 250
Associating Track with LLDP ················································································································· 251
Associating Track with DRNI MAD state ································································································ 251
Associating Track with a tracked list ·············································································································· 252
Associating Track with a Boolean list ····································································································· 252
Associating Track with a percentage threshold list ················································································ 252
Associating Track with a weight threshold list ························································································ 253
Associating the Track module with an application module············································································· 254
Prerequisites for associating the Track module with an application module ····································· 254
Associating Track with VRRP ················································································································ 254
Associating Track with static routing ······································································································ 255
Associating Track with PBR ··················································································································· 257
Associating Track with Smart Link ········································································································· 258
Verifying and maintaining Track ····················································································································· 259
Track configuration examples ························································································································ 259
Example: Configuring VRRP-Track-NQA collaboration ········································································· 259
Example: Configuring BFD for a VRRP backup to monitor the master ·················································· 262
vii
Example: Configuring BFD for the VRRP master to monitor the uplink ················································· 265
Example: Configuring static routing-Track-NQA collaboration ······························································· 269
Example: Configuring static routing-Track-BFD collaboration ······························································· 273
Example: Configuring VRRP-Track-interface management collaboration ············································· 276
Example: Configuring VRRP-Track-route management collaboration ··················································· 279
Configuring process placement ································································· 283
About process placement······························································································································· 283
Process ·················································································································································· 283
Node ······················································································································································· 283
Process redundancy ······························································································································ 283
Process placement ································································································································· 283
Default process placement policy ·········································································································· 283
Process placement affinities ·················································································································· 284
Process placement optimization ············································································································ 284
Restrictions and guidelines: process placement configuration ······································································ 284
Process placement tasks at a glance············································································································· 285
Configuring process placement policy ··········································································································· 285
Configuring a location affinity ················································································································· 285
Configuring a location type affinity ········································································································· 285
Configuring a process affinity ················································································································· 286
Configuring a self affinity ························································································································ 286
Optimizing process placement ······················································································································· 287
Display and maintenance commands for process placement ········································································ 287
Configuring interface collaboration ····························································· 288
About interface collaboration ························································································································· 288
Typical application ·································································································································· 288
How interface collaboration works ········································································································· 288
Interface collaboration tasks at a glance ········································································································ 289
Prerequisites for interface collaboration ········································································································· 289
Creating a collaboration group ······················································································································· 289
Configuring collaboration group member interfaces ······················································································ 289
Restrictions and guidelines ···················································································································· 289
Configuring a collaboration group member interface in collaboration group view·································· 290
Configuring a collaboration group member interface in interface view ·················································· 290
Configuring the delay for the member interfaces in a collaboration group to come up ·································· 290
Removing ineffective member interfaces from all collaboration groups ························································· 291
Verifying and maintaining interface collaboration ·························································································· 291
Interface collaboration configuration examples ······························································································ 291
Example: Configuring interface collaboration for Layer 3 interfaces ······················································ 291
Document conventions and icons ······························································ 296
Conventions ··················································································································································· 296
Network topology icons ·································································································································· 297
Support and other resources ····································································· 298
Accessing Hewlett Packard Enterprise Support····························································································· 298
Accessing updates ········································································································································· 298
Websites ················································································································································ 299
Customer self repair ······························································································································· 299
Remote support ······································································································································ 299
Documentation feedback ······················································································································· 299
Index ·········································································································· 301
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 when both sides are
operating in active OAM mode 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 An errored frame event occurs when the number of detected error frames
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.
Errored frame seconds event An errored frame seconds event occurs when the number of errored
3
Ethernet OAM link events
(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.
•
Can send Information OAMPDUs carrying Link Fault events.
•
Cannot send Information OAMPDUs carrying Critical Events.
Ethernet OAM tasks at a glance
To configure Ethernet OAM, perform the following tasks:
1. Configuring basic Ethernet OAM functions
4
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.
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.
5
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
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.
6
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.
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.
7
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.
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
8
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.
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.
9
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
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:
10
ï‚¡ 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 Interface 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
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.
11
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.
Verifying and maintaining Ethernet OAM
Verifying Ethernet OAM configuration
To display the Ethernet OAM configuration, execute the following command in any view:
display oam configuration [ interface interface-type interface-number ]
Verifying Ethernet OAM running status
Perform display tasks in any view.
•
Display information about an Ethernet OAM connection.
display oam { local | remote } [ interface interface-type
interface-number ]
•
Display the statistics on Ethernet OAM 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 ]
Clearing Ethernet OAM statistics
To clear statistics on Ethernet OAM packets and Ethernet OAM link error events, execute the
following command in user view:
reset oam [ interface interface-type interface-number ]
Ethernet OAM configuration examples
Example: Configuring Ethernet OAM
Network configuration
On the network shown in Figure 1, perform the following operations:
•
Enable Ethernet OAM on Device A and Device B to auto-detect link errors between the two
devices
•
Determine the performance of the link between Device A and Device B by collecting statistics
about the error frames received by Device A
  • 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

HPE FlexFabric 12900E Switch Series High Availability Configuration Guide

Category
Software
Type
Configuration Guide

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

Finding information in a document is now easier with AI