HP Comware 5 Debug Manual Vol 2
# Enable the debugging for Ethernet OAM errors on Ethernet 1/1. The output in this example was
created when Ethernet OAM is enabled on Ethernet 1/1.
<Sysname> debugging oam error interface ethernet 1/1
*0.10030698 Sysname ETHOAM/8/EncapOam:
OAM Port Ethernet1/1: Encapsulating OAMPDU fails.
// Encapsulating OAMPDU failed.
# Enable the debugging for Ethernet OAM state machines on Ethernet 1/1. When you enable Ethernet
OAM on the interface, output similar to the following example is generated:
<Sysname> debugging oam fsm interface ethernet 1/1
*0.11138620 Sysname ETHOAM/8/Transfer:
OAM Port Ethernet1/1:Discovery state transfers from state FAULT to state PASSIVE_WAIT.
// The Discovery state machine transited from the FAULT state to the PASSIVE_WAIT state.
*0.11138662 Sysname ETHOAM/8/Transfer:
OAM Port Ethernet1/1:Discovery state transfers from state PASSIVE_WAIT to state
SEND_LOCAL_REMOTE_OK.
// The Discovery state machine transited from the PASSIVE_WAIT state to the
SEND_LOCAL_REMOTE_OK state.
*0.11138670 Sysname ETHOAM/8/Transfer:
OAM Port Ethernet1/1:Discovery state transfers from state SEND_LOCAL_REMOTE_OK to state
SEND_ANY.
// The Discovery state machine transited from the SEND_LOCAL_REMOTE_OK state to the SEND_Any
state.
# Enable debugging for Ethernet OAM link events on Ethernet 1/1. The output in this example was
created when the following conditions exist:
•
Ethernet OAM is enabled on Ethernet 1/1.
•
The number of CRC error frames received per second is two, which exceeds the default threshold.
<Sysname> debugging oam link-event interface ethernet 1/1
*0.10030698 Sysname ETHOAM/8/ErrFrm:
OAM Port Ethernet1/1: Errored frame link-event occurs.
// An error frame link event occurred on Ethernet 1/1.
# Enable the debugging for both received and sent Ethernet OAM packets on Ethernet 1/1. The output
in this example was created when Ethernet OAM is enabled on Ethernet 1/1.
<Sysname> debugging oam packet interface ethernet 1/1
*0.12309837 Sysname ETHOAM/8/Pkt:
Send OAM Packet via port Ethernet1/1
// ETHOAM sent an Ethernet OAM packet through Ethernet 1/1.
03 00 68 00 01 10 01 00 00 00 0e 05 dc 00 e0 fc
00 00 00 00 02 10 01 00 00 00 0f 05 dc 00 e0 fd
00 00 00 00 00 00 00 00 00 00 00 00 00 00
Pkt length: 46
// The packet length is 46.
*0.12309842 Sysname ETHOAM/8/Pkt:
Receive OAM Packet via port Ethernet1/1
// ETHOAM received an Ethernet OAM packet on Ethernet 1/1.
03 00 78 00 01 10 01 00 00 00 0f 05 dc 00 e0 fd
13