Gvrp Forbidden Registration Mode Configuration Example - H3C SR8800 Configuration Manual

10g core routers layer 2 - lan switching
Hide thumbs Also See for SR8800:
Table of Contents

Advertisement

According to the output above, information about VLAN 1 and static VLAN information of VLAN
3 on the local router are registered through GVRP, but dynamic VLAN information of VLAN 2 on
Device A is not.

GVRP forbidden registration mode configuration example

Network requirements
As shown in
ports.
Enable GVRP and configure the forbidden registration mode on ports to prevent the registration of all
VLANs but VLAN 1 between the two routers.
Figure 43 Network diagram
Configuration procedure
Configure Device A:
1.
# Enable GVRP globally.
<DeviceA> system-view
[DeviceA] gvrp
# Configure port GigabitEthernet 4/1/1 as a trunk port, and assign it to all VLANs.
[DeviceA] interface GigabitEthernet 4/1/1
[DeviceA-GigabitEthernet4/1/1] port link-type trunk
[DeviceA-GigabitEthernet4/1/1] port trunk permit vlan all
# Enable GVRP on GigabitEthernet 4/1/1, and set the GVRP registration mode to forbidden on
the port.
[DeviceA-GigabitEthernet4/1/1] gvrp
[DeviceA-GigabitEthernet4/1/1] gvrp registration forbidden
[DeviceA-GigabitEthernet4/1/1] quit
# Create VLAN 2 (a static VLAN).
[DeviceA] vlan 2
[DeviceA-vlan2] quit
Configure Device B:
2.
# Enable GVRP globally.
<DeviceB> system-view
[DeviceB] gvrp
# Configure port GigabitEthernet 4/1/1 as a trunk port, and assign it to all VLANs.
[DeviceB] interface GigabitEthernet 4/1/1
[DeviceB-GigabitEthernet4/1/1] port link-type trunk
[DeviceB-GigabitEthernet4/1/1] port trunk permit vlan all
# Enable GVRP on GigabitEthernet 4/1/1, and set the GVRP registration mode to forbidden on
the port.
[DeviceB-GigabitEthernet4/1/1] gvrp
[DeviceB-GigabitEthernet4/1/1] gvrp registration forbidden
Figure
43, Device A and Device B are connected through their GigabitEthernet 4/1/1
117

Advertisement

Table of Contents
loading

Table of Contents