xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
144
D G S – 3 4 2 6 : 5 # c o n f i g a d d r e s s _ b i n d i n g i p _ m a c p o r t s 1 : 2 s t a t e e n a b l e
C o m m a n d : c o n f i g a d d r e s s _ b i n d i n g i p _ m a c p o r t s 1 : 2 s t a t e e n a b l e
S u c c e s s .
D G S – 3 4 2 6 : 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:
D G S – 3 4 2 6 : 5 # s h o w a d d r e s s _ b i n d i n g i p _ m a c i p a d d r e s s 1 0 . 1 . 1 . 8 m a c _ a d d r e s s 0 0 – 0 0 – 0 0 –
0 0 – 0 0 – 1 2
C o m m a n d : s h o w a d d r e s s _ b i n d i n g i p _ m a c i p a d d r e s s 1 0 . 1 . 1 . 8 m a c _ a d d r e s s 0 0 – 0 0 – 0 0 – 0 0 –
0 0 – 1 2
I P A d d r e s s M A C A d d r e s s M o d e P o r t s
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
1 0 . 1 . 1 . 8 0 0 – 0 0 – 0 0 – 0 0 – 0 0 – 1 2 S t a t i c 1 : 1 – 1 : 2 4
T o t a l e n t r i e s : 1
D G S – 3 4 2 6 : 5 #