2-1113
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
vlan configuration
vlan configuration
To configure a service-policy on a VLAN, use the vlan configuration command to enter the VLAN
feature configuration mode.
vlan configuration {vlan}
Syntax Description
Defaults This command has no default settings.
Command Modes Global configuration mode
Command History
Usage Guidelines Even though an SVI is not needed in all cases, such as when you use your Catalyst 4500 series switch
as a pure Layer 2 switch, you are required to create an SVI.
VLAN configuration mode has been inroduced to remove the requirement of creating an SVI. With this
command you can specify lists of VLANs and the input and output policies that are applied. To configure
your system in this mode there is no requirement for you to create SVIs, or create VLAN or VTP mode
interactions. Once the VLAN becomes active the configuration becomes active on that VLAN. You can
use “-” or “,” extensions to specifying VLAN list.
Examples This example shows how to configure a service policy while in VLAN configuration mode and display
the new service policy:
Switch# configure terminal
Switch(config)# vlan configuration 30-40
Switch(config-vlan-config)# service-policy input p1
Switch(config-vlan-config)# end
Switch# show running configuration | begin vlan configuration
!
vlan configuration 30-40
service-policy input p1
!
vlan internal allocation policy ascending !
vlan 2-1000
!
Switch#
vlan Specifies a list of VLANs. “,” “-” operators can be used; such as, 1-10,20.
Release Modification
12.2(40)SG This command was introduced on Catalyst 4900M and Supervisor Engine 6E.