beautypg.com

7 dhcp relay information trust-all – CANOGA PERKINS 9175 Command Reference User Manual

Page 746

background image

CanogaOS Command Reference

42-5


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.


Examples

The following is sample output from the dhcp relay information trust-all command:

Switch(config)# dhcp relay information trust-all


Related Commands

dhcp relay information trusted