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:
• 0—No entry.
• 1—Static entry.
• 2—Temporary dynamic entry.
• 3—Valid dynamic entry.
• 7—Dynamic entry, including 2 and 3.
• 8—Valid entry, including 1 and 3.
• 9—All entries.
DHCP snooping operation type:
• 0—Create.
• 1—Destroy.
• 2—Add.
• 3—Delete.
• 4—Update.
• 5—Age.
• 6—Delete based on type.
• 7—Delete based on interface.
• 8—Deleted based on IP address.
• 9—Display.
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