Ip Source Binding - Cisco WS-C3560E-24PD-E Command Reference Manual

Catalyst 3560 series switch
Table of Contents

Advertisement

Chapter 2
Catalyst 3560 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.
This command is available only if your switch is running the IP services image, formerly known as the
enhanced multilayer image (EMI).
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(20)SE
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.
78-16405-05
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.
Catalyst 3560 Switch Command Reference
ip source binding
2-175

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents