Assigning Port VLAN IDs (PVIDs) and Ingress Filtering
Usage
PVID determines the VLAN to which all untagged frames received on one or more ports will be
classified.
Example
This example shows how to display PVIDs assigned to Fast Ethernet ports 1 through 6 in module
2. In this case, untagged frames received on these ports will be classified to VLAN 1:
Matrix(rw)->show port vlan fe.2.1-6
fe.2.1 is set to 1
fe.2.2 is set to 1
fe.2.3 is set to 1
fe.2.4 is set to 1
fe.2.5 is set to 1
fe.2.6 is set to 1
set port vlan
Use this command to configure the PVID (port VLAN identifier) for one or more ports.
Syntax
set port vlan
Parameters
port‐string
pvid
modify‐egress | no‐
modify‐egress
Defaults
If not specified, the egress list will be modified.
Mode
Switch command, Read‐Write.
Usage
For information on how to configure protocol‐based policy classification to a VLAN, including
how to configure a VLAN policy to override PVID, refer to Chapter
The PVID is used to classify untagged frames as they ingress into a given port. If the specified
VLAN has not already been created, this command will create it. It will prompt the user to add the
VLAN to the port's egress list as untagged, and remove the default VLAN from the port's egress
list.
7-10 802.1Q VLAN Configuration
port‐string pvid [
modify-egress
Specifies the port(s) for which to configure a VLAN identifier. For a
detailed description of possible port‐string values, refer to "Port String
Syntax Used in the CLI" on page 4‐2.
Specifies the VLAN ID of the VLAN to which port(s) will be added.
(Optional) Adds port(s) to VLANʹs untagged egress list and removes
them from other untagged egress lists, or does not prompt for or make
egress list changes
| no‐modify‐egress]
8.
set port vlan