53
4.5.3 VLAN
Table
This table shows you current settings of your VLAN table, including VLAN ID, Name,
Status, and Egress rule of the ports.
VLAN ID:
ID of the VLAN.
Name:
Name of the VLAN.
Status:
Static
shows this is a manually configured static VLAN.
Unused
means this VLAN
is created by UI/CLI and has no member ports. This VLAN is not workable yet.
Dynamic
means this VLAN is learnt by GVRP.
After created the VLAN, the status of this VLAN will remain in Unused status until you add
ports to the VLAN.
4.5.4 CLI Commands of the VLAN
Command Lines of the VLAN port configuration, VLAN configuration and VLAN table
display
Feature
Command Line
VLAN Port Configuration
VLAN Port PVID
Switch(config-if)# switchport trunk native vlan 2
Set port default vlan id to 2 success
Port Accept Frame
Type
JetNet 5008G-P(config)# inter fa1
JetNet 5008G-P(config-if)# acceptable frame type all
any kind of frame type is accepted!
JetNet 5008G-P(config-if)# acceptable frame type vlantaggedonly
only vlan-tag frame is accepted!
Ingress Filtering (for
fast Ethernet port 1)
Switch(config)# interface fa1
Switch(config-if)# ingress filtering enable
ingress filtering enable
Switch(config-if)# ingress filtering disable
ingress filtering disable
Egress rule – Untagged
(for VLAN 2)
Switch(config-if)# switchport access vlan 2
switchport access vlan - success
Egress rule – Tagged
Switch(config-if)# switchport trunk allowed vlan add 2