Configure Static Entry Binding Function of Port MAC
Configuration Condition
Before configuring the static entry binding function of the port MAC, first complete the following task:
- Enable the port IP Source Guard function
Configure Static Entry Binding Function of Port MAC
After configuring the port MAC static entry binding function, get the corresponding mac address, vlan number, and port number from the configured IP Source Guard static entries and got dynamic entries on the port, and deliver the corresponding static MAC entry.
Table 4-5 Configure the MAC static entry binding function
Step
|
Command
|
Description
|
Enter global configuration mode
|
config terminal
|
-
|
Enter the L2 Ethernet interface configuration mode
|
interface interface-name
|
Either
After entering the L2 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
|
interface link-aggregation link-aggregation-id
|
Enable the port IP Source Guard function
|
ip source sticky-mac
|
Mandatory
By default, the static entry binding function of the port MAC is disabled.
|