xStack
®
DGS-3120 Series Managed Switch CLI Reference Guide
350
will be applied to all ports.
<portlist>
- Enter a list of ports used for this configuration here.
all
- Specify that all the ports will be included.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To create an IMPB entry:
DGS-3120-24TC:admin#create address_binding ip_mac ipaddress 10.1.1.1
mac_address 00-00-00-00-00-11
Command: create address_binding ip_mac ipaddress 10.1.1.1 mac_address 00-00-00-
00-00-11
Success.
DGS-3120-24TC:admin#
34-2
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
- Specify the ports used for this configuration.
<portlist>
- Enter the list of ports used for this configuration here.
all
- Specify that all the ports will be used.
arp_inspection
- (Optional) Specify 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) Specify 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.
disable
- Disable IP inspection function. The default value is disabled.
protocol
- (Optional) Specify the version used.
ipv4
- Only IPv4 packets will be checked.
allow_zeroip
- (Optional) Specify whether to allow ARP packets with a source IP address of
0.0.0.0. If the IP address 0.0.0.0 is not configured in the binding list and this setting is enabled,
ARP packets with the source IP address of 0.0.0.0 will be allowed; If the IP address 0.0.0.0 is
not configured in the binding list and this setting is disabled, ARP packets with the source IP
address of 0.0.0.0 will not be allowed. This option does not affect the IMPB ACL Mode.