H3C Technologies H3C S12500 Series Switches User Manual

Page 259

Advertising
background image

246

# Configure port GigabitEthernet 3/0/2 as a trunk port, and configure it to permit VLAN 40.

[DeviceD] interface GigabitEthernet 3/0/2

[DeviceD-GigabitEthernet3/0/2] port link-type trunk

[DeviceD-GigabitEthernet3/0/2] port trunk permit vlan 40

# Enable MVRP on port GigabitEthernet 3/0/2.

[DeviceD-GigabitEthernet3/0/2] mvrp enable

[DeviceD-GigabitEthernet3/0/2] quit

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

[DeviceD] interface GigabitEthernet 3/0/3

[DeviceD-GigabitEthernet3/0/3] port link-type trunk

[DeviceD-GigabitEthernet3/0/3] port trunk permit vlan 30 40

# Enable MVRP on port GigabitEthernet 3/0/3.

[DeviceD-GigabitEthernet3/0/3] mvrp enable

[DeviceD-GigabitEthernet3/0/3] quit

5.

Verify the configuration:
Use the display mvrp running-status command to display the local MVRP VLAN information to
verify whether the configuration takes effect.
# Check the local VLAN information on Device A.

[DeviceA] display mvrp running-status

-------[MVRP Global Info]-------

Global Status : Enabled

Compliance-GVRP : False

----[GigabitEthernet3/0/1] ----

Config Status : Enabled

Running Status : Enabled

Join Timer : 20 (centiseconds)

Leave Timer : 60 (centiseconds)

Periodic Timer : 100 (centiseconds)

LeaveAll Timer : 1000 (centiseconds)

Registration Type : Normal

Local VLANs :

1(default),

----[GigabitEthernet3/0/2] ----

Config Status : Enabled

Running Status : Enabled

Join Timer : 20 (centiseconds)

Leave Timer : 60 (centiseconds)

Periodic Timer : 100 (centiseconds)

LeaveAll Timer : 1000 (centiseconds)

Registration Type : Normal

Local VLANs :

1(default),

----[GigabitEthernet3/0/3] ----

Advertising
This manual is related to the following products: