< Home

mpls-exp-outbound

Function

The mpls-exp-outbound command maps PHBs and colors of MPLS packets to EXP priorities in a DiffServ domain on an outbound interface.

The undo mpls-exp-outbound command restores the default mapping.

The following table shows the default mappings from PHBs and colors to EXP priorities of MPLS packets in a DiffServ domain on an outbound interface.

Table 1 Default mappings from PHBs and colors to EXP priorities of MPLS packets in a DiffServ domain on an outbound interface

PHB

Color

EXP Priority

BE

green

0

BE

yellow

0

BE

red

0

AF1

green

1

AF1

yellow

1

AF1

red

1

AF2

green

2

AF2

yellow

2

AF2

red

2

AF3

green

3

AF3

yellow

3

AF3

red

3

AF4

green

4

AF4

yellow

4

AF4

red

4

EF

green

5

EF

yellow

5

EF

red

5

CS6

green

6

CS6

yellow

6

CS6

red

6

CS7

green

7

CS7

yellow

7

CS7

red

7

Format

mpls-exp-outbound service-class color map exp-value

undo mpls-exp-outbound [ service-class color ]

Parameters

Parameter

Description

Value

service-class

Specifies a PHB.

The value can be BE, AF1 to AF4, EF, CS6, or CS7.

color

Specifies the color of a packet.

The value can be green, yellow, or red.

exp-value

Specifies the EXP priority of an MPLS packet.

The value is an integer ranging from 0 to 7. A larger value indicates a higher EXP priority of the MPLS packet.

Views

DiffServ domain view

Default Level

2: Configuration level

Usage Guidelines

After QoS scheduling is performed on the MPLS packets, run the mpls-exp-outbound command to map the PHB and color of the MPLS packets in a DiffServ domain to the EXP priority. After the DiffServ domain is bound to the outbound interface of MPLS packets, the downstream device implements QoS scheduling according to EXP priority.

The switch can map PHBs and colors in MPLS packets to EXP priorities and 802.1p priorities on an outbound interface.

Example

# In the DiffServ domain ds1, map the PHB AF1 of outgoing MPLS packets marked yellow to EXP priority 2.

<HUAWEI> system-view
[HUAWEI] diffserv domain ds1
[HUAWEI-dsdomain-ds1] mpls-exp-outbound af1 yellow map 2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >