VLAN Commands 347
switchport general acceptable-frame-type tagged-only
The
switchport general acceptable-frame-type tagged-only
Interface Configuration mode
command discards untagged frames at ingress. To enable untagged frames at ingress, use the
no
form of this command.
Syntax
switchport general acceptable-frame-type tagged-only
no switchport general acceptable-frame-type tagged-only
Default Configuration
All frame types are accepted at ingress.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
There are no user guidelines for this command.
Example
The following example configures g8 to discard untagged frames at ingress.
switchport forbidden vlan
The
switchport forbidden vlan
Interface Configuration mode command forbids adding specific
VLANs to a port. This may be used to prevent GVRP from automatically making these VLANs
active on the selected ports. To revert to allowing the addition of specific VLANs to the port, use
the
remove
parameter for this command.
Syntax
switchport forbidden vlan
{
add
vlan-list
|
remove
vlan-list
}
add
vlan-list
—List of VLAN IDs to add to the "forbidden" list. Separate non consecutive
VLAN IDs with a comma and no spaces. A hyphen designates a range of IDs.
remove
vlan-list
—List of VLAN IDs to remove from the "forbidden" list. Separate non
consecutive VLAN IDs with a comma and no spaces. A hyphen designates a range of IDs.
Default Configuration
All VLANs allowed.
Console (config)# interface ethernet g8
Console (config-if)# switchport general acceptable-frame-type
tagged-only