C
HAPTER
25
| General Security Measures
DHCP Snooping
– 676 –
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.
EXAMPLE
Console(config)#ip dhcp snooping database flash
Console(config)#
ip dhcp snooping
information option
This command enables the use of DHCP Option 82 information for the
switch, and specifies the frame format to use for the remote-id when
Option 82 information is generated by the switch. Use the no form without
any keywords to disable this function, or the no form with the remote-id
keyword to set the remote ID to the switch’s MAC address encoded in
hexadecimal.
SYNTAX
ip dhcp snooping information option
[remote-id {ip-address [encode {ascii | hex}] |
mac-address [encode {ascii | hex}] |
string string}]
no ip dhcp snooping information option
[remote-id [ip-address encode] | [mac-address encode]]
mac-address - Inserts a MAC address in the remote ID sub-option
for the DHCP snooping agent (that is, the MAC address of the
switch’s CPU).
ip-address - Inserts an IP address in the remote ID sub-option for
the DHCP snooping agent (that is, the IP address of the
management interface).
encode - Indicates encoding in ASCII or hexadecimal.
string - An arbitrary string inserted into the remote identifier field.
(Range: 1-32 characters)
DEFAULT SETTING
Option 82: Disabled
Remote ID: MAC address (hexadecimal)