beautypg.com

1 set port vid, 2 set acceptable frame type, 3 enable or disable port gvrp – ZyXEL Communications ZyXEL Dimension ES-2108 User Manual

Page 242

background image

ES-2108 Series User’s Guide

242

Chapter 34 IEEE 802.1Q Tagged VLAN Commands

34.3.1 Set Port VID

Syntax:

pvid

where

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.

34.3.2 Set Acceptable Frame Type

Syntax:

frame-type

where

This command sets the specified port to accept all Ethernet frames or only those with an IEEE
802.1Q VLAN tag.

The following example sets ports 1 to 5 to accept only tagged frames.

34.3.3 Enable or Disable Port GVRP

Use the

gvrp

command to enable GVRP on the port(s). Use the

no gvrp

command to disable

GVRP.

The following example turns off GVRP for ports 1 to 5.

=

Specifies the VLAN number between 1 and 4094.

sysname(config)# interface port-channel 1-5
sysname(config-interface)# pvid 200

=

Specifies all Ethernet frames (tagged and untagged), only tagged
Ethernet frames or only untagged Ethernet frames.

sysname(config)# interface port-channel 1-5
sysname(config-interface)# frame-type tagged

sysname(config)# interface port-channel 1-5
sysname(config-interface)# no gvrp