xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
158
create address_binding ip_mac ipaddress
Purpose
Used to create an IP–MAC–Port Binding entry in the white list.
Syntax
create address_binding ip_mac ipaddress <ipaddr> mac_address <macaddr>
{ports [ <portlist> | all] | mode [ arp | acl ]}
Description
This command is used to 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.
all
– Specifies that all ports on the Switch will be configured for address binding.
mode
– This command is used to be compatible with Release 1 CLI firmware.
Restrictions
Only Administrator, Operator and Power User-level users can issue this command.
Example usage:
To create address binding entry on the Switch:
DES-3528:admin# 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.
DES-3528:admin#
config address_binding ip_mac ipaddress
Purpose
Used to configure an IP–MAC–Port Binding entry.
Syntax
config address_binding ip_mac ipaddress <ipaddr> mac_address <macaddr>
{ports [<portlist> | all] | mode [arp | acl]}
Description
This command is used to configure 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, if no
port is specified it will apply to all ports.
all
– Specifies that all ports on the Switch will be configured for address binding.
mode
- When configuring the mode of the port to be ACL mode, the Switch will create an
ACL access entry corresponding to the entries of the port. If the port changes to ARP
mode, all ACL access entries are deleted automatically. The default mode for a port is
ARP mode.
Restrictions
Only Administrator, Operator and Power User-level users can issue this command.
Example usage:
To configure address binding entry on the Switch:
DES-3528:admin# config address_binding ip_mac ipaddress 10.1.1.3 mac_address 00-00-
00-00-00-05
Command: config address_binding ip_mac ipaddress 10.1.1.3 mac_address 00-00-00-00-
00-05
Success.
DES-3528:admin#