DHCP Snooping Commands
4-327
4
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 discard the Option 82
information, keep the existing information, or replace it with the switch’s relay
information.
Example
ip dhcp snooping database flash
This command writes all dynamically learned snooping entries to flash memory.
Command Mode
Global Configuration
Command Usage
This command can be used to store the currently learned dynamic DHCP
snooping entries to flash memory. These entries will be restored to the
snooping table when the switch is reset. However, note that the lease time
shown for a dynamic entry that has been restored from flash memory will no
longer be valid.
Example
Console(config)#ip dhcp snooping information policy drop
Console(config)#
Console(config)#ip dhcp snooping database flash
Console(config)#
Summary of Contents for 6128PL2
Page 2: ......
Page 8: ...viii ...
Page 26: ...Contents xviii ...
Page 30: ...Tables xxii ...
Page 52: ...Initial Configuration 2 10 2 ...
Page 308: ...Configuring the Switch 3 256 3 ...
Page 473: ...SNMP Commands 4 165 4 ...
Page 644: ...Command Line Interface 4 336 4 ...
Page 648: ...Software Specifications A 4 A ...
Page 663: ......