EasyManuals Logo
Home>HP>Switch>3100 Series

HP 3100 Series User Manual

HP 3100 Series
225 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #155 background imageLoading...
Page #155 background image
146
<DeviceA> system-view
[DeviceA] gvrp
# Configure port Ethernet 1/0/1 as a trunk port, and assign it to all VLANs.
[DeviceA] interface ethernet 1/0/1
[DeviceA-Ethernet1/0/1] port link-type trunk
[DeviceA-Ethernet1/0/1] port trunk permit vlan all
# Enable GVRP on Ethernet 1/0/1 and set the GVRP registration mode to fixed on the port.
[DeviceA-Ethernet1/0/1] gvrp
[DeviceA-Ethernet1/0/1] gvrp registration fixed
[DeviceA-Ethernet1/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 Ethernet 1/0/1 as a trunk port, and assign it to all VLANs.
[DeviceB] interface ethernet 1/0/1
[DeviceB-Ethernet1/0/1] port link-type trunk
[DeviceB-Ethernet1/0/1] port trunk permit vlan all
# Enable GVRP on Ethernet 1/0/1, and set the GVRP registration mode to fixed on the port.
[DeviceB-Ethernet1/0/1] gvrp
[DeviceB-Ethernet1/0/1] gvrp registration fixed
[DeviceB-Ethernet1/0/1] quit
# Create VLAN 3 (a static VLAN).
[DeviceB] vlan 3
[DeviceB-vlan3] quit
3. Verify the configuration:
Use the display gvrp local-vlan command to display the local VLAN information that GVRP
maintains on ports. For example:
# Display the local VLAN information that GVRP maintains on port Ethernet 1/0/1 of Device A.
[DeviceA] display gvrp local-vlan interface ethernet 1/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 device are registered through GVRP, but dynamic VLAN information of VLAN 3 on
Device B is not.
# Display the local VLAN information that GVRP maintains on port Ethernet 1/0/1 of Device B.
[DeviceB] display gvrp local-vlan interface ethernet 1/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 device are registered through GVRP, but dynamic VLAN information of VLAN 2 on
Device A is not.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 3100 Series and is the answer not in the manual?

HP 3100 Series Specifications

General IconGeneral
BrandHP
Model3100 Series
CategorySwitch
LanguageEnglish

Related product manuals