R3303-HP HSR6800 Routers High Availability Configuration Guide

17
Task Command
Remarks
Clear statistics on Ethernet OAM
packets and Ethernet OAM link
error events.
reset oam [ interface interface-type
interface-number ]
Available in user view.
Ethernet OAM configuration example
Network requirements
On the network shown in Figure 2, perform the following operations:
Enable Ethernet OAM on Router A and Router B to auto-detect link errors between the two devices.
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 3/0/1 to operate in passive Ethernet OAM mode and enable
Ethernet OAM for it.
<RouterA> system-view
[RouterA] interface gigabitethernet 3/0/1
[RouterA-GigabitEthernet3/0/1] oam mode passive
[RouterA-GigabitEthernet3/0/1] oam enable
[RouterA-GigabitEthernet3/0/1] 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:
# Configure GigabitEthernet 3/0/1 to operate in active Ethernet OAM mode (the default) and
enable Ethernet OAM for it.
<RouterB> system-view
[RouterB] interface gigabitethernet 3/0/1
[RouterA-GigabitEthernet3/0/1] oam mode active
[RouterB-GigabitEthernet3/0/1] oam enable
[RouterB-GigabitEthernet3/0/1] quit
3. Verify the configuration:
Use the display oam configuration command to display the Ethernet OAM configuration. For
example: