Configure CoS value for the LSP for QoS mapping between IP packet and MPLS through an LSP.
device# configure terminal
device(config)# router mpls
device(config-router-mpls)# lsp tunnel4
device(config-router-mpls-lsp-tunnel4)# no enable
device(config-router-mpls-lsp-tunnel4)# cos 7
device(config-router-mpls-lsp-tunnel4)# enable
The following configuration shows the steps in the previous configuration of the CoS value in the tunnel4 LSP.
device# configure terminal device(config)# router mpls device(config-router-mpls)# lsp tunnel4 device(config-router-mpls-lsp-tunnel4)# no enable device(config-router-mpls-lsp-tunnel4)# cos 7 device(config-router-mpls-lsp-tunnel4)# enable