Configuring a static IPv4SG binding
You can configure global static and interface-specific static IPv4SG bindings.
Global static bindings take effect on all interfaces.
Interface-specific static bindings take priority over global static bindings. An interface first uses the static bindings on the interface to match packets. If no match is found, the interface uses the global bindings.
Configuring a global static IPv4SG binding
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Configure a global static IPv4SG binding. | ip source binding ip-address ip-address mac-address mac-address | No global static IPv4SG bindings exist. |
Configuring a static IPv4SG binding on an interface
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter interface view. | interface interface-type interface-number | The following interface types are supported:
|
3. 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 ] | By default, no static IPv4SG bindings exist on an interface. The vlan vlan-id option is supported only in Layer 2 Ethernet interface view and Layer 2 aggregate interface view. To configure a static IPv4SG binding for the ARP attack detection feature, make sure the following conditions are met:
You can configure the same static IPv4SG binding on different interfaces. |