beautypg.com

Ip dhcp-relay information policy, Ip dhcp, Relay information policy – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1711

background image

Dynamic Host Configuration Protocol (DHCP) Commands

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

64.13

ip dhcp-relay information policy

This command sets the policy for how the DHCP relay deals with packets arriving from the
client that contain DHCP Relay Agent Option 82 information.

If the command ip dhcp-relay agent-option has not been configured, then this command
has no effect at all - no alteration is made to Option 82 information in packets arriving
from the client side.

However, if the command ip dhcp-relay agent-option has been configured, this
command modifies how the DHCP relay service deals with cases where the packet arriving
from the client side already contains DHCP Relay Agent Option 82 information.

This command sets the action that the DHCP relay should take when a received DHCP
client request contains DHCP Relay Agent Option 82 information.

By default, the DHCP Relay Agent replaces any existing DHCP Relay Agent Option 82 field
with its own DHCP Relay Agent field. This is equivalent to the functionality of the replace
parameter.

The no variant of this command returns the policy to the default behavior - i.e. replacing
the existing DHCP Relay Agent Option 82 field.

For DHCP Relay Agent and DHCP Relay Agent Option 82 introductory information, see

“DHCP Relay Agent Introduction” on page 63.7

.

Syntax

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

no ip dhcp-relay information policy

Mode

Interface Configuration for a VLAN interface.

Examples

To make the DHCP Relay Agent listening on vlan15 drop any client requests that already
contain DHCP Relay Agent Option 82 information, use the commands:

Note

The DHCP-relay service might alter the content of the DHCP Relay Agent
Option 82 field, if the commands

ip dhcp-relay agent-option

and

ip dhcp-

relay information policy

have been configured.

Parameter

Description

append

The DHCP Relay Agent appends the DHCP Relay Agent Option 82 field
of the packet with its own DHCP Relay Agent Option 82 details.

drop

The DHCP Relay Agent discards the packet.

keep

The DHCP Relay Agent forwards the packet without altering the DHCP
Relay Agent Option 82 field.

replace

The DHCP Relay Agent replaces the existing DHCP Relay Agent details
in the DHCP Relay Agent Option 82 field with its own details before
forwarding the packet.

awplus#

configure terminal

awplus(config)#

interface vlan15

awplus(config-if)#

ip dhcp-relay information policy drop