beautypg.com

Class 3, Class – Allied Telesis AT-FS970M Series User Manual

Page 1683

background image

AT-FS970M Switch Command Line User’s Guide

1683

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 1685.

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 1745

“SHOW RUNNING-CONFIG” on page 166

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)#