beautypg.com

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

Page 177

background image

Dimension ES-2024 Ethernet Switch

IEEE 802.1Q Tagged VLAN

27-5

27.4.6

vlan1q port status

Syntax:

sys sw vlan1q port status

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

The following example shows the settings for port 1.

Figure 27-7 vlan1q port status Command Example

27.4.7

vlan1q port default vid

Syntax:

sys sw vlan1q port defaultVID

where

=

A port number

=

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

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

Figure 27-8 vlan1q port default vid Command Example

27.4.8

vlan1q port accept

Syntax:

sys sw vlan1q port accept

where

=

A port number

=

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

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 port 2 to accept only tagged frames.

ES-2024> sys sw vlan1q port status 1

Port 1 VLAN Setup :
Default VLAN ID = 1
VLAN Acceptable Type = All
GVRP = DISABLE


ES-2024> sys sw vlan1q port defaultVID 1 200