DES-3028 DES-3028P DES-3028G DES-3052 DES-3052P Layer 2 Fast Ethernet Switch CLI Reference Manual
316
45
IP-MAC-PORT
B
INDING
C
OMMANDS
The IP network layer uses a four-byte address. The Ethernet link layer uses a six-byte MAC address. Binding these two address
types together allows the transmission of data between the layers. The primary purpose of IP-MAC-PORT binding is to restrict the
access to a switch to a number of authorized users. Only the authorized client can access the Switch’s port by checking the pair of
IP-MAC addresses with the pre-configured database. If an unauthorized user tries to access an IP-MAC-PORT binding enabled
port, the system will block the access by dropping its packet. The maximum number of IP-MAC binding entries is dependant on
chip capability (e.g. the ARP table size) and storage size of the device. For the DES-3028/28P/28G/52/52P series, the maximum
number of IP-MAC-PORT Binding ARP mode is 500. The creation of authorized users can be manually configured by CLI or
Web. The function is port-based, meaning a user can enable or disable the function on the individual port.
The IP-MAC-PORT Binding commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters)
in the following table.
Command Parameters
create address_binding
ip_mac ipaddress
<ipaddr> mac_address <macaddr> {ports [<portlist> | all]}
config address_binding
ip_mac ipaddress
<ipaddr> mac_address <macaddr> {ports [<portlist> | all]}
config address_binding
ip_mac ports
[<portlist> | all] state [enable {[strict | loose]} | disable ]
config address_binding
ip_mac ports
[<portlist> | all] allow_zeroip [enable|disable]
config address_binding
ip_mac ports
[<portlist> | all] forward_dhcppkt [enable | disable]
show
address_binding
[ip_mac {[all | ipaddress <ipaddr> mac_address
<macaddr>]} | blocked {[all | vlan_name <vlan_name>
mac_address <macaddr>]} | ports]
delete address_binding
[ip-mac [ipaddress <ipaddr> {mac_address <macaddr>}
|all] | blocked [all | vlan_name <vlan_name> mac_address
<macaddr>]]
enable address_binding
trap_log
disable address_binding
trap_log
show address_binding
dhcp_snoop
{[max_entry {ports <portlist> | binding_entry {port <port>}]}
enable address_binding
dhcp_snoop
disable address_binding
dhcp_snoop
clear address_binding
dhcp_snoop binding_entry
[<portlist> | all]