beautypg.com

Enable gvrp, Disable gvrp, Set port vid – ZyXEL Communications ZyXEL Dimension GS-3012F User Manual

Page 220: 5 port vlan commands, 4 enable gvrp, 5 disable gvrp, 1 set port vid

background image

Dimension GS-3012F Gigabit Ethernet Switch

30-4

IEEE 802.1Q Tagged VLAN Commands

This command shows the switch’s GVRP settings.

An example is shown next.

Figure 30-4 garp status Command Example

30.4.4 Enable

GVRP

Syntax:

vlan1q gvrp

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

30.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.

30.5 Port VLAN Commands

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

30.5.1

Set Port VID

Syntax:

pvid

where

=

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.

Figure 30-5 vlan1q port default vid Command Example

GS-3012F # show vlan1q gvrp

GVRP Support

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

gvrpEnable = YES

GVRP Support

GS-3012F (config)# interface port-channel 1-5

GS-3012F (config-interface)# pvid 200