Supported Platforms
Related Documentation
- QFX Series standalone switches
- MPLS Feature Support on the QFX Series and EX4600 Switch Overview
show ldp database
Syntax
Release Information
Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 14.1X53-D10 for the QFX Series and for EX4600 switches.
Description
Display entries in the LDP database.
Options
none | — | Display standard information about all entries in the LDP database for all routing instances. |
brief | detail | extensive | — | (Optional) Display the specified level of output. |
inet | l2circuit | — | (Optional) Display only IPv4 or Layer 2 circuit bindings. |
instance instance-name | — | (Optional) Display routing instance information for the specified instance only. |
logical-system (all | logical-system-name) | — | (Optional) Perform this operation on all logical systems or on a particular logical system. |
session session | — | (Optional) Display database for the specified session only. session is the destination address of the LDP session. |
Required Privilege Level
view
Related Documentation
- QFX Series standalone switches
- MPLS Feature Support on the QFX Series and EX4600 Switch Overview
List of Sample Output
show ldp databaseshow ldp database l2circuit detail
show ldp database session
show ldp database (Ingress Node with Multipoint LDP Inband Signaling for Point-to-Multipoint LSPs)
show ldp database (Egress Node with Multipoint LDP Inband Signaling for Point-to-Multipoint LSPs)
show ldp database l2circuit extensive
Output Fields
Table 1 describes the output fields for the show ldp database command. Output fields are listed in the approximate order in which they appear.
Table 1: show ldp database Output Fields
Field Name | Field Description | Level of Output |
---|---|---|
Input label database | Label received from the other router. | All levels |
Output label database | Label advertised to the other router. | All levels |
session-identifier | Session identifier, which includes the local and remote label space identifiers. | All levels |
Label | Label binding to a route prefix. | All levels |
Prefix | Route prefix. either the , or the It can be one of the following values:
Layer 2 encapsulation types are displayed in the format L2CKT control word status encapsulation-type vc-number, for example, L2CKT CtflWord FRAME RELAY VC 2
| All levels |
MTU | MTU of the Layer 2 circuit. MTU is displayed for all encapsulation types except ATM cell encapsulations. | detail |
VCCV Control Channel types | Virtual Circuit Connection Verification (VCCV) control channel types
| extensive |
VCCV Control Verification types | The only valid VCCV control verification type is LSP ping. | extensive |
TDM payload size | Size of the Time Division Multiplex (TDM) payload. | All levels |
TDM bitrate | Bit rate for the TDM traffic. | All levels |
Requested VLAN ID | (VLANs) VLAN identifier of the Layer 2 circuit. | detail |
Cell bundle size | (ATM cell encapsulations) Maximum number of cells that the Layer 2 circuit can receive in a packet. | detail |
State | State of the label binding:
| detail |
Age | Time elapsed since the binding was created. | detail |
Sample Output
show ldp database
user@host> show ldp database
Input label database, 10.255.245.222:0--10.255.245.221:0 Label Prefix 3 10.255.245.221/32 (Stale) 100018 10.255.245.222/32 100011 L2CKT FRAME RELAY VC 11 Output label database, 10.255.245.222:0--10.255.245.221:0 Label Prefix 3 10.255.245.221/32 100018 10.255.245.222/32 100011 L2CKT FRAME RELAY VC 1
show ldp database l2circuit detail
user@host> show ldp database l2circuit detail
Input label database, 10.255.245.44:0--10.255.245.45:0 Label Prefix 100176 L2CKT CtrlWord ATM CELL (VC Mode) VC 100 Cell bundle size: 80 State: Active Age: 9:48 100256 L2CKT CtrlWord FRAME RELAY VC 101 MTU: 4470 State: Active Age: 9:48 Output label database, 10.255.245.44:0--10.255.245.45:0 Label Prefix 100048 L2CKT CtrlWord ATM CELL (VC Mode) VC 100 Cell bundle size: 80 State: Active Age: 9:48 100112 L2CKT CtrlWord FRAME RELAY VC 101 MTU: 4470 State: Active Age: 9:48
show ldp database session
user@host> show ldp database session 10.1.1.195
Input label database, 10.0.0.194:0--10.1.1.195:0 Label Prefix 100002 10.255.245.197/32 100003 10.255.245.196/32 100004 10.0.0.194/32 3 10.1.1.195/32 100000 L2CKT NoCtrlWord FRAME RELAY VC 1 100001 L2CKT CtrlWord FRAME RELAY VC 2 Output label database, 10.0.0.194:0--10.1.1.195:0 Label Prefix 100003 10.255.245.197/32 100004 10.1.1.195/32 100002 10.255.245.196/32 3 10.0.0.194/32 100000 L2CKT CtrlWord FRAME RELAY VC 2 100001 L2CKT NoCtrlWord FRAME RELAY VC 1
show ldp database (Ingress Node with Multipoint LDP Inband Signaling for Point-to-Multipoint LSPs)
user@host> show ldp database
Input label database, 1.1.1.2:0--1.1.1.3:0 Label Prefix 299808 1.1.1.2/32 3 1.1.1.3/32 299792 1.1.1.6/32 299776 10.255.2.227/32 299840 P2MP root-addr 1.1.1.2, grp: 232.2.2.2, src: 1.2.7.7 299824 P2MP root-addr 1.1.1.2, grp: 232.1.1.2, src: 192.168.219.11 Output label database, 1.1.1.2:0--1.1.1.3:0 Label Prefix 3 1.1.1.2/32 299776 1.1.1.3/32 299808 1.1.1.6/32 299792 10.255.2.227/32 Input label database, 1.1.1.2:0--1.1.1.6:0 Label Prefix 299856 1.1.1.2/32 299792 1.1.1.3/32 3 1.1.1.6/32 299776 10.255.2.227/32 299888 P2MP root-addr 1.1.1.2, grp: 232.2.2.2, src: 1.2.7.7 299808 P2MP root-addr 1.1.1.2, grp: 232.1.1.1, src: 192.168.219.11 299824 P2MP root-addr 1.1.1.2, grp: 232.1.1.2, src: 192.168.219.11 299840 P2MP root-addr 1.1.1.2, grp: 232.1.1.3, src: 192.168.219.11 299872 P2MP root-addr 1.1.1.2, grp: ff3e::1:2, src: abcd::1:2:7:7 Output label database, 1.1.1.2:0--1.1.1.6:0 Label Prefix 3 1.1.1.2/32 299776 1.1.1.3/32 299808 1.1.1.6/32 299792 10.255.2.227/32
show ldp database (Egress Node with Multipoint LDP Inband Signaling for Point-to-Multipoint LSPs)
user@host> show ldp database
Input label database, 10.255.2.227:0--1.1.1.3:0 Label Prefix 299808 1.1.1.2/32 3 1.1.1.3/32 299792 1.1.1.6/32 299776 10.255.2.227/32 Output label database, 10.255.2.227:0--1.1.1.3:0 Label Prefix 299856 1.1.1.2/32 299776 1.1.1.3/32 299792 1.1.1.6/32 3 10.255.2.227/32 Input label database, 10.255.2.227:0--1.1.1.6:0 Label Prefix 299856 1.1.1.2/32 299792 1.1.1.3/32 3 1.1.1.6/32 299776 10.255.2.227/32 Output label database, 10.255.2.227:0--1.1.1.6:0 Label Prefix 299856 1.1.1.2/32 299776 1.1.1.3/32 299792 1.1.1.6/32 3 10.255.2.227/32 299888 P2MP root-addr 1.1.1.2, grp: 232.2.2.2, src: 1.2.7.7 299808 P2MP root-addr 1.1.1.2, grp: 232.1.1.1, src: 192.168.219.11 299824 P2MP root-addr 1.1.1.2, grp: 232.1.1.2, src: 192.168.219.11 299840 P2MP root-addr 1.1.1.2, grp: 232.1.1.3, src: 192.168.219.11 299872 P2MP root-addr 1.1.1.2, grp: ff3e::1:2, src: abcd::1:2:7:7
show ldp database l2circuit extensive
user@host> show ldp database l2circuit extensive
Input label database, 10.255.245.198:0--10.255.245.194:0 Label Prefix 299872 L2CKT CtrlWord PPP VC 100 MTU: 4470 VCCV Control Channel types: MPLS router alert label MPLS PW label with TTL=1 VCCV Control Verification types: LSP ping Label Prefix State: Active Age: 19:23:08
Published: 2014-09-26
Supported Platforms
Related Documentation
- QFX Series standalone switches
- MPLS Feature Support on the QFX Series and EX4600 Switch Overview