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
gi13
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
Summary of Contents for Sx350
Page 1: ...Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide CLI GUIDE ...
Page 26: ...25 Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 1 ...
Page 237: ...CDP Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 236 8 ...
Page 975: ...RADIUS Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 974 48 ...