2-262
Catalyst 3750 Switch Command Reference
OL-8552-07
Chapter 2 Catalyst 3750 Switch Cisco IOS Commands
ip source binding
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.
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
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.
Related Commands
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(20)SE
This command was introduced.
Command
Description
Enables IP source guard on an interface.
Содержание 3750 - Catalyst EMI Switch
Страница 494: ...2 464 Catalyst 3750 Switch Command Reference OL 8552 07 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands reserved only ...
Страница 772: ...2 742 Catalyst 3750 Switch Command Reference OL 8552 07 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vtp ...
Страница 1132: ...D 2 Catalyst 3750 Switch Command Reference OL 8552 07 Appendix D Acknowledgments for Open Source Software ...