
20-141
Function:
Assign a new DSCP, IP Precedence for the classified traffic; the no form of this command delete assigning the new
values.
Parameter:
ip dscp <new-dscp>
new DSCP value, do not distinguish v4 and
v6.
ip precedence <
new-precedence>
new IP Precedence.
cos <new cos>
new COS value.
Default:
Not assigning by default.
Command Mode:
Policy Class-map Mode
Usage Guide:
Only the classified traffic which matches the matching standard will be assigned with the new values.
Example:
Set the IP Precedence of the packets matching c1 class rule to 3.
Switch(config)#policy-map p1
Switch(Config-PolicyMap-p1)#class c1
Switch(Config-PolicyMap-p1-Class-c1)#set ip precedence 3
Switch(Config-PolicyMap-p1-Class-c1)#exit
Switch(Config-PolicyMap-p1)#exit
20.20 show class-map
Command:
show class-map [<
class-map-name>
]
Function:
Displays class map of QoS.
Parameters:
<
class-map-name>
is the class map name.
Default:
N/A.