Enabling the DHCP Snooping Binding Database Agent
Beginning in privileged EXEC mode, follow these steps to enable and configure the DHCP snooping binding
database agent on the switch:
SUMMARY STEPS
1.
configure terminal
2.
ip dhcp snooping database
{
flash
[
number
]
:
/
filename
|
ftp://user:password@host/filename
|
http://
[[
username:password
]
@
]{
hostname | host-ip
}[/
directory
]
/image-name.tar
|
rcp://user@host/filename
}|
tftp://host/filename
3.
ip dhcp snooping database timeout seconds
4.
ip dhcp snooping database write-delay seconds
5.
end
6.
ip dhcp snooping binding mac-address vlan vlan-id ip-address interface interface-id expiry seconds
DETAILED STEPS
Purpose
Command or Action
Enters the global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 1
Specifies the URL for the database agent or the binding file by
using one of these forms:
ip dhcp snooping database
{
flash
[
number
]
:
/
filename
|
ftp://user:password@host/filename
|
Step 2
http://
[[
username:password
]
@
]{
hostname |
•
flash
[
number
]
:/filename
host-ip
}[/
directory
]
/image-name.tar
|
rcp://user@host/filename
}|
tftp://host/filename
(Optional) Use the
number
parameter to specify the stack
member number of the stack master. The range for
number
is 1 to 9.
Example:
Switch(config)#
ip dhcp snooping database
tftp://10.90.90.90/snooping-rp2
•
ftp://user:password@host/filename
•
http://
[[
username:password
]
@
]{
hostname |
host-ip
}[/
directory
]
/image-name.tar
•
rcp://user@host/filename
•
tftp://host/filename
Specifies (in seconds) how long to wait for the database transfer
process to finish before stopping the process.
ip dhcp snooping database timeout seconds
Example:
Switch(config)#
ip dhcp snooping database
timeout 300
Step 3
The default is 300 seconds. The range is 0 to 86400. Use 0 to
define an infinite duration, which means to continue trying the
transfer indefinitely.
Catalyst 2960-XR Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX1
182
OL-29434-01
Configuring DHCP
Enabling the DHCP Snooping Binding Database Agent