Gvrp fixed registration mode configuration example, Network requirements, Configuration procedure – H3C Technologies H3C S12500 Series Switches User Manual

Page 193

Advertising
background image

180

GVRP fixed registration mode configuration example

Network requirements

As shown in

Figure 63

, enable GVRP and configure the fixed registration mode on ports to enable the

registration of static VLAN information between the two switches.

Figure 63 Network diagram

Configuration procedure

1.

Configure Device A:
# Enable GVRP globally.

<DeviceA> system-view

[DeviceA] gvrp

# Configure port GigabitEthernet 3/0/1 as a trunk port, and assign it to 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 GVRP on GigabitEthernet 3/0/1 and set the GVRP registration mode to fixed on the
port.

[DeviceA-GigabitEthernet3/0/1] gvrp

[DeviceA-GigabitEthernet3/0/1] gvrp registration fixed

[DeviceA-GigabitEthernet3/0/1] quit

# Create VLAN 2 (a static VLAN).

[DeviceA] vlan 2

[DeviceA-vlan2] quit

2.

Configure Device B:
# Enable GVRP globally.

<DeviceB> system-view

[DeviceB] gvrp

# Configure port GigabitEthernet 3/0/1 as a trunk port, and assign it to 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 GVRP on GigabitEthernet 3/0/1, and set the GVRP registration mode to fixed on the
port.

[DeviceB-GigabitEthernet3/0/1] gvrp

[DeviceB-GigabitEthernet3/0/1] gvrp registration fixed

[DeviceB-GigabitEthernet3/0/1] quit

# Create VLAN 3 (a static VLAN).

[DeviceB] vlan 3

[DeviceB-vlan3] quit

Advertising
This manual is related to the following products: