R3303-HP HSR6800 Routers Layer 2 - LAN Switching Configuration Guide
136
GVRP fixed registration mode configuration example
Network requirements
As shown in Figure 49, enable GVRP and configure the fixed registration mode on ports to enable
registration and deregistration of static VLAN information between the two routers.
Figure 49 Network diagram
Configuration procedure
1. Configure Router A:
# Enable GVRP globally.
<RouterA> system-view
[RouterA] gvrp
# Configure port GigabitEthernet 3/0/1 as a trunk port, and assign it to all VLANs.
[RouterA] interface GigabitEthernet 3/0/1
[RouterA-GigabitEthernet3/0/1] port link-type trunk
[RouterA-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.
[RouterA-GigabitEthernet3/0/1] gvrp
[RouterA-GigabitEthernet3/0/1] gvrp registration fixed
[RouterA-GigabitEthernet3/0/1] quit
# Create VLAN 2 (a static VLAN).
[RouterA] vlan 2
[RouterA-vlan2] quit
2. Configure Router B:
# Enable GVRP globally.
<RouterB> system-view
[RouterB] gvrp
# Configure port GigabitEthernet 3/0/1 as a trunk port, and assign it to all VLANs.
[RouterB] interface GigabitEthernet 3/0/1
[RouterB-GigabitEthernet3/0/1] port link-type trunk
[RouterB-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.
[RouterB-GigabitEthernet3/0/1] gvrp
[RouterB-GigabitEthernet3/0/1] gvrp registration fixed
[RouterB-GigabitEthernet3/0/1] quit
# Create VLAN 3 (a static VLAN).
[RouterB] vlan 3
[RouterB-vlan3] quit