xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
156
create address_binding ip_mac ipaddress
Purpose
To create an address_binding entry.
Syntax
create address_binding ip_mac ipaddress <ipaddr> mac_address
<macaddr> {ports [ <portlist>| all ] | mode [ arp| acl ]}
Description
Use this command to create an address_binding entry. One MAC
address can map to multiple IP addresses. If some ports which are
both acl mode and IP-MAC-Port binding enabled belong to the entry,
the switch will add the ACL access entries automatically.
Parameters
<ipaddr>
−
The IP address of the device where the IP-MAC binding is
made.
<macaddr>
−
The MAC address of the device where the IP-MAC
binding is made.
<ports>
−
Specifies a port or range of ports to be configured for
address binding.
all
– Specifies that all ports on the switch will be configured for address
binding.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To create address binding for all ports on the Switch:
DGS-3627:5#create address_binding ip_mac ipaddress 10.1.1.3
mac_address 00-00-00-00-00-04
Command: create address_binding ip_mac ipaddress 10.1.1.3 mac_address
00-00-00-00-00-04
Success.
DGS-3627:5#
To create address binding on the Switch to port 1:
DGS-3627:5# create address_binding ip_mac ipaddress 10.1.1.1
mac_address 00-00-00-00-00-11 ports 1:1
Command: create address_binding ip_mac ipaddress 10.1.1.1 mac_address
00-00-00-00-00-11 ports 1:1
Success.
DGS-3627:5#