18-8
www.hp.com
HP PC Blade Switch CLI Reference Guide
QoS Commands
class
The
class
Policy-map Configuration mode command defines a traffic classification and enters
the Policy-map Class Configuration mode. To remove a class map from the policy map, use the
no
form of this command.
Syntax
class
class-map-name
[
access-group
acl-name
]
no class
class-map-name
Parameters
n
class-map-name
— Specifies the name of an existing class map. If the class map does not
exist, a new class map will be created under the specified name.
n
acl-name
— Specifies the name of an IP or MAC ACL.
Default Setting
No policy map is defined.
Command Mode
Policy-map Configuration mode
Command Usage
Before modifying a policy for an existing class or creating a policy for a new class, use the
policy-map
Global Configuration mode command to specify the name of the policy map to
which the policy belongs and to enter the Policy-map Configuration mode.
Use the
service-policy
(Ethernet, Port-channel) Interface Configuration mode command to
attach a policy map to an interface.
Use an existing class map to attach classification criteria to the specified policy map and use the
access-group
parameter to modify the classification criteria of the class map.
If this command is used to create a new class map, the name of an IP or MAC ACL must also be
specified.
Example
The following command defines a traffic classification called class1 with an access-group called
HP. The class is in a policy map called policy1.
Console(config)#
policy-map
policy1
Console (config-pmap)#
class class1 access-group
HP
Содержание BladeSystem bc2000 - Blade PC
Страница 44: ...2 24 www hp com HP PC Blade Switch CLI Reference Guide 802 1x Commands ...
Страница 90: ...5 22 www hp com HP PC Blade Switch CLI Reference Guide Address Table Commands ...
Страница 142: ...8 24 www hp com HP PC Blade Switch CLI Reference Guide Ethernet Configuration Commands ...
Страница 152: ...9 10 www hp com HP PC Blade Switch CLI Reference Guide GVRP Commands ...
Страница 162: ...10 10 www hp com HP PC Blade Switch CLI Reference Guide IGMP Snooping Commands ...
Страница 178: ...1 1 16 www hp com HP PC Blade Switch CLI Reference Guide IP Addressing Commands ...
Страница 194: ...13 10 www hp com HP PC Blade Switch CLI Reference Guide Line Commands ...
Страница 202: ...14 8 www hp com HP PC Blade Switch CLI Reference Guide Management ACL Commands ...
Страница 208: ...15 6 www hp com HP PC Blade Switch CLI Reference Guide PHY Diagnostics Commands ...
Страница 216: ...17 4 www hp com HP PC Blade Switch CLI Reference Guide Port Monitor Commands ...
Страница 272: ...20 18 www hp com HP PC Blade Switch CLI Reference Guide RMON Commands ...
Страница 362: ...24 16 www hp com HP PC Blade Switch CLI Reference Guide Syslog Commands ...