Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show mpls context-identifer

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show mpls context-identifer
<brief | detail>
<logical-system (all | logical-system-name)>
<primary>;
<protector>;

Description

Display information about configured egress protection context identifiers.

Options

none

Display standard information about egress protection.

brief | detail

(Optional) Display the specified level of output.

logical-system (all | logical-system-name)

(Optional) Perform this operation on all logical systems or on a particular logical system.

primary

(Optional) Perform this operation on the primary node.

protector

(Optional) Perform this operation on the protector node.

Required Privilege Level

view

Output Fields

Table 1 describes the output fields for the show mpls egress-protection detail command. Output fields are listed in the approximate order in which they appear.

Table 1: show mpls lsp Output Fields

Field Name

Field Description

Level of Output

ID

Context identifier.

All levels

Type

Indicates node type: protector or primary

All levels

Metric

MPLS cost value of the context identifier route. This route appears in inet.0 on the protector and primary nodes. On the protector node, the metric is a larger number.

All levels

Mode

Indicates advertise-mode: proxy or alias

detail

Context table

Name of the MPLS routing table created for egress protection.

All levels

Context LSPs

Names of the LSPs that have egress protection configured.

Loopback interface addresses of the devices from which the LSPs are originated.

detail

Total

Total number of primary and protector nodes.

All levels

Primary

Number of primary nodes.

All levels

Protector

Number of protector nodes.

All levels

Sample Output

show mpls context-identifier detail (Protector)

content_copy zoom_out_map
user@host> show mpls context-identifier detail
ID: 166.1.3.1
  Type: protector, Metric: 16777215, Mode: alias
  Context table: __166.1.3.1__.mpls.0, Label out: 299968

Sample Output

show mpls context-identifier detail (Primary)

content_copy zoom_out_map
user@host> show mpls context-identifier detail

ID: 166.1.3.1
  Type: primary, Metric: 1, Mode: alias

Total 1, Primary 1, Protector 0

Release Information

Command introduced in Junos OS Release 11.4R3.

footer-navigation