8.5. MVR Commands

8.5.1. mvr

Command Purpose

Use this command to enable MVR. To disable MVR, use the no form of this command.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

mvr

no mvr

Command Mode

Global Config

Default

Disable

Usage

Enable MVR in the Switch, must disable ip multicast-routing before enable MVR.

Examples

This example shows how to enable MVR:

Switch# configure terminal
Switch(config)# no ip multicast-routing
Switch(config)# mvr

8.5.2. mvr vlan

Command Purpose

Use this command to specify the MVR source vlan. To remove this setting, use the no form of this command.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

mvr vlan vlan VLAN_ID

no mvr vlan

Parameter

Parameter Description

Parameter Value

VLAN_ID

Vlan ID

1-4094

Command Mode

Global Config

Default

None

Usage

The related vlan interface should be created before the configuration of the MVR source vlan.

Examples

This example shows how to configure source vlan of MVR. configure vlan 2 as source vlan of MVR:

Switch# configure terminal
Switch(config)# vlan database
Switch(config-vlan)# vlan 2
Switch(config)# interface vlan 2
Switch(config-if)# exit
Switch(config)# mvr vlan 2

Related Commands

interface vlan

8.5.3. mvr group

Command Purpose

Use this command to configure global group for MVR. To remove this setting, use the no form of this command.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

mvr group IP_ADDR ( COUNT | )

no mvr group address ( COUNT | )

Parameter

Parameter Description

Parameter Value

IP_ADDR

Multicast group address

IPv4 Address

COUNT

Count of contiguous groups

1-64

Command Mode

Global Config

Default

None

Usage

This command is used to create or delete a global static group.

Examples

This example shows how to create global static group from 238.255.0.1 to 238.255.0.50:

Switch# configure terminal
Switch(config)# mvr group 238.255.0.1 50

Related Commands

None

8.5.4. mvr source-address

Command Purpose

Use this command to create or delete mvr source address. To remove this setting, use the no form of this command.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

mvr source-address IP_ADDR

no mvr source-address

Parameter

Parameter Description

Parameter Value

IP_ADDR

Source ip address

IPv4 Address

Command Mode

Global Config

Default

10.0.0.1

Usage

None

Examples

Create mvr source address:

Switch# configure terminal
Switch(config)# mvr source-address 192.168.11.1

Resume mvr source address as default IP address:

Switch# configure terminal
Switch(config)# no mvr source-address

Related Commands

None

8.5.5. mvr type

Command Purpose

Use this command to configure a switch-port as source port or receiver port. To remove this setting, use the no form of this command.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

mvr type ( source | receiver vlan VLAN_ID )

no mvr type ( receiver vlan VLAN_ID | )

Parameter

Parameter Description

Parameter Value

source

MVR source port

-

receiver

MVR receiver port

-

VLAN_ID

MVR receiver vlan ID

1-4094

Command Mode

Interface Configuration

Default

None

Usage

Before configure the interface as source port or receiver port. make sure the source port belong to source vlan, and the receiver port must not belong to source vlan.

Examples

Configure the eth-0-1 as source port, and configure the eth-0-2 as receiver port of vlan 2:

Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# mvr type source
Switch(config)# interface eth-0-2
Switch(config-if)# mvr type receiver vlan 2

Related Commands

None

8.5.6. show mvr

Command Purpose

Use this command to show mvr information.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

show mvr

Command Mode

Privileged EXEC

Default

None

Usage

Show mvr information.

Examples

This example shows how to display MVR information:

Switch# show mvr

MVR Running: TRUE
MVR Multicast VLAN: 10
MVR Source-address: 1.1.1.1
MVR Max Multicast Groups: 512
MVR Hw Rt Limit: 511
MVR Current Multicast Groups: 0

Related Commands

None

8.5.7. show mvr interface

Command Purpose

Use this command to show mvr interface information.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

show mvr interface

Command Mode

Privileged EXEC

Default

None

Usage

Show mvr interface information.

Examples

This example shows how to display MVR interface information:

Switch# show mvr interface 

Port        Type          VLAN    Status
eth-0-2     source        10      ACTIVE   
eth-0-1     receiver      11      ACTIVE

Related Commands

None

8.5.8. show mvr group

Command Purpose

Use this command to show mvr group learned from receiver port.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

show mvr group vlan VLAN_ID ( GRP_ADDR | )

Parameter

Parameter Description

Parameter Value

VLAN_ID

MVR receiver vlan ID

1-4094

GRP_ADDR

Multicast group address

IPv4 Address

Command Mode

Privileged EXEC

Default

None

Usage

Show mvr group information learned from receiver port

Examples

This example shows how to display mvr group learned from receiver port:

Switch# show mvr groups 

VLAN   Interface      Group-Address      Uptime     Expires-time  
11     eth-0-1        227.0.0.1          00:25:51   00:04:19

Related Commands

None

8.5.9. show mvr group static

Command Purpose

Use this command to show mvr global static groups.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

show mvr group static global

Command Mode

Privileged EXEC

Default

None

Usage

Show mvr static configured group information.

Examples

This example shows how to display mvr global static groups:

Switch# show mvr groups static global

MVR Static Global Group:
227.0.0.1
227.0.0.2
227.0.0.3
227.0.0.4
227.0.0.5
227.0.0.6
227.0.0.7
227.0.0.8
227.0.0.9
227.0.0.10

Related Commands

None

8.5.10. show resource mvr

Command Purpose

Use this command to display the resource usage of MVR.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

show resource mvr

Command Mode

Privileged EXEC

Default

None

Usage

None

Examples

This example shows how to display the resource usage of MVR:

Switch# show resource mvr 

MVR
Resource                         Used          Capability
=============================================================
MVR Entry                        0             511
MVR Member                       0             1022

Related Commands

None