Configuring an mvrp registration mode, Configuring mrp timers – H3C Technologies H3C S5560 Series Switches User Manual

Page 222

Advertising
background image

188

Step Command

Remarks

5.

Configure the trunk port to
permit the specified VLANs.

port trunk permit vlan { vlan-id-list
| all }

By default, a trunk port permits only
VLAN 1.
Make sure the trunk port permits all
registered VLANs.
For more information about the
port trunk permit vlan command,

see Layer 2

LAN Switching

Command Reference.

6.

Enable MVRP on the port.

mvrp enable

By default, MVRP is disabled on a
port.

Configuring an MVRP registration mode

Step

Command

Remarks

1.

Enter system view.

system-view N/A

2.

Enter Layer 2 Ethernet
interface view or Layer 2

aggregate interface view.

interface interface-type
interface-number

N/A

3.

Configure an MVRP

registration mode.

mvrp registration { fixed |
forbidden | normal }

Optional.
The default setting is normal
registration mode.

Configuring MRP timers

To avoid frequent VLAN registrations and deregistrations, use the same MRP timers throughout the
network.
Each port maintains its own Periodic, Join, and LeaveAll timers, and each attribute of a port maintains a

Leave timer.
To configure MRP timers:

Step

Command

Remarks

1.

Enter system view.

system-view N/A

2.

Enter Layer 2 Ethernet
interface view or Layer 2

aggregate interface view.

interface interface-type
interface-number

N/A

3.

Configure the LeaveAll timer. mrp timer leaveall timer-value

Optional.
The default setting is 1000

centiseconds.

Advertising