Switchport Forbidden Vlan; Switchport General Acceptable-Frame-Type - Cisco 220 Series Smart Plus Reference Manual

Smart plus switches command line interface
Hide thumbs Also See for 220 Series Smart Plus:
Table of Contents

Advertisement

VLAN Commands

switchport forbidden vlan

switchport forbidden vlan

switchport general acceptable-frame-type

Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
To forbid adding or removing specific VLANs to or from a port, use the switchport
forbidden vlan Interface Configuration mode command.
Syntax
switchport forbidden vlan {add
Parameters
add
vlan-list
—Adds a list of VLANs. Separate nonconsecutive VLAN IDs
with a comma and no spaces. Use a hyphen to designate a range of VLAN
IDs.
vlan-list
remove
IDs with a comma and no spaces. Use a hyphen to designate a range of
VLAN IDs.
Default Configuration
All VLANs are allowed.
Command Mode
Interface Configuration (Ethernet, port channel) mode
Example
The following example forbids adding VLANs 234 to 256 to gi7:
switchxxxxxx(config)# interface gi7
switchxxxxxx(config-if)# switchport mode trunk
switchxxxxxx(config-if)# switchport forbidden vlan add 234-256
To configure the types of packets (tagged or untagged) that are filtered
(discarded) on the interface, use the switchport general acceptable-frame-type
Interface Configuration mode command.
To revert to its default setting, use the no form of this command.
vlan-list
| remove
—Removes a list of VLANs. Separate nonconsecutive VLAN
vlan-list
}
41
512

Advertisement

Table of Contents
loading

Table of Contents