7 dhcp relay information trust-all – CANOGA PERKINS CanogaOS Command Reference User Manual
Page 819

CanogaOS Command Line Reference
Revision 1.02
Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches
Page 819 of 855
The DHCP server replaces existing relay information.
Command Mode
Global configuration
Usage
This command is used by cable access router termination systems. A DHCP relay agent may receive a
message from another DHCP relay agent that already contains relay information. By default, the relay
information from the previous relay agent is replaced.
Examples
The following is sample output from the dhcp relay information policy command:
Switch(config)# dhcp relay information policy drop
Related Commands
dhcp relay information option
dhcp relay information policy
42.7 dhcp relay information trust-all
To configure all interfaces on a router as trusted sources of the Dynamic Host Configuration Protocol
(DHCP) relay agent information option, use the dhcp relay information trust-all command in global
configuration mode. To restore the interfaces to their default behavior, use the no form of the
command.
Command Syntax
dhcp relay information trust-all
no dhcp relay information trust-all
Default
All interfaces on the switch are considered untrusted.
Command Mode
Global 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 trust-all 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.