SMC Networks SMC8150L2 manual Ip dhcp snooping information policy, Replace

Models: SMC8150L2

1 502
Download 502 pages 43.85 Kb
Page 478
Image 478

4 Command Line Interface

identified by the switch port to which they are connected rather than just their MAC address. DHCP client-server exchange messages are then forwarded directly between the server and client without having to flood them to the entire VLAN.

DHCP snooping must be enabled on the switch for the DHCP Option 82 information to be inserted into packets.

Example

This example enables the DHCP Snooping Information Option.

Console(config)#ip dhcp snooping information option

Console(config)#

ip dhcp snooping information policy

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

Syntax

ip dhcp snooping information policy <drop keep replace>

drop - Discards the Option 82 information in a packet and then floods it to the entire 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 drop the DHCP packets, keep the existing information, or replace it with the switch’s relay information.

Example

Console(config)#ip dhcp snooping information policy drop

Console(config)#

4-236

Page 478
Image 478
SMC Networks SMC8150L2 Ip dhcp snooping information policy, This example enables the Dhcp Snooping Information Option