DHCP Relay Commands
page 32-36 OmniSwitch 6250 CLI Reference Guide November 2009
ip helper dhcp-snooping binding
Enables or disables the DHCP Snooping binding table functionality. The binding table contains the MAC
address, IP address, lease time, binding type (dynamic or static), VLAN number, and the interface infor-
mation that corresponds to a local untrusted port on the switch. In addition, this command is also used to
configure a static entry in the binding table.
ip helper dhcp-snooping port binding {[enable | disable] | [mac_address port slot/port address
ip_address lease-time time vlan vlan_id]}
no ip helper dhcp-snooping port binding mac_address port slot/port address ip_address lease-time
time vlan vlan_id
Syntax Definitions
enable Enables the creation of binding table entries.
disable Disables the creation of binding table entries.
mac_address The client MAC address.
slot/port The slot and port number that received the DHCP request.
ip_address The IP address that the DHCP server offered to the client.
time The IP address lease time assigned by the DHCP server.
vlan_id The VLAN identification number (1–4094) of the VLAN to which the
client belongs.
Defaults
By default, the binding table functionality is enabled when the DHCP Snooping feature is enabled for the
switch or for a VLAN.
Platforms Supported
OmniSwitch 6250
Usage Guidelines
• Use the no form of this command to remove a static entry from the DHCP Snooping binding table.
• The enable and disable parameters are independent of the other parameters, in that they are only used
to turn the binding table functionality on and off. Enabling or disabling binding table functionality and
creating a static binding table entry is not allowed on the same command line.
• Note that enabling the binding table functionality is not allowed if Option-82 data insertion is not
enabled at either the switch or VLAN level.
• Static binding table entries are created using this command. If DHCP Snooping binding table function-
ality is not enabled, creating a static entry is not allowed.
• Dynamic binding table entries are created when the relay agent receives a DHCPACK packet.