Alcatel-Lucent 6850-48 Guida Di Riferimento

Pagina di 3444
DHCP Relay Commands
page 36-40
OmniSwitch CLI Reference Guide
September 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 vlan vlan_id]}
no ip helper dhcp-snooping port binding mac_address port slot/port address ip_address 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.
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 6400, 6850, 6855, 9000, 9000E
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.
Examples
-> ip helper dhcp-snooping binding disable
-> ip helper dhcp-snooping binding enable