![background image](http://html.mh-extra.com/html/smc-networks/6624fmst/6624fmst_management-manual_1300650274.webp)
9-84
Configuring Advanced Features
GVRP
Co
nf
ig
u
ri
ng Adva
nce
d
Feat
u
res
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 “B” has one static VLAN (the
default VLAN), with GVRP enabled and port 1 configured to
Learn
for
Unknown VLANs. Switch “A” 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-333
Switch “B”
GVRP enabled.
1 Static VLANs:
– DEFAULT_VLAN
Switch-B> show vlans
Status and Counters - VLAN Information
VLAN support : Yes
Maximum VLANs to support : 8
Primary VLAN : DEFAULT_VLAN
802.1Q VLAN ID Name
Status
-------------- ------------- -------------
1
DEFAULT_VLAN
Static
222
GVRP_222
Dynamic
333
GVRP_333
Dynamic
Dynamic VLANs
Learned from
Switch “A”
through Port 1