R3303-HP HSR6800 Routers Layer 3 - IP Services Command Reference

Table Of Contents
89
Syntax
dhcp-snooping check mac-address
undo dhcp-snooping check mac-address
Default
This function is disabled.
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view
Default command level
2: System level
Usage guidelines
With this function enabled, DHCP snooping compares the chaddr field of a received DHCP request with
the source MAC address field in the frame header. If they are the same, DHCP snooping considers this
request valid and forwards it to the DHCP server. If not, DHCP snooping discards the DHCP request.
Examples
# Enable MAC address check for DHCP snooping.
<Sysname> system-view
[Sysname] interface gigabitethernet 3/1/1
[Sysname-GigabitEthernet3/1/1] dhcp-snooping check mac-address
dhcp-snooping check request-message
Use dhcp-snooping check request-message to enable DHCP-REQUEST message check of DHCP
snooping.
Use undo dhcp-snooping check request-message to disable DHCP-REQUEST message check of the
DHCP snooping.
Syntax
dhcp-snooping check request-message
undo dhcp-snooping check request-message
Default
This function is disabled.
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view
Default command level
2: System level
Usage guidelines
With this function enabled, DHCP snooping looks for a matching DHCP snooping entry for each
received DHCP-REQUEST message.
If a match is found, DHCP snooping compares the entry with the message. If they are consistent,
DHCP snooping considers the DHCP-REQUEST message a valid lease renewal request and