8 dhcp relay information trusted – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 820

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 820 of 855


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

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

Advertising