A SERVICE OF

logo

xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
144
DGS–3426:5#config address_binding ip_mac ports 1:2 state enable
Command: config address_binding ip_mac ports 1:2 state enable
Success.
DGS–3426:5#
show address_binding
Purpose Used to display IP–MAC-Port Binding entries.
Syntax
show address_binding [ip_mac {[all | ipaddress <ipaddr> mac_address <macaddr>]} |
blocked {[all | vlan_name <vlan_name> mac_address <macaddr>]} | ports]
Description This command is used to 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 MAC 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 MAC address of the
device.
ports – Specifies a port or range of ports to be displayed information.
Parameters all – Displays all IP-MAC-Port binding entries; for Blocked Address Binding entries, all
specifies all the blocked VLANs and their bound MAC 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 display IP–MAC-Port Binding on the Switch:
DGS–3426:5#show address_binding ip_mac ipaddress 10.1.1.8 mac_address 00–00–00–
00–00–12
Command: show address_binding ip_mac ipaddress 10.1.1.8 mac_address 00–00–00–00–
00–12
IP Address MAC Address Mode Ports
–––––––––––– ––––––––––––––– –––––––––– ––––––––––––––
10.1.1.8 00–00–00–00–00–12 Static 1:1–1:24
Total entries : 1
DGS–3426:5#