beautypg.com

Ip dhcp relay information policy, Syntax description, Defaults – Cisco 32369 User Manual

Page 34: Command modes, Usage guidelines, Examples, Related commands

background image

Command Reference

34

Release 12.0(1)T

ip dhcp relay information policy

To configure a Dynamic Host Configuration Protocol (DHCP) relay agent’s information
reforwarding policy (what a DHCP relay agent should do if a message already contains relay
information), use the ip dhcp relay information policy global configuration command. Use the no
form of this command to restore the default relay information policy.

ip dhcp relay information policy {drop | keep | replace}

no ip dhcp relay information policy

Syntax Description

Defaults

The DHCP server replaces existing relay information.

Command Modes

Global configuration

Usage Guidelines

This command first appeared in Cisco IOS Release 12.0(1)T.

This command is used by cable modem termination systems. When a DHCP relay agent receives a
message from a another DHCP relay agent, relay information might already be present in the
message. By default, the relay information from the previous relay agent is replaced.

Examples

The following examples configure a DHCP relay agent to drop messages with existing relay
information, keep existing information, and replace existing information:

ip dhcp relay information policy drop

ip dhcp relay information policy keep

ip dhcp relay information policy replace

Related Commands

ip dhcp relay information check
ip dhcp relay information option

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.