Specifications

2-906
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0XO(15.1(1)XO)
OL_28738 -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 mod e.
vlan configuration {vlan}
Syntax Description
Defaults T his command has no default settings.
Command Modes Global c onfiguratio n mode
Usage Guidelines E ven though an SVI is not ne eded in all cases, such as when you use your Catalyst 4500 serie s 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 S VI. With this
command you can specify li sts of VLAN s and the i nput and out put policie s that are applie d. To configur e
your system in this mode there is no requireme nt 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 configur ation 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#
This example shows how to display the new service policy:
Switch# show policy-map vlan 30
vlan 30
Service-policy input: p1
Class-map: class-default (match-any)
0 packets
Match: any
vlan Specifies a lis t of VLANs. “,” “-” operators ca n be used; such as, 1-10,20.