DGS-6604
ip dhcp relay information trusted
ip dhcp relay information trusted
no ip dhcp relay information trusted
Syntax
Default
Command Mode
Usage Guideline
Example
Switch# configure
Switch# interface vlan100
Switch(config-if)# ip dhcp relay information trusted
Swtich(config-if)# end
CLI Reference Guide
Use this interface command to direct the DHCP relay agent to accept the packets
with giaddr==0 (this relay agent is the first relay of this DHCP request packet)
and relay agent information option is already present in the packet. Use the no
form of the command to configure to drop these DHCP request packet.
None
The interface default is un-trusted.
VLAN interface configuration
When IP DHCP relay information is trusted, if the gateway address in the DHCP
request packet is set to all zeros but the relay agent information option is already
present in the packet, the DHCP relay agent will accept the packet.
If it is un-trusted, then the packet will be discarded.
This example shows how to enabled interface vlan100's DHCP relay agent to
accept the packets with giaddr==0 and relay agent information option is already
present in the packet.
Verify the settings by entering the show ip dhcp relay information trusted-
sources command.
ip dhcp relay information trusted
251