home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

show mpls in-segment-table

Displays the segment table for the incoming packet.

show mpls in-segment-table

Operational mode

Use this command to display the segment table for the incoming packet and show the incoming label-to-NHLFE mapping.

The show mpls in-segment-table command displays the following information:

Output field Description
Owner: Protocol, such as LDP
# of pops: Number of pops
fec: IP prefix for the FEC
ILM-ID: Internal index of the label table
Cross connect ix: Internal cross connect index
in intf: Ingress router
in label: Label on the packet from the ingress router
out-segment ix: Internal out segment index
Owner: Protocol, such as LDP
Persistent: Yes or No
Admin Status: Up or Down
Oper Status: Up or Down
Out-segment with ix: Internal index of the out segment
owner: Protocol owner
out intf: Egress router
out label: Label on the packet for the next router (N/A for the egress router)
Nexthop addr: Address of the next-hop router
cross connect ix: Internal index of the cross connect
op code: Swap or Pop

The following example shows how to display the incoming segment table and the incoming label-to-NHLFE mapping by using the show mpls in-segment-table command on the intermediate LSR.

vyatta@vyatta:~$ show mpls in-segment-table 
  Owner: LDP, # of pops: 1, fec: 3.3.3.3/32, ILM-ID: 23
     Cross connect ix: 1, in intf: dp0p1s3 in label: 52481 out-segment ix: 12
      Owner: LDP, Persistent: No, Admin Status: Down, Oper Status: Up
       Out-segment with ix: 12, owner: LDP, out intf: dp0p1s1, out label: 3
    Nexthop addr: 192.166.3.2        cross connect ix: 1, op code: Swap

  Owner: LDP, # of pops: 1, fec: 10.0.0.0/8, ILM-ID: 17
     Cross connect ix: 3, in intf: dp0p1s1 in label: 52484 out-segment ix: 4
      Owner: LDP, Persistent: No, Admin Status: Down, Oper Status: Up
       Out-segment with ix: 4, owner: LDP, out intf: dp0s4, out label: N/A
    Nexthop addr: 192.168.252.253        cross connect ix: 3, op code: Pop