H3C Technologies H3C SR8800 User Manual

Page 26

Advertising
background image

17

# Configure GigabitEthernet 4/1/2 to operate in active Ethernet OAM mode (the default) and

enable Ethernet OAM for it.

<RouterB> system-view

[RouterB] interface GigabitEthernet 4/1/2

[RouterB-GigabitEthernet4/1/2] oam mode active

[RouterB-GigabitEthernet4/1/2] oam enable

[RouterB-GigabitEthernet4/1/2] 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 Router A.

[RouterA] display oam configuration

Configuration of the link event window/threshold :

--------------------------------------------------------------------------

Errored-symbol Event period(in seconds) : 1

Errored-symbol Event threshold : 1

Errored-frame Event period(in seconds) : 20

Errored-frame Event threshold : 10

Errored-frame-period Event period(in ms) : 1000

Errored-frame-period Event threshold : 1

Errored-frame-seconds Event period(in seconds) : 60

Errored-frame-seconds Event threshold : 1

The output shows that the detection period of errored frame events is 20 seconds, the detection
threshold is 10 seconds, and all the other parameters use the default values.
You can use the display oam critical-event command to display the statistics of Ethernet OAM
critical link events. For example:
# Display the statistics of Ethernet OAM critical link events on all the ports of Router A.

[RouterA] display oam critical-event

Port : GigabitEthernet4/1/2

Link Status : Up

Event statistic :

-------------------------------------------------------------------------

Link Fault :0 Dying Gasp : 0 Critical Event : 0

The output shows that no critical link event occurred on the link between Router A and Router B.
You can use the display oam link-event command to display the statistics of Ethernet OAM link
error events. For example:
# Display Ethernet OAM link event statistics of the remote end of Router B.

[RouterB] display oam link-event remote

Port :GigabitEthernet4/1/2

Link Status :Up

OAMRemoteErrFrameEvent : (ms = milliseconds)

---------------------------------------------------------------------

Event Time Stamp : 5789 Errored FrameWindow : 10(100ms)

Errored Frame Threshold : 1 Errored Frame : 3

Error Running Total : 35 Event Running Total : 17

Advertising
This manual is related to the following products: