xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
145
delete address_binding
Purpose
Used to delete IP–MAC-Port Binding entries.
Syntax
delete address_binding [ip_mac [ipaddress <ipaddr> {mac_address <macaddr>} |
all] | blocked [all | vlan_name <vlan_name> mac_address <macaddr>]]
Description
This command is used to delete IP–MAC-Port Binding entries. Two different kinds of
information can be deleted.
•
ip_mac –
Individual Address
Binding entries can be deleted by entering the MAC
and IP addresses of the device. Toggling to
all
will delete all the Address Binding
entries.
•
blocked –
Blocked address binding entries (bindings between VLAN names and
MAC addresses) can be deleted by entering the VLAN name and the MAC
address of the device. To delete all the Blocked Address Binding entries, toggle
all.
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.
<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.
all
– For IP-MAC-Port 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.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete an IP–MAC-Port Binding entry on the Switch:
D G S – 3 4 2 6 : 5 # d e l e t e 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 . 1 m a c _ a d d r e s s 0 0 – 0 0 –
0 0 – 0 0 – 0 0 – 0 6
C o m m a n d : d e l e t e 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 . 1 m a c _ a d d r e s s 0 0 – 0 0 – 0 0 –
0 0 – 0 0 – 0 6
S u c c e s s .
D G S – 3 4 2 6 : 5 #
enable address_binding trap_log
Purpose
Used to enable the trap/log for the IP–MAC-Port Binding function.
Syntax
enable address_binding trap_log
Description
This command, along with the
disable address_binding trap_log
, will enable and
disable the sending of trap/log messages for IMPB. When enabled, the Switch will send a
trap/log message when an ARP packet is received that doesn’t match the IMPB white list.
Parameters None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable the sending of IP–MAC-Port Binding trap/log messages on the Switch:
D G S – 3 4 2 6 : 5 # e n a b l e a d d r e s s _ b i n d i n g t r a p _ l o g
C o m m a n d : e n a b l e a d d r e s s _ b i n d i n g t r a p _ l o g
S u c c e s s .
D G S – 3 4 2 6 : 5 #