Configure the Basic Functions of ARP Guard
Port-based ARP guard function can take effect only after the global ARP guard function is enabled.
Configuration Condition
None
Enable Global ARP Guard Function
Table 18-2 Enable the global ARP guard function
Step
|
Command
|
Description
|
Enter global configuration mode
|
configure terminal
|
-
|
Enter the AARF configuration mode
|
aarf
|
-
|
Enable the global ARP guard function
|
arp-guard enable
|
Mandatory
By default, do not enable the ARP guard function globally.
|
Enable Port ARP Guard Function
Table 18-3 Enable the port ARP guard function
Step
|
Command
|
Description
|
Enter global configuration mode
|
configure terminal
|
-
|
Enter the L2/L3 Ethernet interface configuration mode
|
interface interface-name
|
Either
After entering the L2/L3 Ethernet interface configuration mode, the subsequent configuration just takes effect on the current port. After entering the aggregation group configuration mode, the subsequent configuration just takes effect on the aggregation group.
|
Enter the aggregation group configuration mode
|
link-aggregation link-aggregation-id
|
Enable the port ARP guard function
|
aarf arp-guard enable
|
Mandatory
By default, do not enable the ARP guard function on the port.
|