2-243
Cisco Catalyst Blade Switch 3130 and 3032 for Dell Command Reference
OL-13271-03
Chapter 2 Cisco Catalyst Blade Switch 3130 and 3032 for Dell Cisco IOS Commands
ip source binding
ip source binding
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 supported only if your switch is running the IP services feature set.
Syntax Description
Defaults
No IP source bindings are configured.
Command Modes
Global configuration
Command History
Usage Guidelines
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.
Examples
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.
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.
Release
Modification
12.2(40)EX1
This command was introduced.