394
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
binding exists.
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:
•
Layer 2 Ethernet interface.
•
Layer 3 Ethernet interface.
•
Layer 3 Ethernet subinterface.
•
VLAN
interface.
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 binding is
configured on an interface.
The
vlan vlan-id
option is supported only in
Layer 2 Ethernet interface view.
To configure a static IPv4SG binding for
the ARP detection function, the
vlan
vlan-id
option must be specified, and ARP
detection must be enabled for the specified
VLAN.
You can configure the same static IPv4SG
binding on different interfaces.
Configuring the IPv6SG feature
You cannot configure the IPv6SG feature on a service loopback interface. If IPv6SG is enabled on an
interface, you cannot assign the interface to a service loopback group.
Enabling IPv6SG on an interface
When you enable IPv6SG on an interface, the static and dynamic IPv6SG are both enabled.
•
Static IPv6SG uses static bindings configured by using the
ipv6 source binding
command.
•
Dynamic IPv6SG generates dynamic bindings from related source modules. IPv6SG uses the
bindings to filter incoming IPv6 packets based on the matching criteria specified in the
ipv6
verify source
command.
To implement dynamic IPv6SG, make sure DHCPv6 snooping operates correctly on the network.
To enable the IPv6SG feature 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: