6 vlan1q port status command, 7 vlan1q port default vid command, 8 vlan1q port accept command – ZyXEL Communications ZyXEL Dimension ES-3024 User Manual

Page 151

Advertising
background image

Dimension ES-3024 Ethernet Switch

IEEE 802.1Q Tagged VLAN

23-5

ras> sys sw gvrp disable

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

23.4.6

VLAN1Q Port Status Command

Syntax:

ras> sys sw vlan1q port status <port>

This command shows information about the specified port’s VLAN settings.

The following example shows the settings for port 1.

Figure 23-7 VLAN1Q Port Status Command Example

23.4.7

VLAN1Q Port Default VID Command

Syntax:

ras> sys sw vlan1q port defaultVID <port> <VID>

where

<port> =

A port number

<VID> =

The VLAN ID. Valid parameter range = [1 – 4094].

This command sets a default VLAN ID for all untagged packets that come in through the specified port.

The following example sets the default VID of port 1 to 2000.

Figure 23-8 VLAN1Q Port Default VID Command Example

23.4.8

VLAN1Q Port Accept Command

Syntax:

ras> sys sw vlan1q port accept <port> <all|tagged>

where

<port> =

A port number

<all|tagged> =

Specifies all Ethernet frames (tagged and untagged) or only tagged
E h

f


ras> sys sw vlan1q port status 1
Port 2 VLAN Setup :
Default VLAN ID = 1
VLAN Acceptable Type = Tagged Only
GVRP = Enable


ras> sys sw vlan1q port defaultVID 1 2000

Advertising