ZyXEL Communications ES-3124 Switch User Manual


 
Dimension ES-3124 Ethernet Switch
IEEE 802.1Q Tagged VLAN 30-5
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 30-7 vlan1q port status Command Example
30.4.7 vlan1q port default vid
Syntax:
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 30-8 vlan1q port default vid Command Example
30.4.8 vlan1q port accept
Syntax:
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
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.
Figure 30-9 vlan1q port accept Command Example
ES-3124> sys sw vlan1q port status 1
Port 1 VLAN Setup :
Default VLAN ID = 1
VLAN Acceptable Type = All
GVRP = Disable
VLAN Trunking = Disable
ES-3124>
ES-3124> sys sw vlan1q port defaultVID 1 2000
ES-3124> sys sw vlan1q port accept 2 tagged