HP Comware 5 Debug Manual Vol 1

Field
Description
Process DHCP snooping security item,
type is type, operate is operation-type.
DHCP snooping processed DHCP snooping entries.
DHCP snooping entry type:
0No entry.
1Static entry.
2Temporary dynamic entry.
3Valid dynamic entry.
7Dynamic entry, including 2 and 3.
8Valid entry, including 1 and 3.
9All entries.
DHCP snooping operation type:
0Create.
1Destroy.
2Add.
3—Delete.
4Update.
5Age.
6Delete based on type.
7Delete based on interface.
8Deleted based on IP address.
9Display.
Examples
# Enable all types of debugging for DHCP snooping. When a DHCP client requests an IP address
through the DHCP snooping device, output similar to the following example is generated:
<Sysname> debugging dhcp-snooping all
<Sysname> terminal debugging
<Sysname>
*Sep 10 02:15:54:913 2007 SNOOP DHCPSP/7/PACKET:
DHCP snooping begins to process packets on the main board.
// DHCP snooping is processing packets.
*Sep 10 02:15:54:915 2007 SNOOP DHCPSP/7/PACKET:
The VLAN ID is changed for received packet (Old VLAN ID: 1, New VLAN ID: 1, S-VLAN ID:
1).
*Sep 10 02:15:54:965 2007 SNOOP DHCPSP/7/PACKET:
Succeeded in getting DHCP packet type (1).
// DHCP snooping obtained a type 1 DHCP packet (DHCP DISCOVER packet).
*Sep 10 02:15:55:734 2007 Sysname DHCPSP/7/EVENT:
Receive a DHCP DISCOVER packet.
// DHCP snooping received a DHCP-DISCOVER message.
*Sep 10 02:02:54:585 2007 SNOOP DHCPSP/7/PACKET:
Send DHCP snooping packets to ethernet port (length:328).
*Sep 10 02:02:54:725 2007 SNOOP DHCPSP/7/PACKET:
Succeeded in sending DHCP snooping packet to trusted port Ethernet1/1 in VLAN 1.
// DHCP snooping forwarded the DHCP-DISCOVER message through trusted port Ethernet 1/1.
364