8 dhcp relay information trusted, 9 serveice dhcp – CANOGA PERKINS 9175 Command Reference User Manual
Page 747
CanogaOS Command Reference
42-6
42.8 dhcp relay information trusted
To configure an interface as a trusted source of the Dynamic Host Configuration Protocol (DHCP) relay
agent information option, use the dhcp relay information trusted command in interface configuration
mode. To restore the interface to the default behavior, use the no form of the command.
Command Syntax
dhcp relay information trusted
no dhcp relay information trusted
Default
All interfaces on the router are considered untrusted.
Command Mode
Interface configuration
Usage
By default, if the gateway address is set to all zeros in the DHCP packet and the relay information option
is already present in the packet, the DHCP relay agent will discard the packet. If the dhcp relay
information trusted command is configured globally, the DHCP relay agent will not discard the packet
even if the gateway address is set to all zeros. Instead, the received DHCPDISCOVER or
DHCPREQUEST messages will be forwarded to the addresses configured by the dhcp-server
command as in normal DHCP relay operation.
Examples
The following is sample output from the dhcp relay information trusted command:
Switch(config-if)# dhcp relay information trusted
Related Commands
dhcp relay information trust-all
42.9 serveice dhcp
To enable the Dynamic Host Configuration Protocol (DHCP) snooping and relay agent features on your
router, use the service dhcp command in global configuration mode. To disable the DHCP snooping
and relay agent features, use the no form of this command.
Command Syntax
service dhcp enable
service dhcp disable
Default
Disabled.