
14
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Layer 2 Ethernet port view
interface
interface-type
interface-number
—
Reject the Ethernet OAM remote
loopback request from a remote
port
oam loopback reject-request
Required
By default, a port does not reject
the Ethernet OAM remote
loopback request from a remote
port.
Displaying and maintaining Ethernet OAM
configuration
To do…
Use the command…
Remarks
Display global Ethernet OAM
configuration
display oam configuration
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Display the statistics on critical
events after an Ethernet OAM
connection is established
display oam critical-event
[
interface
interface-type interface-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
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
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Display the information about an
Ethernet OAM connection
display oam
{
local
|
remote
}
[
interface
interface-type interface-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Clear statistics on Ethernet OAM
packets and Ethernet OAM link
error events
reset oam
[
interface
interface-type
interface-number
]
Available in user view
only
Ethernet OAM configuration example
Network requirements
On the network shown in
, perform the following operations:
•
Enable Ethernet OAM on Switch A and Switch B to auto-detect link errors between the two devices
•
Monitor the performance of the link between Switch A and Switch B by collecting statistics about the
error frames received by Switch A
Figure 2
Network diagram for Ethernet OAM configuration
GE1/0/1
GE1/0/1
Switch A
Switch B