The mpls te service-class command specifies a service class for packets to be allowed to pass through an MPLS TE tunnel.
The undo mpls te service-class command deletes a service class for packets to be allowed to pass through an MPLS TE tunnel.
By default, no service class is specified for packets to be allowed to pass through an MPLS TE tunnel.
Parameter | Description | Value |
---|---|---|
be |
Specifies the service class for packets over an MPLS TE tunnel to be BE. |
- |
af1 |
Specifies the service class for packets over an MPLS TE tunnel to be AF1. |
- |
af2 |
Specifies the service class for packets over an MPLS TE tunnel to be AF2. |
- |
af3 |
Specifies the service class for packets over an MPLS TE tunnel to be AF3. |
- |
af4 |
Specifies the service class for packets over an MPLS TE tunnel to be AF4. |
- |
ef |
Specifies the service class for packets over an MPLS TE tunnel to be EF. |
- |
cs6 |
Specifies the service class for packets over an MPLS TE tunnel to be CS6. |
- |
cs7 |
Specifies the service class for packets over an MPLS TE tunnel to be CS7. |
- |
default |
Sets a service class for packets over an MPLS TE tunnel to default. |
- |
Usage Scenario
When services recurse to multiple TE tunnels, the mpls te service-class command is run on the TE tunnel interface to set a service class so that a TE tunnel transmits services of a specified service class.
Precautions
This command is used only on the ingress of an MPLS TE tunnel.
The mpls te service-class and load-balance mpls unequal-cost enable commands are mutually exclusive. If both commands are run, the load-balance mpls unequal-cost enable command takes effect. If the mpls te service-class command is run repeatedly on a tunnel interface, the latest configuration overrides the previous one. If a non-be service class is set for packets to be allowed to pass through an MPLS TE tunnel using the mpls te service-class command, service traffic with the be service class can still be forwarded through the MPLS TE tunnel without being interrupted.