set service-class

Function

The set service-class command configures the service class for EXP values in MPLS headers.

The undo set service-class command cancels the configuration.

By default, the EXP values in MPLS headers are mapped to the service class BE.

This command is supported only on the NetEngine 8000 F1A.

Format

set service-class { af1 | af2 | af3 | af4 | be | cs6 | cs7 | ef } { inbound | outbound }

undo set service-class [ af1 | af2 | af3 | af4 | be | cs6 | cs7 | ef ] { inbound | outbound }

Parameters

Parameter Description Value
af1

Specifies the service class to be AF1.

-

af2

Specifies the service class to be AF2.

-

af3

Specifies the service class to be AF3.

-

af4

Specifies the service class to be AF4.

-

be

Specifies the service class to be BE.

-

cs6

Specifies the service class to be CS6.

-

cs7

Specifies the service class to be CS7.

-

ef

Specifies the service class to be EF.

-

inbound

Specifies the packets to be decrypted.

-

outbound

Specifies the packets to be encrypted.

-

Views

IPsec profile view, IPsec policy template view, ISAKMP IPsec policy view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ike write

Usage Guidelines

Usage Scenario

After a packet enters an MPLS network, both the DSCP value of IP headers and EXP value of MPLS headers in the packets are mapped to service classes. To allow only the EXP value of MPLS headers to be modified, run the set service-class command.

Configuration Impact

Only the EXP values of MPLS headers are mapped to service classes.

Example

# Map the EXP value of MPLS headers in packets to be decrypted to the service class AF1 in the IPsec policy named policy1.
<HUAWEI> system-view
[~HUAWEI] ipsec policy policy1 1 isakmp
[*HUAWEI-ipsec-policy-isakmp-policy1-1] set service-class af1 inbound
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >