HP (Hewlett-Packard) series 2500 Switch User Manual


 
9-88
Configuring Advanced Features
GVRP
Configuring Advanced
Features
Displaying the Static and Dynamic VLANs Active on the Switch. The
show vlans command lists all VLANs present in the switch.
Syntax: show vlans
For example, in the following illustration, switch A has one static VLAN (the
default VLAN), with GVRP enabled and port 1 configured to Learn for
Unknown VLANs. Switch B has GVRP enabled and has three static VLANs:
the default VLAN, VLAN-222, and VLAN-333. In this scenario, switch B will
dynamically join VLAN-222 and VLAN-333:
The show vlans command lists the dynamic (and static) VLANs in switch B.
Figure 9-64. Example of Listing Showing Dynamic VLANs
Switch A
GVRP enabled.
3 Static VLANs:
DEFAULT_VLAN
VLAN-222
VLAN-33
Switch B
GVRP enabled.
1 Static VLANs:
DEFAULT_VLAN
Dynamic VLANs
Learned from
Switch A
through Port 1