Qos template for NM-16ESW

Posted: May 25, 2006 by sankar in NM-16ESW, QOS

mls qos
### globally enables qos on NM-16ESW

mls qos map cos-map 0 8 16 26 32 46 48 56 —– this is default setting.
mls qos map cos-map 0 8 16 24 34 46 48 56 —– change voice signaling to 24 and video to 34

mls qos map dscp-cos
#### only 13 dscp values can be mapped to a cos value, this map is not needed for dscp values 26, 34 46 as they are mapped to cos values3, 4 and 5 respectively

int range fa 0 /1, 0/2
mls qos trust cos | dscp
switchport priority cos extend 0
### trusts the cos or dscp coming from phone
### zeros out the cos of PC port

mls qos cos <value>
### defines default cos value of port
mls qos cos override
### overrides last defined trust state of the port and applies default cos value of the port.
access-list 101 permit 172.16.1.0 0.0.0.255

class-map test
match access-group 101

policy-map tstpolicy
class test
police 256000 8000 exceed-action dscp 10 <—- There is no policed dscp map in ESW
police 256000 8000 conform-action <transmit> exceed-action { drop | dscp <value>}
or
police 256000 8000 conform-action {<set-dscp-transmit> <value> |<drop> } exceed-action {set-dscp-transmit value | drop}

int fa0/1
service policy input tstpolicy

Advertisements
Comments
  1. Martin Chmelik says:

    I think there is a mistake :
    mls qos map cos-map 0 8 16 26 32 46 48 56 —– this is default setting.

    Default settings is 0 8 16 26 32 40 48 56

    Bzuco

  2. cciev says:

    Bzuco,

    Look at the “show mls qos maps” command output from nm-16esw.

    RTR#sh mls qos maps

       Dscp-cos map:
           dscp:   0  8 10 16 18 24 26 32 34 40 46 48 56
         ———————————————–
            cos:   0  1  1  2  2  3  3  4  4  5  5  6  7

       Cos-dscp map:
            cos:   0  1  2  3  4  5  6  7
         ——————————–
           dscp:   0  8 16 26 32 46 48 56

  3. usedciscoblog says:

    Thanks for the information. This helps.

    NM-16ESW

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s