32
Virtual Local Area Network (VLAN) Commands
Example 4 - Configures VLAN on port 21 as untagged on input and tagged on
output:
switchxxxxxx(config)# interface gi21
switchxxxxxx(config-if)# switchport mode general
switchxxxxxx(config-if)#
switchport general pvid 2
switchxxxxxx(config-if)# switchport general allowed vlan add 2 tagged
switchxxxxxx(config-if)#
Example 5 - Configures VLAN on port 14 as tagged on input and tagged on output:
switchxxxxxx(config)# interface gi14
switchxxxxxx(config-if)# switchport mode general
switchxxxxxx(config-if)# switchport general allowed vlan add 2 tagged
switchxxxxxx(config-if)#
Example 6 - Configures VLAN on port 23 as tagged on input and untagged on
output:
switchxxxxxx(config)# interface gi23
switchxxxxxx(config-if)# switchport mode general
switchxxxxxx(config-if)# switchport general allowed vlan add 2 tagged
switchxxxxxx(config-if)#
32.17 switchport general ingress-filtering disable
Use the switchport general ingress-filtering disable Interface Configuration
(Ethernet, Port-channel) mode command to disable port ingress filtering (no
packets are discarded at the ingress) on a general port. Use the no form of this
command to restore the default configuration.
Syntax
switchport general ingress-filtering disable
no switchport general ingress-filtering disable
506
78-21075-01 Command Line Interface Reference Guide
Need help?
Do you have a question about the 300 Series and is the answer not in the manual?
Questions and answers