Chapter 2
Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
ip source binding
Use the ip source binding global configuration command to configure static IP source bindings on the
switch. Use the no form of this command to delete static bindings.
Syntax Description
mac-address
vlan vlan-id
ip-address
interface interface-id
Defaults
No IP source bindings are configured.
Command Modes
Global configuration
Command History
Release
12.2(25)EX
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
gigabitethernet0/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
gigabitethernet0/1
Switch(config)# ip source binding 0001.1357.0007 vlan 1 172.20.50.30 interface
gigabitethernet0/1
You can verify your settings by entering the show ip source binding privileged EXEC command.
OL-9640-10
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
Specify a MAC address.
Specify a VLAN number. The range is from 1 to 4094.
Specify an IP address.
Specify an interface on which to add or delete an IP source binding.
Modification
This command was introduced.
Cisco ME 3400 Ethernet Access Switch Command Reference
ip source binding
2-193