Ethernet oam configuration example, Network requirements, Configuration procedure – H3C Technologies H3C SR8800 User Manual
Page 25

16
Task Command
Remarks
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 ]
Available in any view
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 Router A and Router B to auto-detect link errors between the two routers.
•
Monitor the performance of the link between Router A and Router B by collecting statistics about the
error frames received by Router A.
Figure 2 Network diagram
Configuration procedure
1.
Configure Router A:
# Configure GigabitEthernet 4/1/2 to operate in passive Ethernet OAM mode and enable
Ethernet OAM for it.
[RouterA] interface GigabitEthernet 4/1/2
[RouterA-GigabitEthernet4/1/2] oam mode passive
[RouterA-GigabitEthernet4/1/2] oam enable
[RouterA-GigabitEthernet4/1/2] quit
# Set the errored frame detection interval to 20 seconds and set the errored frame event triggering
threshold to 10.
[RouterA] oam errored-frame period 20
[RouterA] oam errored-frame threshold 10
2.
Configure Router B: