beautypg.com

6 dhcp relay information policy – CANOGA PERKINS 9175 Command Reference User Manual

Page 745

background image

CanogaOS Command Reference

42-4


Command Mode

Global configuration


Usage

This command enables a DHCP server to identify the user (for example, cable access router) sending

the request and initiate appropriate action based on this information. By default, DHCP does not insert

relay information.

The dhcp relay information option command automatically adds the circuit identifier suboption and the

remote ID suboption to the DHCP relay agent information option (also called option 82).


Examples

The following is sample output from the dhcp relay information option command:

Switch(config)# dhcp relay information option


Related Commands

dhcp relay information check

dhcp relay information policy

42.6 dhcp relay information policy

To configure the information reforwarding policy for a Dynamic Host Configuration Protocol (DHCP)

relay agent (what a relay agent should do if a message already contains relay information), use the dhcp

relay information policy command in global configuration . To restore the default relay information

policy, use the no form of this command.


Command Syntax

dhcp relay information policy {drop | keep | replace}

no dhcp relay information policy

drop

Directs the DHCP relay agent to discard messages with existing relay information if

the relay information option is already present.

keep

Indicates that existing information is left unchanged on the DHCP relay agent.

replace

Indicates that existing information is overwritten on the DHCP relay agent.

Default

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.