HP Comware 5 Debug Manual Vol 2

Field
Description
prototype Ethernet protocol type.
src_addr Source MAC address.
dst_addr Destination MAC address.
length Ethernet frame length.
eth_l2_send:Send an eth L2-protocol
packet
Ethernet sent a Layer 2 protocol frame.
port index Port index of the Layer 2 protocol Ethernet frame.
src_eth_addr Source MAC address of the Ethernet frame.
dst_eth_addr Destination MAC address of the frame.
Examples
# Enable Ethernet packet debugging. Output similar to the following example is generated when you
ping a directly connected device.
<Sysname> debugging ethernet packet
*Dec 8 09:58:04:957 2006 Sysname ETH/7/eth_send:Send an eth packet, interface:
Vlan-interface1, format: 0, prototype: 0806, src_addr : 000f-e249-8048, dst_addr :
ffff-ffff-ffff
// Ethernet sent a frame out of VLAN-interface 1.
*Dec 8 09:58:04:957 2006 Sysname ETH/7/eth_rcv:Receive an eth packet, interface:
Ethernet0/3, format: 0, prototype: 0806, src_addr: 0015-e944-a947, dst_addr:
000f-e249-8048
// Ethernet received a frame from Ethernet 0/3.
# Enable Ethernet packet debugging. Output similar to the following example is generated when you
send an SNAP-encapsulated Ethernet packet to the device.
<Sysname> debugging ethernet packet
*Dec 8 10:01:53:374 2006 Sysname ETH/7/eth_rcv:Receive an eth packet, interface:
Ethernet0/3, format: 1, length: 8, src_addr: 0015-e944-a947, dst_addr: 000f-e200-8048
// Ethernet received a frame from Ethernet 0/3.
*Dec 8 10:01:53:374 2006 Sysname ETH/7/eth_send: Send an eth packet, interface:
Ethernet0/3, format: 1, length: 8, src_addr: 000f-e200-8048, dst_addr: 0015-e944-a947
// Ethernet sent a frame out of Ethernet 0/3.
# Enable Ethernet packet debugging. Output similar to the following example is generated when you
send an IPv6 packet with a wrong destination MAC address to the device.
<Sysname> debugging ethernet packet
*Dec 8 10:27:55:985 2006 Sysname ETH/7/eth_rcv:Receive an eth packet, interface:
Ethernet0/3, format: 0, prototype: 86DD, src_addr: 0000-0000-0003, dst_addr:
3333-0000-0002
*Dec 8 10:27:55:985 2006 Sysname ETH/7/eth_discard:Discard an eth packet, interface:
Vlan-interface1 Reason: Wrong packet, format: 0, prototype: 86DD, src_addr :
0000-0000-0003, dst_addr : 3333-0000-0002
// Ethernet dropped a frame received from VLAN-interface 1 because the frame is an error packet.
# Enable Ethernet packets debugging. Output similar to the following example is generated when you
enable the spanning tree feature on the device.
<Sysname> debugging ethernet packet
2