User`s manual
Configuring VLAN Tagging
Command Line version
This section describes the commands to implement 802.1Q VLAN tagging.
Important:
Only enable 802.1Q tagging on ports directly connected to other 802.1Q enabled devices. If you connect
tag-enabled ports to non-802.1Q devices, these devices may think these packets, which are slightly
larger, are errors and drop them.
●
After setting up VLAN tagging, see Configuring GVRP to set the Switch propagate this information to other
802.1Q devices.
●
Configuring VLAN tagging
To enable and disable tagging by port:
>set port tagging <port_list> <tagged | untagged>
Example: set port tagging 25 tagged
1.
To set how you want a specific port or group of ports to handle incoming packets:
>set port acceptable-types <port_number> <admit-all | admit-tagged>
admit-all: accept all packets, whether they are tagged or not
admit-tagged: only accept packets with a VLAN tag, a VID
Example: set port acceptable-types 25 admit all
2.
To see the current setting for accepting VLAN-tagged frames for the specified port number:
>show port acceptable-types <port_number>
Example: show port acceptable-types 25
3.
This command sets the port's filtering behavior—whether this port should accept or discard tagged frames
that are for VLANs to which this port does not belong.
>set port ingress-filtering <port_number> [true | false]
true: drop all packets destined for other VLANs
false: accept all packets regardless of whether or not this port is a member of the same VLAN
Example: set port ingress-filtering 25 admit true
4.
To see the current ingress filtering setting:
>show port ingress-filtering <port_number>
Example: show port ingress-filtering 25
5.
To see the untagged setting for the selected VID:
>show vlan untagged <vid>
Example: show vlan untagged 36
6.
To see which ports are currently members of a particular VLAN:
>show vlan egress <vid>
Example: show vlan egress 5
7.
To set whether or not the Switch updates VLAN membership information based on GVRP messages8.
75