xStack DGS-3612G Layer 3 Gigabit Ethernet Managed Switch CLI Manual
config address_binding ip_mac ports
all
– specifies all ports on the switch.
state [enable | disable]
– Enables or disables the specified range of ports.
Restrictions Only
administrator-level users can issue this command.
Example usage:
To configure address binding on the Switch:
DGS-3612G:4#config address_binding ip_mac ports 2 state enable
Command: config address_binding ip_mac ports 2 state enable
Success.
DGS-3612G:4#
show address_binding
Purpose
Used to display IP-MAC Binding entries.
[ip_mac {[all | ipaddress <ipaddr> mac_address <macaddr>]} |
blocked {[all | vlan_name <vlan_name> mac_address <macaddr>]}
| ports]
This command will display IP-MAC Binding entries. Three different
kinds of information can be viewed.
Parameters
all
– For IP_MAC binding
all
specifies all the IP-MAC 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 binding is
made.
<macaddr>
The MAC address of the device where the IP-MAC 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
Syntax
Description
•
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.
•
ip_mac –
Address
Binding entries can be viewed by entering
the physical and IP addresses of the device.
•
ports
- The number of enabled ports on a device.
Example usage:
To show IP-MAC Binding on the switch:
125