[Sysname] mvrp global enable
mvrp enable
Syntax
mvrp enable
undo mvrp enable
View
Layer 2 Ethernet port view, Layer 2 aggregate interface view, port group view
Default level
2: System level
Description
Use mvrp enable to enable MVRP on a port.
Use undo mvrp enable to disable MVRP on a port.
By default, MVRP is disabled on a port.
To enable MVRP on a port, first enable MVRP globally.
Disabling MVRP globally also disables MVRP on each port.
This command is available only on trunk ports.
You cannot change the link type of MVRP-enabled trunk port.
Related commands: display mvrp running-status and mvrp global enable.
Examples
# Configure Ethernet 1/0/1 as a trunk port, and enable MVRP on it.
<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] port link-type trunk
[Sysname-Ethernet1/0/1] port trunk permit vlan all
[Sysname-Ethernet1/0/1] mvrp enable
mvrp gvrp-compliance
Syntax
mvrp gvrp-compliance enable
undo mvrp gvrp-compliance enable
View
System view
Default level
2: System level
Description
Use mvrp gvrp-compliance enable to enable GVRP compatibility, so that the device can process both
MVRP protocol packets and GVRP protocol packets.
275