JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Sun Ethernet Fabric Operating System

QoS Administration Guide

search filter icon
search icon

Document Information

Using This Documentation

Product Notes

Related Documentation

Acronyms and Abbreviations

CLI Command Modes

Feedback

Support and Accessibility

Configuration Overview

QoS Management Architecture

Configuring QoS

Introduction

Classifying and Conditioning Ingress Traffic

Introduction

Define an ACL and Access Group

Define TCP and UDP Traffic

Define VLAN Tagged Packets

Define Incoming Packet Priorities

Define the Traffic Classes With the class-map Command

Set the Rate and Burst Tolerance of a Traffic Stream

Set up the Ingress Policy

Classifying and Scheduling Egress Class Traffic

Define the Egress Scheduler Behavior

Define a General Shaper

Insatiate Egress Queues

Mapping Ingress Traffic to Egress Class

Map Ingress Traffic to Egress Class

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