Configure the GVRP Port
Configuration Condition
No
Configure the GVRP Port
Add the configuration on the port that needs to enable the GVRP function, including GVRP mode and the permitted VLAN.
Table 12-3 Enable the GVRP function of the port
Step
|
Command
|
Description
|
Enter the global configuration mode. |
configure terminal |
- |
Enter L2 Ethernet interface configuration mode |
interface interface-name |
Either
After entering the L2 Ethernet interface configuration mode, the
subsequent configuration takes effect only on the current Ethernet port. After entering the aggregation group configuration mode, the subsequent configuration takes effect only on the aggregation group.
|
Enter the aggregation group configuration mode
|
interface link-aggregation link-aggregation-id
|
Configure the port as the trunk mode
|
switchport mode trunk
|
Mandatory
|
Configure the VLAN permitted by the port
|
switchport trunk allowed vlan all
|
Mandatory
|
Enable GVRP of the port
|
gvrp enable
|
Mandatory
|