13
321
13.13 ip source-guard binding
Use the ip source-guard binding Global Configuration mode command to
configure the static IP source bindings on the device. Use the no form of this
command to delete the static bindings.
Syntax
ip source-guard binding
no ip source-guard binding
Parameters
•
mac-address
—Specifies a MAC address.
•
vlan-id
—Specifies a VLAN number.
•
ip-address
—Specifies an IP address.
•
interface-id
—Specifies an interface ID. The interface ID can be one of the
following types: Ethernet port or Port-channel.
Default Configuration
No static binding exists.
Command Mode
Global Configuration mode
User Guidelines
Use the ip source-guard binding command to add a static entry to the DHCP
database.
An entry added by this command can override the existed entry.
Use the no ip source-guard binding command to delete an entry from the DHCP
database.
Example
The following example configures the static IP source bindings.
switchxxxxxx(config)#
gi14
mac-address vlan-id ip-address interface-id
mac-address vlan-id
ip source-guard binding
OL-32830-01 Command Line Interface Reference Guide
DHCP Snooping Commands
0060.704C.73FF 23 176.10.1.1