beautypg.com

Class, Class 5 – Allied Telesis AT-8100 Series User Manual

Page 1705

background image

AT-8100 Switch Command Line User’s Guide

1705

CLASS

Syntax

class

name|default

Parameters

name

Indicates the name of a class map.

default

Indicates the class-map default name.

Mode

Policy Map Configuration mode

Description

Use this command to associate an existing class map to a policy map and
enter the Policy Map Class Configuration mode to configure the class
map. To create a class map, see “CLASS-MAP” on page 1707.

Use the no form of this command, NO CLASS, to delete an association
between a policy map and a class map.

Confirmation Commands

“SHOW POLICY-MAP” on page 1767

“SHOW RUNNING-CONFIG” on page 170

Examples

The following example creates a policy map called “pmap1,” then
associates a class map called “cmap5” to policy map “pmap1” and enters
the Policy Map Class Configuration mode:

awplus> enable
awplus# configure terminal
awplus(config)# policy-map pmap1
awplus(config-pmap)# class cmap5
awplus(config-pmap-c)#