hit counter script

Switchport General Forbidden Vlan - Cisco Sx350 Cli Manual

Hide thumbs Also See for Sx350:
Table of Contents

Advertisement

Virtual Local Area Network (VLAN) Commands
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
Example
The following example configures port gi13 to be in general mode and to discard
untagged frames at ingress.
switchxxxxxx(config)#
switchxxxxxx(config-if)#
switchxxxxxx(config-if)#

67.18 switchport general forbidden vlan

Use the switchport general forbidden vlan Interface Configuration mode
command to forbid adding/removing specific VLANs to/from a port. Use the no
form of this command to restore the default configuration.
Syntax
switchport general forbidden vlan {add
no switchport general forbidden vlan
Parameters
vlan-list
add
—Specifies a list of VLAN IDs to add to interface. Separate
nonconsecutive VLAN IDs with a comma and no spaces. Use a hyphen to
designate a range of IDs.
vlan-list
remove
Separate nonconsecutive VLAN IDs with a comma and no spaces. Use a
hyphen designate a range of IDs.
Default Configuration
All VLANs are allowed.
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
interface gi13
switchport mode general
switchport general acceptable-frame-type tagged-only
vlan-list
—Specifies a list of VLAN IDs to remove from interface.
vlan-list
| remove
}
67
1272

Advertisement

Table of Contents
loading

Table of Contents