HP A5830 Configuration Manual page 151

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

Advertisement

[DeviceA-GigabitEthernet1/0/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 1/0/1 as a trunk port, and assign it to all VLANs.
[DeviceB] interface gigabitethernet 1/0/1
[DeviceB-GigabitEthernet1/0/1] port link-type trunk
[DeviceB-GigabitEthernet1/0/1] port trunk permit vlan all
# Enable GVRP on GigabitEthernet 1/0/1, and set the GVRP registration mode to forbidden on the port.
[DeviceB-GigabitEthernet1/0/1] gvrp
[DeviceB-GigabitEthernet1/0/1] gvrp registration forbidden
[DeviceB-GigabitEthernet1/0/1] quit
# Create VLAN 3 (a static VLAN).
[DeviceB] vlan 3
[DeviceB-vlan3] quit
Verify the configuration.
3.
Use the display gvrp local-vlan command to view the local VLAN information that GVRP maintains on
ports. For example:
# Display the local VLAN information that GVRP maintains on port GigabitEthernet 1/0/1 of Device A.
[DeviceA] display gvrp local-vlan interface gigabitethernet 1/0/1
Following VLANs exist in GVRP local database:
1(default)
According to the output, information about VLAN 1 is registered through GVRP, but static VLAN
information of VLAN 2 on the local device and dynamic VLAN information of VLAN 3 on Device B are
not.
# Display the local VLAN information that GVRP maintains on port GigabitEthernet 1/0/1 of Device B.
[DeviceB] display gvrp local-vlan interface gigabitethernet 1/0/1
Following VLANs exist in GVRP local database:
1(default)
According to the output, information about VLAN 1 is registered through GVRP, but static VLAN
information of VLAN 3 on the local device and dynamic VLAN information of VLAN 2 on Device A are
not.
144

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents