Chapter 34 IEEE 802.1Q Tagged VLAN Commands

34.4.3 Show GVRP

Syntax:

show vlan1q gvrp

This command shows the switch’s GVRP settings.

An example is shown next.

Figure 161 show gvrp Command Example

sysname# show vlan1q gvrp GVRP Support

---------------------

gvrpEnable = YES

34.4.4 Enable GVRP

Syntax:

vlan1q gvrp

This command turns on GVRP in order to propagate VLAN information beyond the switch.

34.4.5 Disable GVRP

Syntax:

no vlan1q gvrp

This command turns off GVRP so that the switch does not propagate VLAN information to other switches.

34.5 Port VLAN Commands

You must configure the switch port VLAN settings in config-interface mode.

34.5.1 Set Port VID

Syntax:

pvid <VID>

where

<VID> = Specifies the VLAN number between 1 and 4094

This command sets the default VLAN ID on the port(s).

The following example sets the default VID to 200 on ports 1 to 5.

260

 

GS-3012/GS-3012F User’s Guide