HPE Networking Comware 5120v3 Switch Series High Availability Configuration Guide

Category
Networking
Type
Configuration Guide
HPE Networking Comware
5120v3 Switch
Series
High Availability Configuration Guide
Software
version: Release 6352P02 and later
Document version: 6W100-20230715
© 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
Display and maintenance commands for Ethernet OAM ················································································· 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 ························································································································ 17
CFD functions ·········································································································································· 17
EAIS ························································································································································· 18
Protocols and standards ·························································································································· 18
Restrictions and guidelines: CFD configuration ······························································································· 19
CFD tasks at a glance ······································································································································ 19
Prerequisites for CFD······································································································································· 19
Configuring basic CFD settings ······················································································································· 20
Enabling CFD ··········································································································································· 20
Configuring service instances ·················································································································· 20
Configuring MEPs ···································································································································· 20
Configuring MIP auto-generation rules ···································································································· 21
ii
Configuring CFD functions ······························································································································· 22
Configuring CC ········································································································································· 22
Configuring LB ········································································································································· 23
Configuring LT ·········································································································································· 23
Configuring AIS ········································································································································ 23
Configuring LM ········································································································································· 24
Configuring one-way DM ·························································································································· 24
Configuring two-way DM ·························································································································· 25
Configuring TST ······································································································································· 25
Configuring EAIS·············································································································································· 25
Display and maintenance commands for CFD ································································································ 26
CFD configuration examples ···························································································································· 27
Example: Configuring CFD ······················································································································ 27
Configuring DLDP ························································································ 33
About DLDP ····················································································································································· 33
Application scenario ································································································································· 33
Basic concepts ········································································································································· 34
How DLDP works ····································································································································· 35
Restrictions and guidelines: DLDP configuration ····························································································· 37
DLDP tasks at a glance···································································································································· 37
Enabling DLDP················································································································································· 37
Setting the interval to send advertisement packets ························································································· 38
Setting the DelayDown timer···························································································································· 38
Setting the port shutdown mode ······················································································································ 39
Configuring DLDP authentication ····················································································································· 39
Display and maintenance commands for DLDP ······························································································ 40
DLDP configuration examples ························································································································· 40
Example: Configuring the auto port shutdown mode ··············································································· 40
Example: Configuring the manual port shutdown mode ·········································································· 44
Example: Configuring the hybrid port shutdown mode ············································································ 47
Configuring RRPP ······················································································· 52
About RRPP ····················································································································································· 52
RRPP networking ····································································································································· 52
RRPPDUs ················································································································································ 54
RRPP timers ············································································································································ 55
How RRPP works ····································································································································· 56
Typical RRPP networking ························································································································ 57
Protocols and standards ·························································································································· 59
Restrictions and guidelines: RRPP configuration····························································································· 59
RRPP tasks at a glance ··································································································································· 59
Prerequisites for RRPP ···································································································································· 60
Creating an RRPP domain ······························································································································· 60
Configuring control VLANs ······························································································································· 60
Configuring protected VLANs ·························································································································· 61
Configuring RRPP rings ··································································································································· 61
Prerequisites ············································································································································ 61
Configuring RRPP ports ··························································································································· 61
Configuring RRPP nodes ························································································································· 62
Activating an RRPP domain ····························································································································· 63
Configuring RRPP timers ································································································································· 64
Restrictions and guidelines for RRPP timer configuration ······································································· 64
Configuring the Hello timer and Fail timer ································································································ 64
Configuring the link-up delay timer ··········································································································· 64
Configuring an RRPP ring group······················································································································ 65
Enabling SNMP notifications for RRPP············································································································ 65
Display and maintenance commands for RRPP ······························································································ 66
RRPP configuration examples ························································································································· 66
Example: Configuring a single ring ·········································································································· 66
Example: Configuring intersecting rings··································································································· 69
Example: Configuring load-balanced intersecting rings ··········································································· 75
iii
Troubleshooting RRPP ···································································································································· 85
The primary node cannot receive Hello packets when the link state is normal········································ 85
Configuring ERPS························································································ 87
About ERPS ····················································································································································· 87
ERPS structure ········································································································································ 87
Instances ·················································································································································· 88
ERPS protocol packets ···························································································································· 88
ERPS node states ···································································································································· 89
ERPS timers ············································································································································· 89
ERPS operation mechanism ···················································································································· 90
ERPS network diagrams ·························································································································· 92
Protocols and standards ·························································································································· 94
Restrictions and guidelines: ERPS configuration ····························································································· 94
ERPS tasks at a glance ··································································································································· 95
Prerequisites ···················································································································································· 95
Enabling ERPS globally ··································································································································· 95
Configuring an ERPS ring ································································································································ 96
Creating an ERPS ring ····························································································································· 96
Configuring ERPS ring member ports ······································································································ 96
Configuring control VLANs ······················································································································· 97
Configuring protected VLANs··················································································································· 98
Configuring the node role ························································································································· 98
Enabling ERPS for an instance ························································································································ 98
Enabling R-APS packets to carry the ring ID in the destination MAC address ················································ 99
Configuring R-APS packet levels ····················································································································· 99
Setting ERPS timers ······································································································································ 100
Setting the non-revertive mode ······················································································································ 100
Setting a switchover mode ····························································································································· 101
Associating a ring with a subring···················································································································· 101
Enabling flush packet transparent transmission ···························································································· 101
Associating an ERPS ring member port with a track entry ············································································ 102
Removing the MS mode and FS mode settings for an ERPS ring································································· 102
Displaying and maintaining ERPS ················································································································· 102
ERPS configuration examples ······················································································································· 103
Example: Configuring one ring ··············································································································· 103
Example: Configuring one subring ········································································································· 111
Example: Configuring one-ring multi-instance load balancing ······························································· 125
Troubleshooting ERPS··································································································································· 135
The owner node cannot receive SF packets from a faulty node when the link state is normal·············· 135
Configuring Smart Link ·············································································· 136
About Smart Link············································································································································ 136
Application scenario ······························································································································· 136
Terminology ··········································································································································· 137
How Smart Link works ··························································································································· 137
Collaboration between Smart Link and Monitor Link for port status detection ······································· 138
Collaboration between Smart Link and Track for link status detection ·················································· 138
Restrictions and guidelines: Smart Link configuration ··················································································· 139
Smart Link tasks at a glance ·························································································································· 139
Configuring a Smart Link device ···················································································································· 139
Prerequisites for Smart Link device configuration ·················································································· 139
Configuring protected VLANs for a smart link group ·············································································· 139
Configuring member ports for a smart link group ··················································································· 140
Configuring a preemption mode for a smart link group ·········································································· 140
Enabling the sending of flush messages································································································ 140
Configuring collaboration between Smart Link and Track······································································ 141
Enabling an associated device to receive flush messages ············································································ 141
Display and maintenance commands for Smart Link ····················································································· 142
Smart Link configuration examples ················································································································ 142
Example: Configuring a single smart link group ····················································································· 142
Example: Configuring multiple smart link groups load sharing ······························································ 147
iv
Example: Configuring Smart Link and Track collaboration ···································································· 151
Configuring Monitor Link ············································································ 158
About Monitor Link ········································································································································· 158
Restrictions and guidelines: Monitor Link configuration ················································································· 159
Monitor Link tasks at a glance························································································································ 159
Enabling Monitor Link globally ······················································································································· 159
Creating a monitor link group ························································································································· 159
Configuring monitor link group member interfaces ························································································ 160
Restrictions and guidelines ···················································································································· 160
Configuring monitor link group member interfaces in monitor link group view ······································· 160
Configuring monitor link group member interfaces in interface view ······················································ 160
Configuring the uplink interface threshold for triggering monitor link group state switchover ························ 160
Configuring the switchover delay for the downlink interfaces in a monitor link group ···································· 161
Display and maintenance commands for Monitor Link ·················································································· 161
Monitor Link configuration examples·············································································································· 161
Example: Configuring Monitor Link ········································································································ 161
Configuring BFD ························································································ 166
About BFD······················································································································································ 166
BFD session establishment and termination ·························································································· 166
Single-hop detection and multihop detection ························································································· 166
BFD session modes ······························································································································· 166
Supported features ································································································································· 167
Protocols and standards ························································································································ 167
Restrictions and guidelines: BFD configuration ····························································································· 168
Configuring echo packet mode ······················································································································ 168
Configuring control packet mode ··················································································································· 169
Restrictions and guidelines ···················································································································· 169
Configuring control packet mode for single-hop detection ····································································· 169
Configuring control packet mode for multihop detection ········································································ 170
Configuring a BFD template ··························································································································· 171
Enabling SNMP notifications for BFD ············································································································ 171
Display and maintenance commands for BFD ······························································································· 171
Configuring Track ······················································································ 173
About Track ···················································································································································· 173
Collaboration mechanism ······················································································································· 173
Supported detection modules ················································································································ 174
Supported application modules ·············································································································· 174
Restrictions and guidelines: Track configuration···························································································· 174
Collaboration application example ················································································································· 174
Track tasks at a glance ·································································································································· 175
Associating the Track module with a detection module ················································································· 175
Associating Track with NQA ··················································································································· 175
Associating Track with BFD ··················································································································· 176
Associating Track with CFD ··················································································································· 177
Associating Track with interface management······················································································· 177
Associating Track with route management ···························································································· 178
Associating Track with LLDP ················································································································· 178
Associating the Track module with an application module············································································· 179
Prerequisites for associating the Track module with an application module ····································· 179
Associating Track with VRRP ················································································································ 179
Associating Track with static routing ······································································································ 180
Associating Track with PBR ··················································································································· 181
Associating Track with Smart Link ········································································································· 182
Associating Track with EAA ··················································································································· 183
Associating Track with ERPS ················································································································· 183
Display and maintenance commands for Track ····························································································· 184
Track configuration examples ························································································································ 184
Example: Configuring VRRP-Track-NQA collaboration ········································································· 184
Example: Configuring an echo-mode BFD session for a VRRP backup to monitor the master············· 188
v
Example: Configuring a control-mode BFD session for a VRRP backup to monitor the master············ 191
Example: Configuring an echo-mode BFD session for the VRRP master to monitor the uplink ············ 194
Example: Configuring a control-mode BFD session for the VRRP master to monitor the uplink ··········· 197
Example: Configuring static routing-Track-NQA collaboration ······························································· 201
Example: Configuring static routing-Track-BFD (echo mode) collaboration ·········································· 205
Example: Configuring static routing-Track-BFD (control mode) collaboration ······································· 209
Example: Configuring VRRP-Track-interface management collaboration ············································· 212
Example: Configuring static routing-Track-LLDP collaboration······························································ 215
Example: Configuring Smart Link-Track-CFD collaboration ·································································· 218
Document conventions and icons ······························································ 219
Conventions ··················································································································································· 219
Network topology icons ·································································································································· 220
Support and other resources ····································································· 221
Accessing Hewlett Packard Enterprise Support····························································································· 221
Accessing updates ········································································································································· 221
Websites ················································································································································ 222
Customer self repair ······························································································································· 222
Remote support ······································································································································ 222
Documentation feedback ······················································································································· 222
Index ·········································································································· 224
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 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.
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.
3
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 Peer link 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.
•
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.
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
4
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 Ethernet OAM modes
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 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 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 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 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 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 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 feature
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 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 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 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 feature
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 Ethernet port view.
11
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
]
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
Figure 1 Network diagram
Procedure
1. Configure Device A:
GE1/0/1 GE1/0/1
Device A Device B
12
# Configure GigabitEthernet 1/0/1 to operate in active Ethernet OAM mode, and enable
Ethernet OAM for it.
<DeviceA> system-view
[DeviceA] interface gigabitethernet 1/0/1
[DeviceA-GigabitEthernet1/0/1] oam mode active
[DeviceA-GigabitEthernet1/0/1] oam enable
# Set the errored frame event detection window to 20000 milliseconds, and set the errored
frame event triggering threshold to 10.
[DeviceA-GigabitEthernet1/0/1] oam errored-frame window 200
[DeviceA-GigabitEthernet1/0/1] oam errored-frame threshold 10
[DeviceA-GigabitEthernet1/0/1] quit
2. Configure Device B:
# Configure GigabitEthernet 1/0/1 to operate in passive Ethernet OAM mode (the default), and
enable Ethernet OAM for it.
<DeviceB> system-view
[DeviceB] interface gigabitethernet 1/0/1
[DeviceB-GigabitEthernet1/0/1] oam mode passive
[DeviceB-GigabitEthernet1/0/1] oam enable
[DeviceB-GigabitEthernet1/0/1] quit
Verifying the configuration
Use the display oam critical-event command to display the statistics of Ethernet
OAM critical link events. For example:
# Display the statistics of Ethernet OAM critical link events on all the ports of Device A.
[DeviceA] display oam critical-event
-----------[GigabitEthernet1/0/1] -----------
Local link status : UP
Event statistics
Link fault : Not occurred
Dying gasp : Not occurred
Critical event : Not occurred
The output shows that no critical link event occurred on the link between Device A and Device
B.
Use the display oam link-event command to display the statistics of Ethernet OAM link
events. For example:
# Display Ethernet OAM link event statistics of the local end of Device A.
[DeviceA] display oam link-event local
------------ [GigabitEthernet1/0/1] -----------
Link status: UP
OAM local errored frame event
Event time stamp : 5789 x 100 milliseconds
Errored frame window : 200 x 100 milliseconds
Errored frame threshold : 10 error frames
Errored frame : 13 error frames
Error running total : 350 error frames
Event running total : 17 events
The output shows the following:
ï‚¡ 350 errors occurred after Ethernet OAM is enabled on Device A.
13
ï‚¡ 17 errors were caused by error frames.
ï‚¡ The link is unstable.
  • 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

HPE Networking Comware 5120v3 Switch Series High Availability Configuration Guide

Category
Networking
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