Enabling MVRP
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enable MVRP globally. | mvrp global enable | By default, MVRP is globally disabled. To make MVRP take effect on a port, enable MVRP both on the port and globally. |
3. Enter Layer 2 Ethernet interface view or Layer 2 aggregate interface view. | interface interface-type interface-number | N/A |
4. Configure the port as a trunk port. | port link-type trunk | By default, any port is an access port. For more information about the port link-type trunk command, see Layer 2—LAN Switching Command Reference. |
5. Configure the trunk port to permit the specified VLANs. | port trunk permit vlan { vlan-id-list | all } | By default, a trunk port permits only VLAN 1. Make sure the trunk port permits all registered VLANs. For more information about the port trunk permit vlan command, see Layer 2—LAN Switching Command Reference. |
6. Enable MVRP on the port. | mvrp enable | By default, MVRP is disabled on a port. |