Users Guide

Supported
Releases
10.5.0 or later or later
ip dhcp snooping (interface)
Enables DHCP snooping on a VLAN.
Syntax
ip dhcp snooping
Parameters None
Defaults Enabled if enabled globally
Command Mode INTERFACE VLAN
Usage
Information
When you enable this feature, the switch begins to monitor all transactions between DHCP servers and
DHCP clients and use the information to build the DHCP snooping binding table.
The system snoops packets from DHCP clients on the DHCP snooping-enabled VLAN and forwards the
packets to all physical and port-channel interfaces of the VLAN.
The system processes DHCP server packets that are received through trusted physical interfaces and
port-channel interfaces and forwards the packets to all VLAN member interfaces.
You can enable DHCP snooping globally and disable it on an interface.
This command is accessible to users with sysadmin and secadmin roles.
The no version of this command disables DHCP snooping on the interface.
Example
OS10(conf-if-vl-4)# ip dhcp snooping
Supported
Releases
10.5.0 or later or later
ip dhcp snooping binding
Create a static DHCP snooping binding entry in the DHCP binding table.
Syntax
ip dhcp snooping binding mac address vlan vlan-id ip ip-address interface
[ethernet slot/port/sub-port | port-channel port-channel-id | VLTi]
Parameters
mac addressEnter the MAC address of the host to which the server is leasing the IP address.
vlan vlan-idEnter the VLAN ID of the VLAN the host belongs to. The range is from 1 to 4093.
ip ip-addressEnter the IP address of the host.
interface interface-typeEnter the interface type information.
Defaults None
Command Mode CONFIGURATION
Usage
Information
When you create a static DHCP snooping entry, it does not time out.
Before creating a static entry for a VLAN, create the VLAN. If you do not create a VLAN before creating
a static entry, the system displays an error message.
Before deleting a port-channel or VLAN, remove any associated DHCP snooping entries.
This command is accessible to users with sysadmin and secadmin roles.
The no version of this command deletes the static entry from the DHCP snooping binding table.
Example
OS10(config)# ip dhcp snooping binding mac 00:04:96:70:8a:12 vlan 100 ip
100.1.1.2 interface ethernet 1/1/4
Supported
Releases
10.5.0 or later
342 System management