MVR Commands
Use these commands to configure Multicast VLAN Registration (MVR).
Internet Group Management Protocol (IGMP) Layer 3 is widely used for IPv4 network multicasting. In Layer 2 networks, IGMP uses resources inefficiently. For example, a Layer 2 switch multicasts traffic to all ports, even if there are receivers connected to only a few ports.
To address this problem, the IGMP Snooping protocol was developed. The problem still appears, though, when receivers are in different VLANs.
Multicast VLAN registration (MVR) is intended to solve the problem of receivers in different VLANs. It uses a dedicated manually configured VLAN, called the multicast VLAN, to forward multicast traffic over a Layer 2 network with IGMP snooping.
mvr
M4250
M4350
This command enables MVR.
| Default | Disabled |
| Format | mvr |
| Mode |
Global Config Interface Config |
no mvr
This command disables MVR.
| Format | no mvr |
| Mode |
Global Config Interface Config |
mvr group
M4250
M4350
This command adds an MVR membership group. A.B.C.D is the IP multicast group being added.
The count is the number of incremental multicast groups being added (the first multicast group is A.B.C.D). If a count is not specified, only one multicast group is added.
| Format | mvr group A.B.C.D [count] |
| Mode | Global Config |
no mvr group
This command removes the MVR membership group.
| Format | no mvr group A.B.C.D [count] |
| Mode | Global Config |
mvr mode
M4250
M4350
This command changes the MVR mode type. If the mode is set to compatible, the switch does not learn multicast groups; they need to be configured by the operator as the protocol does not forward joins from the hosts to the router. To operate in this mode, the IGMP router needs to be statically configured to transmit all required multicast streams to the MVR switch. If the mode is set to dynamic, the switch learns existing multicast groups by snooping the IGMP queries from the router on source ports and forwarding the IGMP joins from the hosts to the IGMP router on the multicast VLAN (with appropriate translation of the VLAN ID).
| Default | Compatible |
| Format | mvr mode {compatible | dynamic} |
| Mode | Global Config |
no mvr mode
This command sets the mode type to the default value.
| Format | no mvr mode |
| Mode | Global Config |
mvr querytime
M4250
M4350
This command sets the MVR query response time in deciseconds. The time is in the range 1–100 deciseconds (one decisecond is one tenth of a second).
| Default | 5 |
| Format | mvr querytime deciseconds |
| Mode | Global Config |
no mvr querytime
This command sets the MVR query response time to the default value.
| Format | no mvr querytime |
| Mode | Global Config |
mvr vlan
M4250
M4350
This command sets the MVR multicast VLAN.
| Default | 1 |
| Format | mvr vlan vlan-id |
| Mode | Global Config |
no mvr vlan
This command sets the MVR multicast VLAN to the default value.
| Format | no mvr vlan |
| Mode | Global Config |
mvr immediate
M4250
M4350
This command enables MVR immediate leave mode. MVR provides two modes of operating with the IGMP Leave messages: normal leave and immediate leave.
- In normal leave mode, when a leave is received, the general IGMP query is sent from a Layer 2 switch to the receiver port, where the leave was received. Then reports are received from other interested hosts that are also connected to that port, for example, using a hub.
- In immediate leave mode, when a leave is received, the switch is immediately reconfigured not to forward a specific multicast stream to the port where a message is received. This mode is used only for ports where only one client might be connected.
| Default | Disabled |
| Format | mvr immediate |
| Mode | Interface Config |
no mvr immediate
This command sets the MVR multicast VLAN to the default value.
| Format | no mvr immediate |
| Mode | Interface Config |
mvr type
M4250
M4350
This command sets the MVR port type. When a port is set as source, it is the port to which the multicast traffic flows using the multicast VLAN. When a port is set to receiver, it is the port where a listening host is connected to the switch.
| Default | none |
| Format | mvr type {receiver | source} |
| Mode | Interface Config |
no mvr type
Use this command to set the MVR port type to none.
| Format | no mvr type |
| Mode | Interface Config |
mvr vlan group
M4250
M4350
Use this command to include the port in the specific MVR group. The multicast-vlan argument represents the multicast VLAN, and A.B.C.D the IP multicast group.
| Format | mvr vlan multicast-vlan group A.B.C.D |
| Mode | Interface Config |
no mvr vlan
Use this command to exclude the port from the specific MVR group.
| Format | no mvr vlan multicast-vlan group A.B.C.D |
| Mode | Interface Config |
show mvr
M4250
M4350
This command displays global MVR settings.
| Format | show mvr |
| Mode | Privileged EXEC |
The following table explains the output parameters.
| Term | Definition |
|---|---|
| MVR Running | MVR running state. It can be enabled or disabled. |
| MVR multicast VLAN | Current MVR multicast VLAN. It can be in the range from 1 to 4094. |
| MVR Max Multicast Groups | The maximum number of multicast groups supported by MVR. |
| MVR Current multicast groups | The current number of MVR groups allocated. |
| MVR Query response time | The current MVR query response time. |
| MVR Mode | The current MVR mode. It can be compatible or dynamic. |
Command example:
(NETGEAR Switch)#show mvr
MVR Running…........................... TRUE
MVR multicast VLAN….................... 1200
MVR Max Multicast Groups….............. 256
MVR Current multicast groups….......... 1
MVR Global query response time…........ 10 (tenths of sec)
MVR Mode….............................. compatible
show mvr members
M4250
M4350
This command displays the MVR membership groups allocated. A.B.C.D is a valid multicast address in IPv4 dotted notation.
| Format | show mvr members [A.B.C.D] |
| Mode | Privileged EXEC |
The following table describes the output parameters.
| Term | Definition |
|---|---|
| MVR Group IP | MVR group multicast IP address. |
| Status | The status of the specific MVR group. It can be active or inactive. |
| Members | The list of ports that participates in the specified MVR group. |
Command example:
(NETGEAR Switch)#show mvr members
MVR Group IP Status Members
------------------ --------------- ---------------------
224.1.1.1 INACTIVE 0/1, 0/2, 0/3
(switch)#show mvr members 224.1.1.1
MVR Group IP Status Members
------------------ --------------- ---------------------
224.1.1.1 INACTIVE 0/1, 0/2, 0/3
show mvr interface
M4250
M4350
This command displays the MVR-enabled interfaces 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 format.
| Format | show mvr interface [unit/slot/port [members [vlan multicast-vlan]]] |
| Mode | Privileged EXEC |
The following table explains the output parameters.
| Term | Description |
|---|---|
| Port | Interface number. |
| Type | The MVR port type. It can be none, receiver, or source type. |
| Status |
The interface status. It consists of two characteristics:
|
| Immediate Leave | The state of immediate mode. It can be enabled or disabled. |
Command example:
(NETGEAR Switch)#show mvr interface
Port Type Status Immediate Leave
--------- --------------- --------------------- --------------------
0/9 RECEIVER ACTIVE/inVLAN DISABLED
(switch)#show mvr interface 0/9
Type: RECEIVER Status: ACTIVE Immediate Leave: DISABLED
(switch)#show mvr interface 0/23 members
235.0.0.1 STATIC ACTIVE
(switch)#show mvr interface 0/23 members vlan 12
235.0.0.1 STATIC ACTIVE
235.1.1.1 STATIC ACTIVE
show mvr traffic
M4250
M4350
This command displays global MVR statistics.
| Format | show mvr traffic |
| Mode | Privileged EXEC |
The following table explains the output parameters.
| Term | Definition |
|---|---|
| IGMP Query Received | Number of received IGMP queries |
| IGMP Report V1 Received | Number of received IGMP reports V1 |
| IGMP Report V2 Received | Number of received IGMP reports V2 |
| IGMP Leave Received | Number of received IGMP leaves |
| IGMP Query Transmitted | Number of transmitted IGMP queries |
| IGMP Report V1 Transmitted | Number of transmitted IGMP reports V1 |
| IGMP Report V2 Transmitted | Number of transmitted IGMP reports V2 |
| IGMP Leave Transmitted | Number of transmitted IGMP leaves |
| IGMP Packet Receive Failures | Number of failures on receiving the IGMP packets |
| IGMP Packet Transmit Failures | Number of failures on transmitting the IGMP packets |
Command example:
(NETGEAR Switch)#show mvr traffic
IGMP Query Received…........................................ 2
IGMP Report V1 Received….................................... 0
IGMP Report V2 Received….................................... 3
IGMP Leave Received…........................................ 0
IGMP Query Transmitted…..................................... 2
IGMP Report V1 Transmitted…................................. 0
IGMP Report V2 Transmitted…................................. 3
IGMP Leave Transmitted…..................................... 1
IGMP Packet Receive Failures…............................... 0
IGMP Packet Transmit Failures….............................. 0
debug mvr trace
M4250
M4350
This command enables MVR debug tracing. By default, MVR debug tracing is disabled.
| Format | debug mvr trace |
| Mode | Privileged EXEC |
no debug mvr trace
This command disables MVR debug tracing.
| Format | no debug mvr trace |
| Mode | Privileged EXEC |
debug mvr packet
M4250
M4350
This command enables debug tracing of MVR packets on the receiving side, transmitting side, or both sides. By default, debug tracing of MVR packets is enabled.
| Format | debug mvr packet [receive | transmit] |
| Mode | Privileged EXEC |
no debug mvr packet
This command disables debug tracing of MVR packets on the receiving side, transmitting side, or both sides.
| Format | no debug mvr packet [receive | transmit] |
| Mode | Privileged EXEC |