![D-Link xStack DGS-3600 Series Cli Manual Download Page 146](http://html1.mh-extra.com/html/d-link/xstack-dgs-3600-series/xstack-dgs-3600-series_cli-manual_4127464146.webp)
xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
143
Command Parameters
create address_binding ip_mac ipaddress
<ipaddr> mac_address <macaddr> {ports [<portlist> | all] |
mode [arp | acl]}
delete address_binding
[ip-mac [ipaddress <ipaddr> mac_address <macaddr> |all] |
blocked [all | vlan_name <vlan_name> mac_address
<macaddr>]]
enable address_binding acl_mode
disable address_binding acl_mode
enable address_binding trap_log
disable address_binding trap_log
Each command is listed, in detail, in the following sections.
create address_binding ip_mac ipaddress
Purpose
Used to create an IP-MAC-Port binding entry.
Syntax
<ipaddr> mac_address <macaddr> {ports [<portlist> | all] | mode
[arp | acl]}
Description
This command will create an IP-MAC-Port binding entry.
Parameters
<ipaddr>
The IP address of the device where the IP-MAC-Port binding
is made.
<macaddr>
The MAC address of the device where the IP-MAC-Port
binding is made.
<portlist>
- Specifies a port or range of ports to be configured for
address binding. The beginning and end of the port list range are
separated by a dash. Non-contiguous portlist entries are separated by
a comma. (ex: 1-3,7-9)
all
– Specifies that all ports on the switch will be configured for address
binding.
mode
– The user may set the mode for this IP-MAC-Port binding
settings by choosing one of the following:
•
arp
- Choosing this selection will set a normal IP-MAC-Port
binding entry for the IP address and MAC address entered.
•
acl
- Choosing this entry will allow only packets from the
source IP-MAC-Port binding entry created here. All other
packets with a different IP address will be discarded by the
Switch. This mode can only be used if the ACL Mode has
been enabled in the IP-MAC-Port binding Ports window as
seen previously.
Restrictions Only
administrator-level
and operator-level users can issue this
command.
Example usage:
To create address binding 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 for ACL mode: