Configuring mvrp – H3C Technologies H3C S12500 Series Switches User Manual

Page 252

Advertising
background image

239

Configuring MVRP

CAUTION:

MVRP and service loopback are mutually exclusive.

MVRP can work with STP, RSTP, or MSTP, but not other link layer topology protocols, including PVST,
RRPP, and Smart Link. Ports blocked by STP, RSTP, or MSTP can receive and send MVRP protocol packets.

For more information about STP, RSTP, MSTP, and PVST, see "Configuring the spanning tree." For more

information about RRPP and Smart Link, see

High Availability Configuration Guide.

Do not enable both MVRP and remote port mirroring on a port. Otherwise, MVRP might register the
remote probe VLAN to unexpected ports, which would cause the monitor port to receive undesired

duplicates. For more information about port mirroring, see

Network Management and Monitoring

Configuration Guide.

Enabling MVRP on a Layer 2 aggregate interface enables both the aggregate interface and all Selected
member ports in the link aggregation group to participate in dynamic VLAN registration and

deregistration.

MVRP runs on a per-MSTI basis. When configuring MVRP, make sure all MSTIs in the network are
effective and each MSTI is mapped to an existing VLAN on each device in the network.

Before enabling MVRP on a port, you must enable MVRP globally. You can configure MVRP only on trunk

ports, and you must assign the involved trunk ports to all dynamic VLANs.
To configure MVRP:

Step Command

Remarks

1.

Enter system view.

system-view N/A

2.

Enable MVRP globally.

mvrp global enable

By default, MVRP is globally
disabled.

3.

Enter interface view.

Enter Layer 2 Ethernet interface
view or Layer 2 aggregate

interface view:

interface interface-type
interface-number

Enter port group view:

port-group manual
port-group-name

Use one of the commands.

4.

Configure the port as a trunk
port.

port link-type trunk

By default, the link type of a port is
access.
For more information about the
port link-type trunk command, see

Layer 2

LAN Switching

Command Reference.

5.

Configure the port to permit
all VLANs.

port trunk permit vlan all

By default, a trunk port permits only
VLAN 1.
For more information about the
port trunk permit vlan all

command, see Layer 2

LAN

Switching Command Reference.

Advertising
This manual is related to the following products: