70
gigaethernet state
active
or
no vlan 8021q
[VLAN ID]
or
Delete port base group ID
active
or
switch(vlan)#no vlan 8021q 2
switchport
allowed vlan
8021q add [VLAN
ID]
[tagged|untagged]
or
switchport
allowed vlan
8021q remove
[VLAN ID]
or
no switchport
allowed vlan8021q
Interface
configuration
mode
Add port to the VLAN
Remove port to the VLAN
Remove port from all VLAN
except default VLAN
witch(config)#interface
gigaethernet 1
switch(config-if)#
switchport allowed vlan 8021q
add 2 tagged
or
switch(config-if)#
switchport allowed vlan 8021q
remove 2
or
switch(config-if)#
no switchport allowed vlan
8021q
switchport native
vlan [PVID]
or
no switchport
native vlan
Interface
configuration
mode
Set Port PVID
1
switch(config)#
interface gigaethernet 1
switch(config-if)#
switchport native vlan 2
or
switch(config-if)#
no switchport native vlan
switchport
acceptable-frame-t
ypes [all|tagged]
or
no switchport
acceptable-frame-t
ypes
Interface
configuration
mode
Set accept frame type
all
switch(config)#
interface gigaethernet 1
switch(config-if)#
switchport
acceptable-frame-types all
or
switch(config-if)#
no switchport
acceptable-frame-types
switchport
ingress-filtering
or
no switchport
ingress-filtering
Interface
configuration
mode
Set ingress filter
disable
switch(config)#
interface gigaethernet 1
switch(config-if)#
switchport ingress-filtering
or
switch(config-if)#
no switchport ingress-filtering