Você está na página 1de 9

APRICOT 2014 MPLS WORKSHOP

LDP ON SR-OS
AJ
February 2014

COPYRIGHT 2013 ALCATEL-LUCENT. ALL RIGHTS RESERVED.

AGENDA

1. Configuring LDP
2. Configuration verification
3. Monitoring LDP

3
COPYRIGHT 2013 ALCATEL-LUCENT. ALL RIGHTS RESERVED.

LDP ON SR-OS
CONFIGURING LDP
LDP Configuration has multiple steps to be
followed in SR-OS

configure router
interface system

Mandatory items include:

address 10.0.0.22/32

- Setting a system IP address


- Enabling interface LDP on the ports that will run
LDP

exit
ldp

Optional items include:


-

interface-parameters

Targeted LDP
Keepalive tuning
Explicit transport address configuration
Explicit LSR ID

interface to-PE21

exit
interface
exit

4
COPYRIGHT 2013 ALCATEL-LUCENT. ALL RIGHTS RESERVED.

LDP ON SR-OS
CONFIGURATION VERIFICATION
*A:P22# configure router ldp

Check your configuration at the LDP level

*A:P22>config>router>ldp# info

-------------------------------------interface-parameters
interface "to-PE21"

exit
exit
targeted-session

exit
no shutdown
--------------------------------------

5
COPYRIGHT 2013 ALCATEL-LUCENT. ALL RIGHTS RESERVED.

LDP ON SR-OS
CONFIGURATION VERIFICATION
*A:P22# show router ldp status
===============================================================================
LDP Status for LSR ID 10.0.0.22
===============================================================================
Admin State
: Up
Oper State
: Up
Created at
: 02/17/14 22:15:33
Up Time
: 0d 00:01:30
Oper Down Reason
: n/a
Oper Down Events
: 1
Last Change
: 02/17/14 22:15:33
Tunn Down Damp Time : 3 sec
Label Withdraw Del*: 0 sec
Implicit Null Label : Disabled
Short. TTL Prop Lo*: Enabled
Short. TTL Prop Tran*: Enabled
Import Policies
: None
Export Policies
: None
Tunl Exp Policies : None
Aggregate Prefix
: False
Agg Prefix Policies : None
FRR
: Disabled
Mcast Upstream FRR
: Disabled
Dynamic Capability : False
P2MP Capability
: True
MP MBB Capability : True
MP MBB Time
: 3
Overload Capability: True
Active Adjacencies : 1
Active Sessions
: 0
Active Interfaces : 1
Inactive Interfaces : 0
Active Peers
: 0
Inactive Peers
: 0
Addr FECs Sent
: 0
Addr FECs Recv
: 0
Serv FECs Sent
: 0
Serv FECs Recv
: 0
P2MP FECs Sent
: 0
P2MP FECs Recv
: 0
Attempted Sessions : 0
No Hello Err
: 0
Param Adv Err
: 0
Max PDU Err
: 0
Label Range Err
: 0
Bad LDP Id Err
: 0
Bad PDU Len Err
: 0
Bad Mesg Len Err
: 0
Bad TLV Len Err
: 0
Unknown TLV Err
: 0
Malformed TLV Err : 0
Keepalive Expired Err: 0
Shutdown Notif Sent: 0
Shutdown Notif Recv : 0
===============================================================================

6
COPYRIGHT 2013 ALCATEL-LUCENT. ALL RIGHTS RESERVED.

LDP ON SR-OS
VERIFYING CONFIGURATION
*A:P22# show router ldp interface
===============================================================================
LDP Interfaces
===============================================================================
Interface
Adm Opr Hello Hold KA
KA
Transport
Factor Time Factor Timeout Address
------------------------------------------------------------------------------to-PE21
Up Up
3
15
3
30
System
------------------------------------------------------------------------------No. of Interfaces: 1
===============================================================================
*A:PE21# show router ldp bindings
===============================================================================
LDP LSR ID: 10.0.0.21
===============================================================================
Legend: U - Label In Use, N - Label Not In Use, W - Label Withdrawn
S - Status Signaled Up, D - Status Signaled Down
E - Epipe Service, V - VPLS Service, M - Mirror Service
A - Apipe Service, F - Fpipe Service, I - IES Service, R - VPRN service
P - Ipipe Service, WP - Label Withdraw Pending, C - Cpipe Service
BU - Alternate For Fast Re-Route, TLV - (Type, Length: Value)
===============================================================================
LDP Prefix Bindings
===============================================================================
Prefix
IngLbl
EgrLbl
EgrIntf/
EgrNextHop
Peer
LspId
------------------------------------------------------------------------------10.0.0.21/32
131071U
---10.0.0.22
10.0.0.22/32
-131070
1/1/3:0
192.168.3.22
10.0.0.22
-------------------------------------------------------------------------------

7
COPYRIGHT 2013 ALCATEL-LUCENT. ALL RIGHTS RESERVED.

LDP ON SR-OS
MONITORING LDP
show router ldp status
show router ldp bindings [detail]
show router ldp bindings {prefix <ip-prefix/mask>} [detail]
show router ldp interface

Advanced:
- debug router ldp
- Interface or peer

8
COPYRIGHT 2013 ALCATEL-LUCENT. ALL RIGHTS RESERVED.

Você também pode gostar