Skip Navigation Links
Exit Print View
| Sun Ethernet Fabric Operating System ### QoS Administration Guide

Search Scope:

- This Document
- Entire Library

## Define the Traffic Classes With the `class-map` Command

Each instance of the `class-map` command shown in this example links each of the defined traffic classes shown in the prior examples with an identifier by using the `set class` command. Use the identifiers with the `policy-map` command, as in the examples in the following sections.

1. Define the traffic class.

       SEFOS# configure terminal
       SEFOS(config)# class-map 1000
       SEFOS(config-cls-map)# match access-group ip-access-list 200
       SEFOS(config-cls-map)# set class 3000
       SEFOS(config-cls-map)# exit
       SEFOS(config)# class-map 1001
       SEFOS(config-cls-map)# match access-group ip-access-list 101
       SEFOS(config-cls-map)# set class 3001
       SEFOS(config-cls-map)# exit
       SEFOS(config)# class-map 1002
       SEFOS(config-cls-map)# match access-group ip-access-list 102
       SEFOS(config-cls-map)# set class 3002
       SEFOS(config-cls-map)# exit
       SEFOS(config)# class-map 1003
       SEFOS(config-cls-map)# match access-group mac-access-list 50
       SEFOS(config-cls-map)# set class 3003
       SEFOS(config-cls-map)# exit
       SEFOS(config)# class-map 1004
       SEFOS(config-cls-map)# match access-group priority-map 500
       SEFOS(config-cls-map)# set class 3004
       SEFOS(config-cls-map)# exit
       SEFOS(config)# exit

2. Review the information for class-map `1000`.

       SEFOS# show class-map 1000
       QoS Class Map Entries
       ---------------------
       ClassMapId           : 1000
       L2FilterId           : None
       L3FilterId           : 200
       PriorityMapId        : None
       CLASS                : 3000
       PolicyMapId          : None
       PreColor             : None
       Status               : Active

3. Review the information for class-map `1001`.

       SEFOS# show class-map 1001
       QoS Class Map Entries
       ---------------------
       ClassMapId          : 1001
       L2FilterId          : None
       L3FilterId          : 101
       PriorityMapId       : None
       CLASS               : 3001
       PolicyMapId         : None
       PreColor            : None
       Status              : Active

4. Review the information for class-map `1002`.

       SEFOS# show class-map 1002
       ClassMapId          : 1002
       L2FilterId          : None
       L3FilterId          : 102
       PriorityMapId       : None
       CLASS               : 3002
       PolicyMapId         : None
       PreColor            : None
       Status              : Active

5. Review the information for class-map `1003`.

       SEFOS# show class-map 1003
       QoS Class Map Entries
       ---------------------
       ClassMapId          : 1003
       L2FilterId          : 50
       L3FilterId          : None
       PriorityMapId       : None
       CLASS               : 3003
       PolicyMapId         : None
       PreColor            : None
       Status              : Active

6. Review the information for class-map `1004`.

       SEFOS# show class-map 1004
       QoS Class Map Entries
       ---------------------
       ClassMapId         : 1004
       L2FilterId         : None
       L3FilterId         : None
       PriorityMapId      : 500
       CLASS              : 3004
       PolicyMapId        : None
       PreColor           : None
       Status             : Active

Copyright © 2010, 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices |