MVRP Commands
Use these commands to configure Multiple VLAN Registration Protocol (MVRP).
Multiple VLAN Registration Protocol (MVRP) lets the switch automatically maintain dynamic VLAN registration entries and propagate the associated information over the network. This lets MVRP-aware devices dynamically establish and update information about VLANs with active members, as well as information about the interfaces through which those members can be reached. MVRP replaces GVRP.
With MVRP, both end stations and switches can issue and revoke declarations related to VLAN membership, allowing MVRP participants to create or update a dynamic VLAN registration entry in the filtering database. Such an entry includes information about the VLAN and the interface on which it is received.
MVRP is also used by other protocols for dynamic VLAN creation over a network.
mvrp (Global Config)
M4250
M4350
Use this command in Global Configuration mode to enable MVRP. You must also enable MVRP on the individual interfaces on which you want to use MVRP.
| Default | Disabled |
| Format | mvrp |
| Mode | Global Config |
no mvrp (Global Config)
Use this command in Global Configuration mode to disable MVRP.
| Format | no mvrp |
| Mode | Global Config |
mvrp periodic state machine
M4250
M4350
Use this command in Global Configuration mode to enable the MVRP periodic state machine.
| Default | Disabled |
| Format | mvrp periodic state machine |
| Mode | Global Config |
no mvrp periodic state machine
Use this command in Global Configuration mode to disable the MVRP periodic state machine.
| Format | no mvrp periodic state machine |
| Mode | Global Config |
mvrp (Interface Config)
M4250
M4350
Use this command in Interface Configuration mode to enable MVRP on the interface, which must be configured in trunk mode or general mode. You can enable MVRP on physical interfaces or LAG interfaces. When configured on a LAG member port, MVRP is operationally disabled. Enabling MVRP on an interface automatically enables dynamic VLAN creation.
| Default | Disabled |
| Format | mvrp |
| Mode | Interface Config |
no mvrp (Interface Config)
Use this command in Interface Configuration mode to disable MVRP on the interface.
| Format | no mvrp |
| Mode | Interface Config |
show mvrp
M4250
M4350
Use this command in Privileged EXEC mode to display the status of the MVRP configuration. To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command description and format.
| Format | show mvrp {summary | interface {unit/slot/port | all | lag lag-intf-num | summary}} |
| Mode | Privileged EXEC |
| Parameter | Description |
|---|---|
| interface | If the interface is specified as unit/slot/port or lag lag-intf-num, the command shows MVRP mode information for that interface or LAG. |
| all | If the interface is specified with the all parameter, the command shows MVRP interfaces for the switch and for all interfaces. |
| summary | If the summary parameter is used, the command shows global MVRP information. |
Command example:
(NETGEAR Switch) #show mvrp summary
MVRP global state.............................. Disabled
MVRP Periodic State Machine state.............. Disabled
VLANs created via MVRP......................... 20-45, 3001-3050
Command example:
(NETGEAR Switch) #show mvrp interface 0/12
MVRP interface state........................... Enabled
VLANs declared................................. 20-45, 3001-3050
VLANs registered............................... none
Command example:
(NETGEAR Switch) #show mvrp interface all
Intf Mode
--------- ---------
0/1 Disabled
0/2 Disabled
0/3 Disabled
0/4 Disabled
0/5 Disabled
0/6 Disabled
0/7 Disabled
0/8 Disabled
0/9 Disabled
0/10 Disabled
0/11 Disabled
0/12 Disabled
lag 1 Disabled
lag 2 Disabled
lag 3 Disabled
lag 4 Disabled
lag 5 Disabled
lag 6 Disabled
lag 7 Disabled
lag 8 Disabled
show mvrp statistics
M4250
M4350
Use this command in Privileged EXEC mode to display MVRP statistics. To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command description and format.
| Format | show mvrp statistics {unit/slot/port | all | lag lag-intf-num | summary} |
| Mode | Privileged EXEC |
| Parameter | Description |
|---|---|
| interface | If the unit/slot/port or lag lag-intf-num is specified, the command shows MVRP statistics for that interface or LAG. |
| all | If used with the all parameter, the command shows a table with MVRP statistics for all interfaces on which MVRP is enabled. |
| summary | If used with the summary parameter, the command shows global MVRP statistics. |
Command example:
(NETGEAR Switch) #show mvrp statistics summary
MVRP messages received......................... 45
MVRP messages received with bad header......... 0
MVRP messages received with bad format......... 0
MVRP messages transmitted...................... 16
MVRP messages failed to transmit............... 0
MVRP Message Queue Failures.................... 0
Command example:
(NETGEAR Switch) #show mvrp statistics 0/12
Port........................................... 0/12
MVRP messages received......................... 21
MVRP messages received with bad header......... 0
MVRP messages received with bad format......... 0
MVRP messages transmitted...................... 8
MVRP messages failed to transmit............... 0
MVRP failed reservations....................... 0
Command example:
(NETGEAR Switch) #show mvrp statistics all
Intf Rx BadHeader BadFormat Tx Tx Failed RegFails
--------- ---------- ---------- ---------- ---------- ---------- ----------
0/1 0 0 0 0 0 0
0/2 0 0 0 0 0 0
0/3 0 0 0 0 0 0
0/4 0 0 0 0 0 0
0/5 0 0 0 0 0 0
0/6 0 0 0 0 0 0
0/7 0 0 0 0 0 0
0/8 0 0 0 0 0 0
0/9 0 0 0 0 0 0
0/10 0 0 0 0 0 0
0/11 0 0 0 0 0 0
0/12 0 0 0 0 0 0
lag 1 0 0 0 0 0 0
lag 2 0 0 0 0 0 0
lag 3 0 0 0 0 0 0
lag 4 0 0 0 0 0 0
lag 5 0 0 0 0 0 0
lag 6 0 0 0 0 0 0
lag 7 0 0 0 0 0 0
lag 8 0 0 0 0 0 0
clear mvrp statistics
M4250
M4350
Use this command in Privileged EXEC mode to clear the MVRP statistics for one interface or LAG, or for all interfaces. To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command description and format.
| Format | clear mvrp statistics {unit/slot/port | all | lag lag-intf-num} |
| Mode | Privileged EXEC |
| Parameter | Description |
|---|---|
| unit/slot/port or lag lag-intf-num | If used with the unit/slot/port or lag lag-intf-num parameter, the command clears MVRP statistics for the interface or LAG. |
| all | If the all parameter is specified, the command clears MVRP statistics for all the interfaces. |