Because the MPLS and VPN MIBs are not supported by Juniper ERX devices and virtual routers, the MPLS Topology Server uses CLI discovery exclusively to discover MPLS topology objects and their relationships for these devices.

The CLI show commands that are invoked for MPLS discovery on Juniper ERX devices and virtual routers are listed in CLI commands for discovery on Juniper ERX devices.

Table 1. CLI commands for discovery on Juniper ERX devices

Command

Description

Comment

CLI commands for MPLS discovery

show mpls l2transport interface brief

Shows status and configuration for Layer 2 services over MPLS, also known as Martini or Layer 2 transport, on the device or on specific interfaces.

show vlan subinterface

Shows status and configuration for a specified VLAN subinterface, or for all VLAN subinterfaces that are configured on the device.

show mpls for brief

Shows summary information for MPLS labels that are being used for forwarding.

show mpls forwarding brief

Shows configuration and statistics for LSPs.

Entries may have only an "In" line, only an "Out" line, or both "In" and "Out" lines. Entries with only an "In" line refer to egress LSPs; entries with only an "Out" line refer to ingress LSPs; and entries with both "In" and "Out" lines refer to transit LSPs.

show mpls interfaces brief

Shows the MPLS interfaces, their IP addresses, protocol, and status.

show route table inet.3

Shows the route entries in the inet.3 table.

Used in conjunction with the “show mpls forwarding brief” command to discover LDP LSPs and TE LSPs, and to discover the stacking of LDP LSPs on TE LSPs.

show route table mpls.0

Shows the route entries in the mpls.0 routing table.

show rsvp session detail

Shows detailed RSVP session information.

show mpls lsp detail

Shows information about configured and active dynamic LSPs in which the device participates.

Using the “detail” keyword displays detailed LSP information, including all current state information and all parameters and counters that are part of the LSP.

show mpls lsp detail ingress

Same as “show mpls lsp detail” command above.

Using the “ingress” keyword displays sessions that originate from the device.

show ldp neighbor

Shows peer LDP speakers, their IP address, and the interface used to exchange labels with them.

Used to discovernon-targeted LDP adjacencies.

CLI commands for L2VPN discovery

show ip bgp vpnv4 all fields     best out-label peer next-hop         extended-communities

Shows IP BGP prefixes, outgoing labels, peer IP addresses, next hop addresses, and extended communities. Entries with Next-hop 0.0.0.0 are ignored.

show ldp neighbor

Shows peer LDP speakers, their IP address, and the interface used to exchange labels with them.

Used to discoverTargeted LDP adjacencies.

show mpls l2transport interface brief

Shows status and configuration information about Layer 2 services over MPLS.

Using the “brief” keyword displays limited interface information.

Used to discover VPWS and VPLS instances, and to discover and map VLANs to discovered VPLS instances.

show vlan subinterface

Shows configuration and status information for all VLAN subinterfaces that are configured on the device.

show mpls ldp vpls

Shows VPLS instance name, VPLS Id, remote PE, in-label, and out-label information

show vpls connections details

Shows connection information for all VPLS instances that are configured on the device.

Using the “details” keyword displays detailed configuration and status information for VPLS connections.

CLI commands for L3VPN discovery

show ip vrf detail

Shows the VRF tables and their associated route distinguishers (RDs) and interfaces.

Each block in the output of this command starts with the keyword "VRF" followed by the VRF name and the route distinguisher. In some cases a VRF description will also appear.

CLI commands for BGP route reflector discovery (ERX)

ip bgp neig | include REmote IP | Neighbor is a route reflect