Network requirements, Configuration procedure – H3C Technologies H3C S12500 Series Switches User Manual

Page 263

Advertising
background image

250

{

Ports GigabitEthernet 3/0/2 and GigabitEthernet 3/0/3 have learned only VLAN 1 through

MVRP.

Configuration example for MVRP in fixed registration mode

Network requirements

As shown in

Figure 88

, enable MVRP and set the MVRP registration mode to fixed on GigabitEthernet

3/0/1 on Device B, so that the dynamic VLANs on Device B are not deregistered.

Figure 88 Network diagram

Configuration procedure

1.

Configure Device A:
# Globally enable MVRP.

<DeviceA> system-view

[DeviceA] mvrp global enable

# Configure GigabitEthernet 3/0/1 as a trunk port, and configure it to permit all VLANs.

[DeviceA] interface GigabitEthernet 3/0/1

[DeviceA-GigabitEthernet3/0/1] port link-type trunk

[DeviceA-GigabitEthernet3/0/1] port trunk permit vlan all

# Enable MVRP on GigabitEthernet 3/0/1.

[DeviceA-GigabitEthernet3/0/1] mvrp enable

[DeviceA-GigabitEthernet3/0/1] quit

# Create VLAN 2.

[DeviceA] vlan 2

[DeviceA-vlan2] quit

2.

Configure Device B:
# Globally enable MVRP.

<DeviceB> system-view

[DeviceB] mvrp global enable

# Configure GigabitEthernet 3/0/1 as a trunk port, and configure it to permit all VLANs.

[DeviceB] interface GigabitEthernet 3/0/1

[DeviceB-GigabitEthernet3/0/1] port link-type trunk

[DeviceB-GigabitEthernet3/0/1] port trunk permit vlan all

# Enable MVRP on GigabitEthernet 3/0/1.

[DeviceB-GigabitEthernet3/0/1] mvrp enable

[DeviceB-GigabitEthernet3/0/1] quit

# Create VLAN 3.

[DeviceB] vlan 3

[DeviceB-vlan3] quit

3.

Verify the configuration:

Advertising
This manual is related to the following products: