MVRP Configuration on Cisco

mvrp-registration-modes

How to Configure MVRP on Cisco?

In this configuration example, we will focus on how to configure MVRP on Cisco switches. Here, we will use Cisco Catalyst 6500 series switches. For our MVRP configuration example, we will use the below topology.

cisco-mvrp-configuration

Let’s start our MVRP configuration.

 


You can also check Cisco Packet Tracer VLAN Configuration Example.


 

Switch A Configuration

We will start with Switch A configuration.

First of all we will enable MVRP globally with “mvrp global” command under the global context. After that we will enable GVRP under the interfaces with “mvrp” command.

SwitchA> enable
SwitchA# configure terminal

 

SwitchA(config)# mvrp global
SwitchA(config)# interface FastEthernet 1/1
SwitchA(config-if)# mvrp

 

We will set the registration mode of our interfaces.

 

SwitchA(config)# interface FastEthernet 1/1
SwitchA(config-if)# mvrp registration normal
SwitchA(config-if)# exit

 

Automatic MAC learning is not enabled by default. To enable Automatic MAC learning, we will use “mvrp mac-learning auto” command.

 

SwitchA(config)# mvrp mac-learning auto

 

To dynamically create VLANs, we will configure our router as “transparent”. This is a requirement for dynamic VLAN creation. After setting our router as tranparent, we will use “mvrp vlan create” command and we will enable dynamic VLAN creation.

 

SwitchA(config)# vtp mode transparent
SwitchA(config)# mvrp vlan create

 

Now, we will create VLANs and we will assign the ports to these VLANs.

 

SwitchA(config)# vlan 100
SwitchA(config-vlan)# name R&D
SwitchA(config-vlan)# vlan 200
SwitchA(config-vlan)# name HR
SwitchA(config-vlan)# exit

 

SwitchA(config)# interface fastethernet1/3
SwitchA(config-if)# switchport mode access
SwitchA(config-if)# switchport access vlan 100
SwitchA(config-if)# interface fastethernet1/2
SwitchA(config-if)# switchport mode access
SwitchA(config-if)# switchport access vlan 200
SwitchA(config-if)# exit

 

Lastly, we will save our configuration.

 

SwitchA(config)# exit
SwitchA# copy running-config startup-config

 


You can DOWNLOAD Cisco Configurations Labs here!


 

Switch B Configuration

We will configure the similar configuration on Switch B.

 

SwitchB> enable
SwitchB# configure terminal

 

SwitchB(config)# mvrp global
SwitchB(config)# interface FastEthernet 1/1
SwitchB(config-if)# mvrp
SwitchB(config-if)# mvrp registration normal
SwitchB(config-if)# exit

 

SwitchB(config)# mvrp mac-learning auto
SwitchB(config)# vtp mode transparent
SwitchB(config)# mvrp vlan create

 

SwitchB(config)# vlan 100
SwitchB(config-vlan)# name R&D
SwitchB(config-vlan)# vlan 200
SwitchB(config-vlan)# name HR
SwitchB(config-vlan)# exit

 

SwitchB(config)# interface fastethernet1/3
SwitchB(config-if)# switchport mode access
SwitchB(config-if)# switchport access vlan 100
SwitchB(config-if)# interface fastethernet1/2
SwitchB(config-if)# switchport mode access
SwitchB(config-if)# switchport access vlan 200
SwitchB(config-if)# exit

SwitchB# copy running-config startup-config

 


You can test yourself on All Network Quizes Page!


 

Switch C Configuration

Lastly, we will configure Switch 3. Again for MVRP, we will do the similar config.

 

Lesson tags: VTP, mvrp, cisco
Back to: CCIE Enterprise Infrastructure > VTP, GVRP, MVRP

Leave a Reply

Your email address will not be published. Required fields are marked *

CCIE Enterprise Infrastructure

Collapse
Expand
Latest Blog Posts