197
Step Command Remarks
2. Enable MVRP globally.
mvrp global enable
By default, MVRP is globally
disabled.
To enable MVRP on a port, first
enable MVRP globally.
3. Enter interface view.
• Enter Layer 2 Ethernet
interface view or Layer 2
aggregate interface view:
interface interface-type
interface-number
• Enter port group view:
port-group manual
port-group-name
Use one of the commands.
4. Configure the port to permit
the specified VLANs.
port trunk permit vlan {
vlan-list
| all }
By default, a trunk port permits
only VLAN 1.
Make sure that the trunk port
permits all registered VLANs.
For more information about the
port trunk permit vlan
command, see Layer 2
—
LAN
Switching Command Reference.
5. Enable MVRP on the port.
mvrp enable
By default, MVRP is disabled on a
port.
Configuring the MVRP registration mode
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter interface view.
• Enter Layer 2 Ethernet
interface view or Layer 2
aggregate interface view:
interface interface-type
interface-number
• Enter port group view:
port-group manual
port-group-name
Use one of the commands.
3. Configure the MVRP
registration mode.
mvrp registration
{
fixed
|
forbidden
|
normal
}
Optional.
The default setting is normal
registration mode.
Configuring MRP timers
CAUTION:
The MRP timers apply to all MRP applications, for example, MVRP, on a port. To avoid frequent
VLAN registrations and deregistrations, use the same MRP timers throughout the network.
Each port maintains its own Periodic, Join, and LeaveAll timers, and each attribute of a port
maintains a Leave timer.