mpls lsp-encap-dscp-preserve

Use this command to preserve DSCP for IP packets encapsulated into MPLS headers when dscp is remarked on access interface. By default, DSCP is not preserved for IP packets encapsulated into MPLS headers.

Use the no parameter with this to unconfigure DSCP preserve.

Command Syntax

Copy
mpls lsp-encap-dscp-preserve
no mpls lsp-encap-dscp-preserve

Default

Disabled

Parameters

None

Command Mode

Configure mode

Applicability

This command was introduced before OcNOS version 6.5.2.

Examples

Copy
#configure terminal
(config)#mpls lsp-encap-dscp-preserve
(config)#commit
#configure terminal
(config)#no mpls lsp-encap-dscp-preserve
(config)#commit