DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
365
Chapter 34
IP-MAC-Port Binding (IMPB)
Command List
config address_binding ip_mac ports
[<portlist> | all] {arp_inspection [strict | loose | disable] |
ip_inspection [enable | disable] | protocol [ipv4] | allow_zeroip [enable | disable] |
forward_dhcppkt [enable | disable] | stop_learning_threshold <int 0-500>}
create address_binding ip_mac ipaddress
<ipaddr> mac_address <macaddr> {ports [<portlist>
| all]}
delete address_binding blocked
[all | vlan_name <vlan_name> mac_address <macaddr>]
delete address_binding ip_mac
[all | ipaddress <ipaddr> mac_address <macaddr>]
config address_binding ip_mac ipaddress
<ipaddr> mac_address <macaddr> {ports [<portlist>
| all]}
show address_binding
{ports {<portlist>}}
show address_binding blocked
[all | vlan_name <vlan_name> mac_address <macaddr>]
show address_binding ip_mac
[all | ipaddress <ipaddr> mac_address <macaddr>]
enable address_binding dhcp_snoop
disable address_binding dhcp_snoop
clear address_binding dhcp_snoop binding_entry ports
[<portlist> | all]
show address_binding dhcp_snoop
{max_entry {ports <portlist>}}
show address_binding dhcp_snoop binding_entry
{port <port>}
config address_binding dhcp_snoop max_entry ports
[<portlist> | all] limit [<value 1-50> |
no_limit]
enable address_binding trap_log
disable address_binding trap_log
config address_binding recover_learning ports
[<portlist> | all]
34-1
config address_binding ip_mac
Description
This command is used to configure the state of IMPB on the Switch for each port.
Format
config address_binding ip_mac ports [<portlist> | all] {arp_inspection [strict | loose |
disable] | ip_inspection [enable | disable] | protocol [ipv4] | allow_zeroip [enable | disable] |
forward_dhcppkt [enable | disable] | stop_learning_threshold <int 0-500>}
Parameters
ports
- Specifies the ports used for this configuration.
<portlist>
- Enter the list of ports used for this configuration here.
all
- Specifies that all the ports will be used.
arp_inspection
- (Optional) Specifies that the ARP inspection option will be configured.
strict
- In this mode, all packets are dropped by default until a legal ARP or IP packets are
detected.
loose
- In this mode, all packets are forwarded by default until an illegal ARP or broadcast IP
packets are detected. If not specified strict or loose, default is strict.
disable
- Disable ARP inspection function. The default value is disabled.
ip_inspection
- (Optional) Specifies that the IP inspection option will be configured.
enable
- Enable IP inspection function. The legal IP packets will be forward, while the illegal
IP packets will be dropped.