132
Cisco Nexus 5500 Series NX-OS Security Command Reference
OL-27883-02
Chapter       I Commands
ip source binding
ip source binding
To create a static IP source entry for a Layer 2 Ethernet interface, use the ip source binding command. 
To disable the static IP source entry, use the no form of this command.
ip source binding IP-address MAC-address vlan vlan-id {interface ethernet 
slot/[QSFP-module/]port | port-channel channel-no}
no ip source binding IP-address MAC-address vlan vlan-id {interface ethernet 
slot/[QSFP-module/]port | port-channel channel-no} 
Syntax Description
Command Default None
Command Modes Global configuration mode
Command History
Usage Guidelines By default, there are no static IP source entries.
To use this command, you must enable the Dynamic Host Configuration Protocol (DHCP) snooping 
feature using the feature dhcp command.
Examples This example shows how to create a static IP source entry associated with VLAN 100 on Ethernet 
interface 2/3:
switch# configure terminal 
switch(config)# ip source binding 10.5.22.7 001f.28bd.0013 vlan 100 interface ethernet 2/3 
switch(config)# 
IP-address IPv4 address to be used on the specified interface. Valid entries are in 
dotted-decimal format.
MAC-address MAC address to be used on the specified interface. Valid entries are in 
dotted-hexadecimal format.
vlan vlan-id Specifies the VLAN associated with the IP source entry.
interface ethernet 
slot/[QSFP-module/]port
Specifies the Layer 2 Ethernet interface associated with the static IP entry. 
The slot number can be from 1 to 255. The QSFP-module number is from 1 
to 4. The port number can be from 1 to 128.
Note The QSFP-module number applies only to the QSFP+ Generic 
Expansion Module (GEM). 
port-channel 
channel-no
Specifies the EtherChannel interface. The number can be from 1 to 4096.
Release Modification
6.0(2)N1(1) Support for the QSFP+ GEM was added. 
5.2(1)N1(1) This command was introduced.