Configuring a static IPv4SG binding
About static IPv4SG bindings
You can configure global static and interface-specific static IPv4SG bindings. Interface-specific static and dynamic bindings take priority over global static bindings. An interface first uses the static and dynamic bindings on the interface to match packets. If no match is found, the interface uses the global bindings.
Restrictions and guidelines
Global static bindings take effect on all interfaces on the device.
To configure a static IPv4SG binding for the ARP attack detection feature, make sure the following conditions are met:
The ip-address ip-address option, the mac-address mac-address option, and the vlan vlan-id option must be specified.
ARP attack detection must be enabled for the specified VLAN.
Configuring a global static IPv4SG binding
Enter system view.
system-view
Configure a global static IPv4SG binding.
ip source binding ip-address ip-address mac-address mac-address
Configuring a static IPv4SG binding on an interface
Enter system view.
system-view
Enter interface view.
interface interface-type interface-number
The following interface types are supported:
Layer 2 Ethernet interface.
Layer 3 Ethernet interface.
VLAN interface.
Configure a static IPv4SG binding.
ip source binding { ip-address ip-address | ip-address ip-address mac-address mac-address | mac-address mac-address } [ vlan vlan-id ]
You can configure the same static IPv4SG binding on different interfaces.