beautypg.com

3 commands for qos, 1 class, 2 class-map – Accton Technology ES4626 User Manual

Page 259

background image

259

wrr-queue cos-map <queue-id>

cos8>

no wrr-queue cos-map

Set CoS value mapping to specified

egress queue; the “no wrr-queue

cos-map

” command restores the

default setting.

6. Configure QoS mapping

Command Explanation

Global Mode

mls qos map {cos-dscp <dscp1...dscp8> |

dscp-cos <dscp-list>

to <cos> |

dscp-mutation

to

<out-dscp> |ip-prec-dscp <dscp1...dscp8> |

policed-dscp <dscp-list>

to

<mark-down-dscp>}

no mls qos map {cos-dscp | dscp-cos |

dscp-mutation <dscp-mutation-name> |

ip-prec-dscp | policed-dscp}

Set CoS to DSCP mapping, DSCP

to CoS mapping, DSCP to DSCP

mutation mapping, IP precedence to

DSCP and policed DSCP mapping;

the “no mls qos map {cos-dscp |

dscp-cos | dscp-mutation

<dscp-mutation-name> |

ip-prec-dscp | policed-dscp}

command restores the default

mapping.

8.1.3 Commands for QoS

8.1.3.1 class

Command: class <class-map-name>

no class

Function:

Associates a class to a policy map and enters the policy class map mode; the

no class <class-map-name>“ command deletes the specified class.

Parameters: < class-map-name>

is the class map name used by the class.

Default:

No policy class is configured by default.

Command mode:

Policy map configuration Mode

Usage Guide:

Before setting up a policy class, a policy map should be created and the

policy map mode entered. In the policy map mode, classification and policy configuration

can be performed on packet traffic classified by class map.

Example:

Entering a policy class mode.

Switch(Config)#policy-map p1

Switch(Config-PolicyMap)#class c1

Switch(Config-Policy-Class)#exit

8.1.3.2 class-map

This manual is related to the following products: