- show ldp database
- <brief | detail | extensive>
- <inet | l2circuit>
- <instance instance-name>
- <logical-system (all | logical-system-name)>
- <session session>
Command introduced before JUNOS Release 7.4.
Display entries in the Label Distribution Protocol (LDP) database.
none — Display standard information about all entries in the LDP database for all routing instances on all logical systems.
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.
view
Table 127 describes the output fields for the show ldp database command. Output fields are listed in the approximate order in which they appear.
Table 127: show ldp database Output Fields
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
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
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