Ethernet Oam Configuration Example - H3C S5120-EI Series Operation Manual

Ethernet switches
Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

Clear statistics on Ethernet OAM packets
and Ethernet OAM link error events

Ethernet OAM Configuration Example

Network requirements
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 1-2 Network diagram for Ethernet OAM configuration
Configuration procedure
1)
Configure Device A
# 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 passivez
[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
2)
Configure Device B
# Configure GigabitEthernet 1/0/1 to operate in active Ethernet OAM mode (the default) and enable
Ethernet OAM for it.
<DeviceB> system-view
[DeviceB] interface gigabitethernet 1/0/1
[DeviceA-GigabitEthernet1/0/1] oam mode active
[DeviceB-GigabitEthernet1/0/1] oam enable
[DeviceB-GigabitEthernet1/0/1] quit
3)
Verify the configuration
Use the display oam configuration command to display the Ethernet OAM configuration. For
example:
# Display the Ethernet OAM configuration on Device A.
To do...
Use the command...
reset oam [ interface interface-type
interface-number ]
1-10
Remarks
Available
in user
view only

Advertisement

Table of Contents
loading

Table of Contents