hit counter script

Switchport Forbidden Default-Vlan; Switchport Forbidden Vlan - Cisco 300 Series Cli Manual

Stackable managed switches
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

Virtual Local Area Network (VLAN) Commands
OL-32830-01 Command Line Interface Reference Guide

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 gi 1 1 from being added to the default VLAN.
switchxxxxxx(config)#
switchxxxxxx(config-if)#

56.25 switchport forbidden vlan

The switchport forbidden vlan Interface Configuration mode command forbids
adding or removing specific VLANs to or from a port.
interface gi11
switchport forbidden default-vlan
56
1074

Advertisement

Table of Contents
loading

Table of Contents