OcNOS-RON : System Management Guide : System Management Command Reference : DHCP Snooping Commands : ip dhcp snooping binding
ip dhcp snooping binding
Use this command to create a static binding entry in the binding table. All the DHCP responses will be validated against the static entries. If the response does not match the entry in the binding table, the response packet is dropped.
Use the no parameter to remove an entry from the binding table.
Command Syntax
ip dhcp snooping binding bridge <1-32> XXXX.XXXX.XXXX <1-4094> (ipv4 A.B.C.D | ipv6 X:X::X:X) IFNAME
no ip dhcp snooping binding bridge <1-32> XXXX.XXXX.XXXX <1-4094> (ipv4 | ipv6 )
Parameters
<1-32>
Bridge number
XXXX.XXXX.XXXX
MAC address
<1-4094>
VLAN identifier
A.B.C.D
IPv4 address
X:X::X:X
IPv6 address
IFNAME
Interface name
Default
By default binding table will not have any entry
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#ip dhcp snooping binding bridge 1 0001.0002.0003 2 ipv4 12.0.0.1 xe1
(config)#no ip dhcp snooping binding bridge 1 0001.0002.0003 2 ipv4
Last modified date: 08/28/2023