Ip Dhcp Snooping Binding; Delete A - Cisco Catalyst 3560-X Command Reference Manual

Hide thumbs Also See for Catalyst 3560-X:
Table of Contents

Advertisement

ip dhcp snooping binding

ip dhcp snooping binding
Syntax Description
Defaults
Command Modes
Command History
Usage Guidelines
Examples
Catalyst 3750-X and 3560-X Switch Command Reference
2-240
Downloaded from
www.Manualslib.com
Use the ip dhcp snooping binding privileged EXEC command on the switch stack or on a standalone
switch to configure the DHCP snooping binding database and to add binding entries to the database. Use
the no form of this command to delete entries from the binding database.
ip dhcp snooping binding mac-address vlan vlan-id ip-address interface interface-id expiry
seconds
no ip dhcp snooping binding mac-address vlan vlan-id ip-address interface interface-id
This command is available only if your switch is running the IP services feature set.
mac-address
Specify a MAC address.
vlan vlan-id
Specify a VLAN number. The range is 1 to 4094.
ip-address
Specify an IP address.
interface interface-id
Specify an interface on which to add or delete a binding entry.
expiry seconds
Specify the interval (in seconds) after which the binding entry is no longer
valid. The range is 1 to 4294967295.
No default database is defined.
Privileged EXEC
Release
Modification
12.2(53)SE2
This command was introduced.
Use this command when you are testing or debugging the switch.
In the DHCP snooping binding database, each database entry, also referred to a binding, has an IP
address, an associated MAC address, the lease time (in hexadecimal format), the interface to which the
binding applies, and the VLAN to which the interface belongs. The database can have up to 8192
bindings.
Use the show ip dhcp snooping binding privileged EXEC command to display only the configured
bindings. Use the show ip source binding privileged EXEC command to display the dynamically and
statically configured bindings.
This example shows how to generate a DHCP binding configuration with an expiration time of
1000 seconds on a port in VLAN 1:
Switch# ip dhcp snooping binding 0001.1234.1234 vlan 1 172.20.50.5 interface
gigabitethernet1/0/1 expiry 1000
manuals search engine
Chapter 2
Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
OL-21522-02

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3750-x

Table of Contents