Configuration Guide     148
Configuring 802.1Q VLAN 802.1Q VLAN Configuration
The following example shows how to add the port 1/0/5 to VLAN 2, and specify its egress 
rule as tagged:
Switch#configure
Switch(config)#interface gigabitEthernet 1/0/5
Switch(config-if)#switchport general allowed vlan 2 tagged
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
 2            RD                               Tagged
Switch(config-if)#end
Switch#copy running-config startup-config