182Configuration prerequisitesBefore configuring MVRP, perform the following tasks:• Make sure all MSTIs in the network are effective and each MSTI is mapped to an existing VLAN oneach device in the network, because MVRP runs on a per-MSTI basis.• Configure the involved ports as trunk ports, because MVRP takes effect only on trunk ports. For moreinformation about trunk ports, see "Configuring VLANs."Enabling MVRPStep Command Remarks1. Enter system view. system-view N/A2. Enable MVRP globally. mvrp global enableBy default, MVRP is globallydisabled.To make MVRP take effect on aport, enable MVRP both on the portand globally.3. Enter Layer 2 Ethernetinterface view or Layer 2aggregate interface view.interface interface-typeinterface-number N/A4. Configure the port as a trunkport. port link-type trunkBy default, any port is an accessport. For more information aboutthe port link-type trunk command,see Layer 2—LAN SwitchingCommand Reference.5. Configure the trunk port topermit specified VLANs.port trunk permit vlan { vlan-id-list| all }By default, a trunk port permits onlyVLAN 1.Make sure the trunk port permits allregistered VLANs.For more information about theport trunk permit vlan command,see Layer 2—LAN SwitchingCommand Reference.6. Enable MVRP on the port. mvrp enable By default, MVRP is disabled on aport.Configuring an MVRP registration modeStep Command Remarks1. Enter system view. system-view N/A