Displaying and maintaining ethernet oam, Ethernet oam configuration example, Network requirements – H3C Technologies H3C S12500-X Series Switches User Manual
Page 17: Configuration procedure, Configuring errored frame event detection
9
Displaying and maintaining Ethernet OAM
Execute display commands in any view and reset commands in user view:
Purpose 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 example
Network requirements
On the network shown in
, 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
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
# Set the errored frame event detection window to 20000 milliseconds, and set the errored frame
event triggering threshold to 10.
[DeviceA] oam errored-frame period 200