Dhcp Relay Check Mac-Address; Dhcp Relay Client-Detect Enable - HP A5120 EI Series Command Reference Manual

Hide thumbs Also See for A5120 EI Series:
Table of Contents

Advertisement

dhcp relay check mac-address

Syntax
dhcp relay check mac-address
undo dhcp relay check mac-address
View
Interface view
Default level
2: System level
Parameters
None
Description
Use the dhcp relay check mac-address command to enable MAC address check on the DHCP relay
agent.
Use the undo dhcp relay check mac-address command to disable MAC address check on the DHCP relay
agent.
By default, this function is disabled.
With this function enabled, the DHCP relay agent compares the chaddr field of a received DHCP request
with the source MAC address field of the frame. If they are the same, the DHCP relay agent decides this
request as valid and forwards it to the DHCP server; if not, the DHCP request is discarded.
DHCP relay agents change the source MAC addresses when forwarding DHCP packets. Therefore, you
can enable MAC address check only on a DHCP relay agent directly connected to the DHCP clients.
Otherwise, valid DHCP packets may be discarded and clients cannot obtain IP addresses.
Examples
# Enable MAC address check on the DHCP relay agent.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] dhcp relay check mac-address

dhcp relay client-detect enable

Syntax
dhcp relay client-detect enable
undo dhcp relay client-detect enable
View
Interface view
Default level
2: System level
Parameters
None
52

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents