Configuring priority mapping, Configuring a priority mapping table, Configuring the priority trust mode on a port – H3C Technologies H3C S7500E Series Switches User Manual

Page 48

Advertising
background image

4-5

Configuring Priority Mapping

Configuring a Priority Mapping Table

Follow these steps to configure an uncolored priority mapping table:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter priority mapping table view

qos map-table { dot1p-dp |

dot1p-exp | dot1p-lp |

dscp-dot1p | dscp-dp |

dscp-dscp | exp-dot1p | exp-dp }

Required

Configure the priority mapping

table

import import-value-list export

export-value

Required

Newly configured mappings

overwrite the old ones.

Display the configuration of the

priority mapping table

display qos map-table

[ dot1p-dp | dot1p-exp | dot1p-lp

| dscp-dot1p | dscp-dp |

dscp-dscp | exp-dot1p | exp-dp ]

Optional

Available in any view

The 802.1p-to-EXP priority mapping table (dot1p-exp) and the EXP-to-802.1p priority mapping table

(exp-dot1p) are available only for the EB and SD cards.

Configuring the Priority Trust Mode on a Port

Follow these steps to configure the trusted packet priority type on an interface/port group:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter

interface

view

interface interface-type

interface-number

Enter

interface

view or port

group view

Enter port

group view

port-group manual port-group-name

Use either command

Settings in interface view take

effect on the current interface;

settings in port group view take

effect on all ports in the port group.

Configure

the priority

trust mode

Trust the

DSCP

priority in

packets

qos trust dscp

Use either command

By default, the device trusts the

802.1p priority in packets.

Advertising