Archive for the ‘NM-16ESW’ Category

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