ip source binding
ip source binding
Syntax Description
Defaults
Command Modes
Command History
Usage Guidelines
Examples
Catalyst 3750-X and 3560-X Switch Command Reference
2-278
Downloaded from
www.Manualslib.com
Use the ip source binding global configuration command on the switch stack or on a standalone switch
to configure static IP source bindings on the switch. Use the no form of this command to delete static
bindings.
ip source binding mac-address vlan vlan-id ip-address interface interface-id
no source 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 from 1 to 4094.
ip-address
Specify an IP address.
interface interface-id
Specify an interface on which to add or delete an IP source binding.
No IP source bindings are configured.
Global configuration
Release
Modification
12.2(53)SE2
This command was introduced.
A static IP source binding entry has an IP address, its associated MAC address, and its associated VLAN
number. The entry is based on the MAC address and the VLAN number. If you modify an entry by
changing only the IP address, the switch updates the entry instead creating a new one.
This example shows how to add a static IP source binding:
Switch(config)# ip source binding 0001.1234.1234 vlan 1 172.20.50.5 interface
gigabitethernet1/0/1
This example shows how to add a static binding and then modify the IP address for it:
Switch(config)# ip source binding 0001.1357.0007 vlan 1 172.20.50.25 interface
gigabitethernet1/0/1
Switch(config)# ip source binding 0001.1357.0007 vlan 1 172.20.50.30 interface
gigabitethernet1/0/1
You can verify your settings by entering the show ip source binding privileged EXEC command.
manuals search engine
Chapter 2
Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
OL-21522-02