![D-Link DGS-3700 Series Скачать руководство пользователя страница 427](http://html.mh-extra.com/html/d-link/dgs-3700-series/dgs-3700-series_reference-manual_76575427.webp)
DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 427
config address_binding ip_mac ports
filtering table, and one IPv6 entry is allowed to be forwarded, all IPv4 packets get
forwarded.
strict
−
This mode provides a more strict way of control.
If user chooses it, all packets will be sent to CPU, thus all packets will not be
forwarded by the hardward until the S/W learn entries for the port. The port will
check ARP packets and IP packets by IP-MAC-PORT Binding entries.
The packet is found by the entry, the MAC will be set to dynamic.
The packet isn't found by the entry, the MAC will be set to block.
Other packets will be dropped. The default mode is strict if not specified.
loose
−
This mode provides a more loose way of control.
If user chooses loose, ARP packets and IP Broadcast packets will go to the CPU. The
packet will still be forwarded by the hardware until a specific source MAC is
blocked by the software.
The port will check ARP packets and IP Broadcast packets by IP-MAC-PORT
Binding entries.
The packet is found by the entry, the MAC will be set to dynamic.
The packet isn't found by the entry, the MAC will be set to block.
Other packets will be bypassed.
allow_zeroip
−
Specify whether to allow ARP packet with SIP address 0.0.0.0.
Supposed that 0.0.0.0 is not configured in the binding list, when it is set to enabled,
the ARP packet with this source IP address 0.0.0.0 is allowed; when it is set to
disable the ARP packet with this source IP address 0.0.0.0 is dropped.
This option does not affect the IP-MAC-Port binding ACL Mode.
forward_dhcppkt
−
By default, the dhcp packet with broadcast DA will be flooded.
When set to disabled, the broadcast DHCP packet received by the specified port will
not be forwarded. This setting is effective when DHCP snooping is enabled, under
which case the DHCP packet which has been trapped to CPU needs to be
forwarded by the software. This setting controls the forwarding behaviour under
this situation.
<portlist>
−
Specifies a port or range of ports.
all
– specifies all ports on the switch.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure port 1 enable address_binding:
DGS-3700-12:5# config address_binding ip_mac ports 1 state enable
Command: config address_binding ip_mac ports 1 state enable
Success.
DGS-3700-12:5#
create address_binding ip_mac ipaddress
Purpose
To create an address_binding entry.
Syntax
create address_binding ip_mac [ipaddress < ipaddr > | ipv6address <ipv6addr>]
mac_address <macaddr> { ports [ <portlist> | all ] | mode [arp | acl]}
Description
This command is used to create an address binding entry.
One MAC address can map to multiple ip address
If acl mode is enable, the switch will add the according ACL access entries