Implementing Cisco Service Provider VPN Services: Displaying MPLS LDP LFIB on Cisco IOS XE Device

Displaying MPLS LDP LFIB on Cisco IOS XE Device

Question

An engineer is investigating an MPLS LDP issue.

Which command should an engineer use on a Cisco IOS XE device to display the contents of the LFIB?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A.

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/mpls/command/mp-cr-book/mp-s2.html

The correct command to display the contents of the Label Forwarding Information Base (LFIB) on a Cisco IOS XE device is "show mpls forwarding-table". Therefore, the answer is A.

Here is a brief explanation of each command:

A. show mpls forwarding-table: This command displays the contents of the LFIB, which is used to forward MPLS traffic. The LFIB is a table that maps incoming labels to outgoing interfaces and next-hop IP addresses.

B. show mpls ldp neighbors: This command displays information about the LDP neighbors, which are the routers that exchange label information to establish label-switched paths (LSPs).

C. show mpls ldp labels: This command displays the labels that have been assigned by LDP to the prefixes in the IP routing table.

D. show mpls ldp bindings: This command displays the bindings between the prefixes in the IP routing table and the labels that have been assigned by LDP.

In summary, if an engineer is investigating an MPLS LDP issue and wants to display the contents of the LFIB, they should use the "show mpls forwarding-table" command on a Cisco IOS XE device.