To do...
•
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
•
Display the information about
an Ethernet OAM connection
•
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.
•
Monitor the performance of the link between Device A and Device B by collecting statistics about
•
the error frames received by Device A.
Figure 2 Network diagram for Ethernet OAM configuration
Configuration procedure
Configure Device A.
1.
# Configure GigabitEthernet 1/0/1 to operate in passive Ethernet OAM mode, and enable Ethernet
OAM for it.
<DeviceA> system-view
[DeviceA] interface gigabitethernet 1/0/1
[DeviceA-GigabitEthernet1/0/1] oam mode passive
[DeviceA-GigabitEthernet1/0/1] oam enable
[DeviceA-GigabitEthernet1/0/1] quit
# Set the errored frame detection interval to 20 seconds, and set the errored frame event triggering
threshold to 10.
[DeviceA] oam errored-frame period 20
[DeviceA] oam errored-frame threshold 10
Configure Device B.
2.
# Configure GigabitEthernet 1/0/1 to operate in active Ethernet OAM mode (the default), and enable
Ethernet OAM for it.
Use the command...
display oam critical-event [ interface interface-
type interface-number ] [ | { begin | exclude |
include } regular-expression ]
display oam link-event { local | remote } [
interface interface-type interface-number ] [ | {
begin | exclude | include } regular-expression
]
display oam { local | remote } [ interface
interface-type interface-number ] [ | { begin |
exclude | include } regular-expression ]
reset oam [ interface interface-type interface-
number ]
2, perform the following operations:
Figure
18
Remarks
Available in any view
Available in any view
Available in any view
Available in user
view only