MVRP scenario 2
This scenario illustrates the configuration of an MVRP deployment with two MSTIs.
Two MSTIs are defined for this scenario:
- VLAN 10 assigned to MSTI 1
- VLAN 20 assigned to MSTI 2
- All other VLANs assigned to the default MSTI 0
Procedure
-
On switch A:
switch# config switch(config)# mvrp switch(config)# vlan 10 switch(config)# spanning-tree switch(config)# spanning-tree priority 1 switch(config)# spanning-tree config-name sp1 switch(config)# spanning-tree config-revision 1 switch(config)# spanning-tree instance 1 vlan 10 switch(config)# spanning-tree instance 2 vlan 20 switch(config)# interface 1/1/1 switch(config-if)# no shutdown switch(config-if)# no routing switch(config-if)# vlan trunk native 1 switch(config-if)# mvrp switch(config-if)# exit switch(config)# interface 1/1/2 switch(config-if)# no shutdown switch(config-if)# no routing switch(config-if)# vlan trunk native 1 switch(config-if)# mvrp switch(config-if)# exit switch(config)# interface 1/1/3 switch(config-if)# no shutdown switch(config-if)# no routing switch(config-if)# vlan trunk native 1 switch(config-if)# mvrp switch(config-if)# exit switch# show mvrp config Configuration and Status - MVRP Global MVRP status : Enabled Port Status Registration Join Leave LeaveAll Periodic Type Timer Timer Timer Timer ------- -------- -------- ----- ------- ------- -------- 1/1/1 Enabled normal 20 300 1000 100 1/1/3 Enabled normal 20 300 1000 100 1/1/2 Enabled normal 20 300 1000 100 switch# show mvrp state Configuration and Status - MVRP state Port VLAN Registrar Applicant Forbid State State Mode ---- ---- --------- --------- --------- 1/1/1 1 IN QA No 1/1/1 20 MT QA No 1/1/3 1 IN QA No 1/1/3 20 IN VO No 1/1/2 1 MT QA No 1/1/2 20 MT QA No switch# show spanning-tree mst #### MST0 Vlans mapped: 1-9,11-19,21-4094 Bridge Address:48:0f:cf:af:f1:82 priority:4096 Operational Hello time(in seconds): 2 Forward delay(in seconds):15 Max-age(in seconds):20 txHoldCount(i6 Configured Hello time(in seconds): 2 Forward delay(in seconds):15 Max-age(in seconds):20 txHoldCount(i6 Root Address:48:0f:cf:af:14:0a Priority:4096 Port:1/1/3 Path cost:0 Regional Root Address:48:0f:cf:af:14:0a Priority:4096 Internal cost:20000 Rem Hops:19 Port Role State Cost Priority Type -------------- -------------- ------------ ---------- ---------- ---------- 1/1/1 Designated Forwarding 20000 128 point_to_point 1/1/2 Designated Forwarding 20000 128 point_to_point 1/1/3 Root Forwarding 20000 128 point_to_point #### MST1 Vlans mapped: 10 Bridge Address:48:0f:cf:af:f1:82 Priority:32768 Root Address:48:0f:cf:af:14:0a Priority:32768 Port:1/1/3, Cost:20000, Rem Hops:19 Port Role State Cost Priority Type -------------- -------------- ------------ ------- ---------- ---------- 1/1/1 Designated Forwarding 20000 128 point_to_point 1/1/2 Designated Forwarding 20000 128 point_to_point 1/1/3 Root Forwarding 20000 128 point_to_point #### MST2 Vlans mapped: 20 Bridge Address:48:0f:cf:af:f1:82 Priority:32768 Root Address:48:0f:cf:af:14:0a Priority:32768 Port:1/1/3, Cost:20000, Rem Hops:19 Port Role State Cost Priority Type -------------- -------------- ------------ ------- ---------- ---------- 1/1/1 Designated Forwarding 20000 128 point_to_point 1/1/2 Designated Forwarding 20000 128 point_to_point 1/1/3 Root Forwarding 20000 128 point_to_point
-
On switch B:
switch# config switch(config)# mvrp switch(config)# vlan 20 switch(config)# spanning-tree switch(config)# spanning-tree priority 1 switch(config)# spanning-tree config-name sp1 switch(config)# spanning-tree config-revision 1 switch(config)# spanning-tree instance 1 vlan 10 switch(config)# spanning-tree instance 2 vlan 20 switch(config)# interface 1/1/18 switch(config-if)# no shutdown switch(config-if)# no routing switch(config-if)# vlan trunk native 1 switch(config-if)# vlan trunk allowed all switch(config-if)# mvrp switch(config-if)# exit switch(config)# interface 1/1/20 switch(config-if)# no shutdown switch(config-if)# no routing switch(config-if)# vlan trunk native 1 switch(config-if)# vlan trunk allowed all switch(config-if)# mvrp switch(config-if)# exit switch(config)# interface 1/1/22 switch(config-if)# no shutdown switch(config-if)# no routing switch(config-if)# vlan trunk native 1 switch(config-if)# vlan trunk allowed all switch(config-if)# mvrp switch(config-if)# exit switch# show mvrp config Configuration and Status - MVRP Global MVRP status : Enabled Port Status Registration Join Leave LeaveAll Periodic Type Timer Timer Timer Timer ------- -------- -------- ----- ------- ------- -------- 1/1/18 Enabled normal 20 300 1000 100 1/1/20 Enabled normal 20 300 1000 100 1/1/22 Enabled normal 20 300 1000 100 switch# show mvrp state Configuration and Status - MVRP state Port VLAN Registrar Applicant Forbid State State Mode ---- ---- --------- --------- --------- 1/1/20 1 MT AA No 1/1/20 10 MT AA No 1/1/20 20 MT AA No 1/1/22 1 IN AP No 1/1/22 10 IN VO No 1/1/22 20 MT VP No switch# show spanning-tree mst #### MST0 Vlans mapped: 1-9,11-19,21-4094 Bridge Address:e0:07:1b:cb:22:1c priority:4096 Operational Hello time(in seconds): 2 Forward delay(in seconds):15 Max-age(in seconds):20 txHoldCount(in pp6 Configured Hello time(in seconds): 2 Forward delay(in seconds):15 Max-age(in seconds):20 Max-Hops:20 Root Address:48:0f:cf:af:14:0a Priority:4096 Port:1/1/22 Path cost:0 Regional Root Address:48:0f:cf:af:14:0a Priority:4096 Internal cost:20000 Rem Hops:19 Port Role State Cost Priority Type -------------- -------------- ------------ ---------- ---------- ---------- 1/1/18 Alternate Blocking 20000 128 point_to_point 1/1/20 Designated Forwarding 20000 128 point_to_point 1/1/22 Root Forwarding 20000 128 point_to_point #### MST1 Vlans mapped: 10 Bridge Address:e0:07:1b:cb:22:1c Priority:32768 Root Address:48:0f:cf:af:14:0a Priority:32768 Port:1/1/22, Cost:20000, Rem Hops:19 Port Role State Cost Priority Type -------------- -------------- ------------ ------- ---------- ---------- 1/1/18 Alternate Blocking 20000 128 point_to_point 1/1/20 Designated Forwarding 20000 128 point_to_point 1/1/22 Root Forwarding 20000 128 point_to_point #### MST2 Vlans mapped: 20 Bridge Address:e0:07:1b:cb:22:1c Priority:32768 Root Address:48:0f:cf:af:14:0a Priority:32768 Port:1/1/22, Cost:20000, Rem Hops:19 Port Role State Cost Priority Type -------------- -------------- ------------ ------- ---------- ---------- 1/1/18 Alternate Blocking 20000 128 point_to_point 1/1/20 Designated Forwarding 20000 128 point_to_point 1/1/22 Root Forwarding 20000 128 point_to_point
-
On switch C:
switch# config switch(config)# mvrp switch(config)# vlan 1,20 switch(config)# spanning-tree switch(config)# spanning-tree priority 1 switch(config)# spanning-tree config-name sp1 switch(config)# spanning-tree config-revision 1 switch(config)# spanning-tree instance 1 vlan 10 switch(config)# spanning-tree instance 2 vlan 20 switch(config)# interface 1/1/25 switch(config-if)# no shutdown switch(config-if)# no routing switch(config-if)# vlan trunk native 1 switch(config-if)# vlan trunk allowed all switch(config-if)# mvrp switch(config-if)# exit switch(config)# interface 1/1/27 switch(config-if)# no shutdown switch(config-if)# no routing switch(config-if)# vlan trunk native 1 switch(config-if)# vlan trunk allowed all switch(config-if)# mvrp switch(config-if)# exit switch# show mvrp config Configuration and Status - MVRP Global MVRP status : Enabled Port Status Registration Join Leave LeaveAll Periodic Type Timer Timer Timer Timer ------- -------- -------- ----- ------- ------- -------- 1/1/25 Enabled normal 20 300 1000 100 1/1/27 Enabled normal 20 300 1000 100 switch# show mvrp state Configuration and Status - MVRP state Port VLAN Registrar Applicant Forbid State State Mode ---- ---- --------- --------- --------- 1/1/25 1 IN QA No 1/1/25 10 IN VO No 1/1/25 20 IN VO No switch# show spanning-tree mst #### MST0 Vlans mapped: 1-9,11-19,21-4094 Bridge Address:e0:07:1b:cb:01:7a priority:4096 Operational Hello time(in seconds): 2 Forward delay(in seconds):15 Max-age(in seconds):20 txHoldCount(6 Configured Hello time(in seconds): 2 Forward delay(in seconds):15 Max-age(in seconds):20 Max-Hops:20 Root Address:48:0f:cf:af:14:0a Priority:4096 Port:1/1/25 Path cost:0 Regional Root Address:48:0f:cf:af:14:0a Priority:4096 Internal cost:40000 Rem Hops:18 Port Role State Cost Priority Type -------------- -------------- ------------ ---------- ---------- ---------- 1/1/25 Root Forwarding 20000 128 point_to_point 1/1/27 Alternate Blocking 20000 128 point_to_point #### MST1 Vlans mapped: 10 Bridge Address:e0:07:1b:cb:01:7a Priority:32768 Root Address:48:0f:cf:af:14:0a Priority:32768 Port:1/1/25, Cost:40000, Rem Hops:18 Port Role State Cost Priority Type -------------- -------------- ------------ ------- ---------- ---------- 1/1/25 Root Forwarding 20000 128 point_to_point 1/1/27 Alternate Blocking 20000 128 point_to_point #### MST2 Vlans mapped: 20 Bridge Address:e0:07:1b:cb:01:7a Priority:32768 Root Address:48:0f:cf:af:14:0a Priority:32768 Port:1/1/25, Cost:40000, Rem Hops:18 Port Role State Cost Priority Type -------------- -------------- ------------ ------- ---------- ---------- 1/1/25 Root Forwarding 20000 128 point_to_point 1/1/27 Alternate Blocking 20000 128 point_to_point
-
On switch D:
switch# config switch(config)# mvrp switch(config)# vlan 1 switch(config)# spanning-tree switch(config)# spanning-tree priority 1 switch(config)# spanning-tree config-name sp1 switch(config)# spanning-tree config-revision 1 switch(config)# spanning-tree instance 1 vlan 10 switch(config)# spanning-tree instance 2 vlan 20 switch(config)# interface 1/1/1 switch(config-if)# no shutdown switch(config-if)# no routing switch(config-if)# vlan trunk native 1 switch(config-if)# vlan trunk allowed all switch(config-if)# mvrp switch(config-if)# exit switch(config)# interface 1/1/2 switch(config-if)# no shutdown switch(config-if)# no routing switch(config-if)# vlan trunk native 1 switch(config-if)# vlan trunk allowed all switch(config-if)# mvrp switch(config-if)# exit switch# show mvrp config Configuration and Status - MVRP Global MVRP status : Enabled Port Status Registration Join Leave LeaveAll Periodic Type Timer Timer Timer Timer ------- -------- -------- ----- ------- ------- -------- 1/1/1 Enabled normal 20 300 1000 100 1/1/2 Enabled normal 20 300 1000 100 switch# show mvrp state Configuration and Status - MVRP state Port VLAN Registrar Applicant Forbid State State Mode ---- ---- --------- --------- --------- 1/1/1 1 IN QA No 1/1/1 10 MT QA No 1/1/1 20 IN VO No 1/1/2 1 IN AA No 1/1/2 10 IN VO No 1/1/2 20 MT AA No switch# show spanning-tree mst #### MST0 Vlans mapped: 1-9,11-19,21-4094 Bridge Address:48:0f:cf:af:14:0a priority:4096 Root Regional Root Operational Hello time(in seconds): 2 Forward delay(in seconds):15 Max-age(in seconds):20 txHoldC6 Configured Hello time(in seconds): 2 Forward delay(in seconds):15 Max-age(in seconds):20 Max-Hop0 Root Address:48:0f:cf:af:14:0a Priority:4096 Port:0 Path cost:0 Regional Root Address:48:0f:cf:af:14:0a Priority:4096 Internal cost:0 Rem Hops:20 Port Role State Cost Priority Type -------------- -------------- ------------ ---------- ---------- ---------- 1/1/1 Designated Forwarding 20000 128 point_to_point 1/1/2 Designated Forwarding 20000 128 point_to_point #### MST1 Vlans mapped: 10 Bridge Address:48:0f:cf:af:14:0a Priority:32768 Root Address:48:0f:cf:af:14:0a Priority:32768 Port:0, Cost:0, Rem Hops:20 Port Role State Cost Priority Type -------------- -------------- ------------ ------- ---------- ---------- 1/1/1 Designated Forwarding 20000 128 point_to_point 1/1/2 Designated Forwarding 20000 128 point_to_point #### MST2 Vlans mapped: 20 Bridge Address:48:0f:cf:af:14:0a Priority:32768 Root Address:48:0f:cf:af:14:0a Priority:32768 Port:0, Cost:0, Rem Hops:20 Port Role State Cost Priority Type -------------- -------------- ------------ ------- ---------- ---------- 1/1/1 Designated Forwarding 20000 128 point_to_point 1/1/2 Designated Forwarding 20000 128 point_to_point