EasyManua.ls Logo

Cisco Sx350

Cisco Sx350
1323 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Virtual Local Area Network (VLAN) Commands
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide 1272
67
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)#
interface
gi1
3
switchxxxxxx(config-if)#
switchport mode general
switchxxxxxx(config-if)#
switchport general acceptable-frame-type tagged-only
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
vlan-list
| remove
vlan-list
}
no switchport general forbidden vlan
Parameters
add
vlan-list
—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.
remove
vlan-list
—Specifies a list of VLAN IDs to remove from interface.
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

Table of Contents

Related product manuals