User Guide
146
Configuring 802.1Q VLAN
802.1Q VLAN Configuration
The following example shows how to configure the PVID of port 1/0/5 as 2, enable the
ingress checking and set the acceptable frame type as all:
Switch#configure
Switch(config)#interface gigabitEthernet
1/0/5
Switch(config-if)#switchport pvid
2
Switch(config-if)#switchport check ingress
Switch(config-if)#switchport acceptable frame
all
Switch(config-if)#show interface switchport gigabitEthernet
1/0/5
Port Gi1/0/5:
PVID: 2
Acceptable frame type: All
Ingress Checking: Enable
Member in LAG: N/A
Link Type: General
Member in VLAN:
Vlan Name Egress-rule
---- ----------- -----------
1 System-VLAN Untagged
Switch(config-if)#end
Switch#copy running-config startup-config
Downloaded from