Command Line Interface
4-170
4
Example
This example enables the DHCP Snooping Information Option.
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
- Drops the client’s request packet instead of relaying it.
•
keep
- Retains the Option 82 information in the client request, and forwards
the packets to trusted ports.
•
replace
- Replaces the Option 82 information in the client’s request with
information about the relay agent itself, inserts the relay agent’s address
(when DHCP snooping is enabled), and forwards the packets to trusted
ports.
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. The switch can either drop the DHCP packets, 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
Privileged Exec
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.
Console(config)#ip dhcp snooping information option
Console(config)#
Console(config)#ip dhcp snooping information policy drop
Console(config)#
Summary of Contents for iES4024GP
Page 1: ...iES4028F 4028FP 4024GP ...
Page 4: ...iv This page is intentionally left blank ...
Page 10: ...x This page is intentionally left blank ...
Page 28: ...Contents xxviii This page is intentionally left blank ...
Page 32: ...Tables xxxii This page is intentionally left blank ...
Page 46: ...Introduction 1 10 1 This page is intentionally left blank ...
Page 336: ...Configuring the Switch 3 280 3 This page is intentionally left blank ...
Page 688: ...Command Line Interface 4 352 4 This page is intentionally left blank ...
Page 702: ...Glossary Glossary 8 This page is intentionally left blank ...
Page 710: ...Index 8 Index This page is intentionally left blank ...
Page 711: ...This page is intentionally left blank ...
Page 712: ...iES4028F 4028FP 4024GP ...