D-Link DGS-3600 Switch User Manual


 
xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
142
DGS-3600:4#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-3600:4#
To create address binding on the Switch for ACL mode:
DGS-3600:4#create address_binding ip_mac ipaddress 10.1.1.3
mac_address 00-00-00-00-00-04 mode acl
Command: create address_binding ip_mac ipaddress 10.1.1.3 mac_address
00-00-00-00-00-04 mode acl
Success.
DGS-3600:4#
config address_binding ip_mac ipaddress
Purpose Used to configure an IP-MAC Binding entry.
Syntax
<ipaddr> mac_address <macaddr> {ports [<portlist> | all] | mode
{arp | acl]}
Description This command will configure an IP-MAC Binding entry.
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.
<portlist> - Specifies a port or range of ports to be configured for address
binding. The port list is specified by listing the lowest switch number and
the beginning port number on that switch, separated by a colon. Then the
highest switch number, and the highest port number of the range (also
separated by a colon) are specified. The beginning and end of the port
list range are separated by a dash. For example, 1:3 specifies switch
number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4 specifies
all of the ports between switch 1, port 3 and switch 2, port 4 in
numerical order. Non-contiguous portlist entries are separated by a
comma. (ex: 1:1-1:3,1:7-1: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 binding settings by
choosing one of the following:
arp - Choosing this selection will set a normal IP-MAC Binding
entry for the IP address and MAC address entered.
acl - Choosing this entry will allow only packets from the source
IP-MAC 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 Binding Ports window as seen previously.
Restrictions Only administrator-level users can issue this command.
Example usage:
To configure address binding on the Switch: