show mpls

Use this command to display MPLS data.

Command Syntax

Copy
show mpls

Parameters

None

Command Mode

Execution mode and Privileged execution mode

Applicability

This command was introduced before OcNOS version 1.3.

Examples

The following subsection displays a variety of show mpls commands.

Copy
#show mpls
Minimum label configured: 16
 Maximum label configured: 1048575
 Per label-space information:
   Label-space 0 is using minimum label: 16 and maximum label: 1048575
   Label-space 2342 is using minimum label: 556 and maximum label: 1048575
 Custom ingress TTL configured: none
 Custom egress TTL configured: none
 Log message detail: none
 Admin group detail: none
 Packets dropped IP:115167, dropped MPLS:0 sent to IP:490943, labeled:0, switch
d:0
 
MPLS Differentiated Services Supported Classes data:
CLASS       DSCP_value
  be           000000
 
MPLS Differentiated Services CLASS to EXP mapping data:
CLASS    DSCP_value     EXP_value
  be      000000           0
#

The following table explains the show command output fields.

Table 14.

show mpls output field

Field

Description

Packets dropped IP

Displays the number of packets dropped over the internet protocol.

Dropped MPLS

Displays the number of packets dropped over the MPLS.

Sent to IP

Displays the number of packets transmitted to the internet protocol.

Labeled

Number of labeled packets in the interface. The MPLS-labeled packets are switched after a label lookup/switch instead of a lookup into the IP table. Labels of pop-and-forward mpls tunnel:

 

P—Pop labels.

D—Delegation labels.

Switch

Type of switching on the links needed for the MPLS.

Class

Creates a class map to be used for matching traffic to a specified class, and enters class-map configuration mode.

DSCP Value

The value of the DSCP and DSCP classifier is used for routing Layer 3 packets.

EXP value

Sets the value of the MPLS EXP field on all imposed label entries.