xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
145
DGS-3627:5#
config address_binding ip_mac ports
Purpose
Used to configure an IP-MAC state to enable or disable for specified ports.
Syntax
config address_binding ip_mac ports [<portlist> | all] state [enable |
disable]
Description
This command will configure IP-MAC state to enable or disable for specified
ports.
Parameters
<portlist>
−
Specifies a port or range of ports. 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 all ports on the switch.
state [enable | disable]
– Enables or disables the specified range of ports.
Restrictions
Only administrator-level and operator-level users can issue this command.
Example usage:
To configure address binding on the Switch:
DGS-3627:5#config address_binding ip_mac ports 2 state enable
Command: config address_binding ip_mac ports 2 state enable
Success.
DGS-3627:5#
show address_binding
Purpose
Used to display IP-MAC-Port binding entries.
Syntax
[ip_mac {[all | ipaddress <ipaddr> mac_address <macaddr>]} | blocked
{[all | vlan_name <vlan_name> mac_address <macaddr>]} | ports]
Description
This command will display IP-MAC-Port binding entries. Three different kinds of
information can be viewed.
•
ip_mac –
Address
Binding entries can be viewed by entering the
physical and IP addresses of the device.
•
blocked –
Blocked address binding entries (bindings between VLAN
names and MAC addresses) can be viewed by entering the VLAN
name and the physical address of the device.
•
ports
- The number of enabled ports on a device.
Parameters
all
– For IP_MAC binding
all
specifies all the IP-MAC-Port binding entries; for
Blocked Address Binding entries
all
specifies all the blocked VLANs and their
bound physical addresses.
<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.
<vlan_name>
The VLAN name of the VLAN that is bound to a MAC address in
order to block a specific device on a known VLAN.
Restrictions None
Example usage:
To show IP-MAC-Port binding on the switch: