Gvrp Forbidden Registration Mode Configuration Example - HP A6600 Configuration Manual

Layer 2 - lan switching
Hide thumbs Also See for A6600:
Table of Contents

Advertisement

[RouterA] vlan 2
[RouterA-vlan2] quit
Configure Router B
2.
# 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
Verify the configuration
3.
Use the display gvrp local-vlan command to display the local VLAN information maintained by GVRP on
ports. For example:
# Display the local VLAN information maintained by GVRP on port GigabitEthernet 3/0/1 of Router A.
[RouterA] display gvrp local-vlan interface gigabitEthernet 3/0/1
Following VLANs exist in GVRP local database:
1(default), 2
According to the output, information about VLAN 1 and static VLAN information of VLAN 2 on the local
router are registered through GVRP, but dynamic VLAN information of VLAN 3 on Router B is not.
# Display the local VLAN information maintained by GVRP on port GigabitEthernet 3/0/1 of Router B.
[RouterB] display gvrp local-vlan interface gigabitEthernet 3/0/1
Following VLANs exist in GVRP local database:
1(default), 3
According to the output, 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 Router A is not.

GVRP forbidden registration mode configuration example

Network requirements
As shown in
Router A and Router B are connected through their GigabitEthernet 3/0/1 ports.
Enable GVRP and configure the forbidden registration mode on ports to prevent the registration and
deregistration of all VLANs but VLAN 1 between the two routers.
Figure
47,
140

Advertisement

Table of Contents
loading

Table of Contents