Step
Displaying and maintaining Ethernet OAM
Execute display commands in any view and reset commands in user view:
Purpose
Display information about an Ethernet OAM
connection.
Display Ethernet OAM configuration.
Display the statistics on critical events after an
Ethernet OAM connection is established.
Display the statistics on Ethernet OAM link error
events after an Ethernet OAM connection is
established.
Clear statistics on Ethernet OAM packets and
Ethernet OAM link error events.
Ethernet OAM configuration example
Network requirements
On the network shown in
•
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
Configuration procedure
1.
Configure Device A:
# Configure Ten-GigabitEthernet 1/0/1 to operate in active Ethernet OAM mode, and enable
Ethernet OAM for it.
<DeviceA> system-view
[DeviceA] interface ten-gigabitethernet 1/0/1
[DeviceA-Ten-GigabitEthernet1/0/1] oam mode active
[DeviceA-Ten-GigabitEthernet1/0/1] oam enable
Command
Figure
1, perform the following operations:
10
Remarks
effect when the next loopback
starts on the port.
Command
display oam { local | remote } [ interface
interface-type interface-number ]
display oam configuration [ interface
interface-type interface-number ]
display oam critical-event [ interface
interface-type interface-number ]
display oam link-event { local | remote }
[ interface interface-type interface-number ]
reset oam [ interface interface-type
interface-number ]