EasyManuals Logo
Home>Cisco>Switch>300 Series

Cisco 300 Series User Manual

Cisco 300 Series
1117 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
Page #1074 background imageLoading...
Page #1074 background image
Virtual Local Area Network (VLAN) Commands
OL-32830-01 Command Line Interface Reference Guide 1074
56
56.24 switchport forbidden default-vlan
Use the switchport forbidden default-vlan Interface Configuration command to
forbid a port from being added to the default VLAN. Use the no form of this
command to revert to default.
Syntax
switchport forbidden default-vlan
no switchport forbidden default-vlan
Parameters
N/A
Default Configuration
Membership in the default VLAN is allowed.
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
User Guidelines
The command may used only when the default VLAN is supported.The command
may be used at any time regardless of whether the port belongs to the default
VLAN.
The no command does not add the port to the default VLAN, it only defines an
interface as permitted to be a member of the default VLAN, and the port will be
added only when conditions are met.
Example
The following example forbids the port gi11 from being added to the default VLAN.
switchxxxxxx(config)#
interface
gi11
switchxxxxxx(config-if)#
switchport forbidden default-vlan
56.25 switchport forbidden vlan
The switchport forbidden vlan Interface Configuration mode command forbids
adding or removing specific VLANs to or from a port.

Table of Contents

Other manuals for Cisco 300 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco 300 Series and is the answer not in the manual?

Cisco 300 Series Specifications

General IconGeneral
BrandCisco
Model300 Series
CategorySwitch
LanguageEnglish

Related product manuals