7
system-view
2. Enable GVRP compatibility.
mvrp gvrp-compliance enable
By default, GVRP compatibility is disabled.
Display and maintenance commands for MVRP
Execute display commands in any view and reset commands in user view.
Task Command
Display MVRP running status.
display mvrp running-status
[
interface
interface-list
]
Display the MVRP state of a port in a
VLAN.
display mvrp state interface
interface-
ype
interface-number
vlan
vlan-id
Display MVRP statistics.
display mvrp statistics
[
interface
interface-list
]
Clear MVRP statistics.
reset mvrp statistics
[
interface
interface-list
]
MVRP configuration examples
Example: Configuring basic MVRP functions
Network configuration
As shown in Figure 2:
• Create VLAN 10 on Device A and VLAN 20 on Device B.
• Configure MSTP, map VLAN 10 to MSTI 1, map VLAN 20 to MSTI 2, and map the other VLANs
to MSTI 0.
Configure MVRP on Device A, Device B, Device C, and Device D to meet the following
requirements:
• The devices can register and deregister dynamic VLANs.
• The devices can keep identical VLAN configurations for each MSTI.