Owners manual

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
176
Example
This example shows how to renew the DHCP snooping binding database.
Switch# renew ip dhcp snooping database tftp: //10.0.0.2/store/dhcp-snp-bind
Switch#
17-7 ip dhcp snooping binding
This command is used to manually configure a DHCP snooping entry.
ip dhcp snooping binding MAC-ADDRESS vlan VLAN-ID IP-ADDRESS interface INTERFACE-ID
expiry SECONDS
Parameters
MAC-ADDRESS
Specifies the MAC address of the entry to add or delete.
vlan VLAN-ID
Specifies the VLAN of the entry to add or delete.
IP-ADDRESS
Specifies the IP address of the entry to add or deleted.
INTERFACE-ID
Specifies the interface (physical port and port channel) on which to add
or delete a binding entry.
SECONDS
Specifies the interval after which bindings are no longer valid. This
value must be between 60 and 4294967295 seconds.
Default
None.
Command Mode
Privileged EXEC Mode.
Command Default Level
Level: 12.
Usage Guideline
Use this command to create a dynamic DHCP snooping entry.
Example
This example shows how to configure a DHCP snooping entry with IP address 10.1.1.1 and MAC address
00-01-02-03-04-05 at VLAN 2 and port eth3/0/10 with an expiry time of 100 seconds.
Switch# ip dhcp snooping binding 00-01-02-03-04-05 vlan 2 10.1.1.1 interface eth3/0/10
expiry 100
Switch#
This example shows how to disable a DHCP snooping entry with IP address 10.1.1.1 and MAC address
00-01-02-03-04-05 at VLAN 2 and port eth3/0/10.
Switch# ip dhcp snooping binding 00-01-02-03-04-05 vlan 2 10.1.1.1 interface eth3/0/10
Switch#