DHCP Commands 4

ip dhcp relay information policy

This command sets the DHCP snooping information option policy for DHCP client packets that include Option 82 information.

Syntax

ip dhcp relay information policy <drop keep replace>

drop - Discards the client’s DHCP information and then floods the packet to the VLAN.

keep - Retains the client’s DHCP information

replace - Overwrites the DHCP client packet information with the switch’s relay information.

Default Setting

Replace

Command Mode

Global Configuration

Command Usage

When the switch receives DHCP packets from clients that already include DHCP Option 82 information, the switch can be configured to set the action policy for these packets. Either the switch can discard the Option 82 information, keep the existing information, or replace it with the switch’s relay information.

Example

Console(config)#ip dhcp relay information policy drop

Console(config)#

ip dhcp relay server

This command specifies the addresses of DHCP servers to be used by the switch’s DHCP relay agent. Use the no form to clear all addresses.

Syntax

ip dhcp relay server address1 [address2 [address3 ...]]

no ip dhcp relay server

address - IP address of a DHCP server. (Range: 1-5 addresses)

Default Setting

None

Command Mode

Interface Configuration (VLAN)

4-241

Page 483
Image 483
Accton Technology ES3552XA, ES3526XA manual Ip dhcp relay information policy, Ip dhcp relay server, No ip dhcp relay server