11.07.2015 Views

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 2<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> <strong>Cisco</strong> <strong>IOS</strong> Comm<strong>and</strong>sip source bindingip source bindingUse the ip source binding global configuration comm<strong>and</strong> on the switch stack or on a st<strong>and</strong>alone switchto configure static IP source bindings on the switch. Use the no form of this comm<strong>and</strong> to delete staticbindings.ip source binding mac-address vlan vlan-id ip-address interface interface-idno source binding mac-address vlan vlan-id ip-address interface interface-idThis comm<strong>and</strong> is available only if your switch is running the IP services feature set.Syntax Descriptionmac-addressSpecify a MAC address.vlan vlan-id Specify a VLAN number. The range is from 1 to 4094.ip-addressSpecify an IP address.interface interface-id Specify an interface on which to add or delete an IP source binding.DefaultsNo IP source bindings are configured.Comm<strong>and</strong> ModesGlobal configurationComm<strong>and</strong> HistoryRelease12.2(35)SE2ModificationThis comm<strong>and</strong> was introduced.Usage GuidelinesA static IP source binding entry has an IP address, its associated MAC address, <strong>and</strong> its associated VLANnumber. The entry is based on the MAC address <strong>and</strong> the VLAN number. If you modify an entry bychanging only the IP address, the switch updates the entry instead creating a new one.ExamplesThis example shows how to add a static IP source binding:<strong>Switch</strong>(config)# ip source binding 0001.1234.1234 vlan 1 172.20.50.5 interfacegigabitethernet1/0/1This example shows how to add a static binding <strong>and</strong> then modify the IP address for it:<strong>Switch</strong>(config)# ip source binding 0001.1357.0007 vlan 1 172.20.50.25 interfacegigabitethernet1/0/1<strong>Switch</strong>(config)# ip source binding 0001.1357.0007 vlan 1 172.20.50.30 interfacegigabitethernet1/0/1You can verify your settings by entering the show ip source binding privileged EXEC comm<strong>and</strong>.OL-9776-08<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> Comm<strong>and</strong> Reference2-271

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!