Professional Documents
Culture Documents
Summaries
Almost all the show mpls commands are show router mpls lsp
Almost all the show ldp commands are show ldp something...
There are far fewer show rsvp commands, show router rsvp session something... has originate etc
configure router
interface toR6
address ...
port ...
ldp-sync-timer <value>
interface LP1"
address 192.168.6.1/32
loopback
ldp
interface-parameters
transport address system (default)
hello 15 3
keepalive 30 3
interface toR6
interface toR4
hello 45 3
transport address interface
keepalive 90 3
targeted-sessions
[ disable-targeted-sessions ]
hello 45 3
keepalive 40 4
peer 10.10.10.6
peer-parameters
peer A.B.C.D
authentication-key Abc
tunneling
prefer-tunnel-in-tunnel
export export-policy
ldp-shortcut
configure router
rsvp
< all interfaces added from mpls configuration >
interface toR2
hello-interval 3
refresh-reduction
reliable-delivery
te-threshold-update
te-up-threshold 20 40 60 80
te-down-threshold 80 60 450 20
diffserv-te [mam | rdm]
class-type-bw ct0 20 ct1 20 ct2 0 ct3 0 ct4 0 ct5 0 ct6 0 ct7 0
te-class 0 class-type 1 priority 0
te-class 1 class-type 0 priority 1
refresh-time 30
keep-multiplier X
rapid-retransmit-time 500
rapid-retry-limit 3
configure router
mpls
srlg-frr [strict]
resignal-timer X
interface system
interface toR2
srlg-group SRLG-U
interface toR3
admin-group GREEN
path "empty_list"
no shutdown
exit
path fully_strict
hop 10 10.1.2.3 strict
hop 20 10.2.3.4 strict
no shutdown
path MIXED
hop 10 10.4.5.6 strict
hop 20 10.5.6.7 loose
no shutdown
srlg-group SRLG-U value 1
srlg-group SRLG-L value 2
lsp "to_R6"
to 10.10.10.6
cspf [ use-te-metric ]
no adaptive
fast-reroute one-to-one
node-protect
primary "empty_list" [ no record ]
exclude GREEN
bandiwdth 400M
priority 1 1
class-type 0
exit
secondary PATH-DEF
exclude RED
srlg
standby
retry-timer 30
retry-limit 0
admin-group GREEN 4
interface toR3
admin-group GREEN
te-metric 400
no shutdown
configure router
ospf
area 0.0.0.0
interface system
exit
interface toR6
interface-type p2p*
exit
*A:R1# configure router ecmp 2
configure router
policy-options
begin
prefix-list "loopbacks"
prefix 192.168.6.0/24 longer
exit
policy-statement "LDP_export"
entry 10
from
prefix-list "loopbacks"
exit
action accept
exit
exit
exit
commit
show router
status
=================================================================
Router Status (Router: Base)
=================================================================
Admin State Oper State
----------------------------------------------------------------Router Up Up
OSPFv2-0 Up Up
......... .. ..
MPLS Not configured Not configured
RSVP Not configured Not configured
LDP Up Up
......... .. ..
A:R1# show router tunnel-table
===============================================================================
Destination Owner Encap TunnelId Pref Nexthop Metric
------------------------------------------------------------------------------10.10.10.2/32 ldp MPLS - 9 10.1.2.2 100
10.10.10.3/32 ldp MPLS - 9 10.1.3.3 100
10.10.10.4/32 ldp MPLS - 9 10.1.2.2 200
10.10.10.5/32 ldp MPLS - 9 10.1.3.3 200
10.10.10.6/32 ldp MPLS - 9 10.1.2.2 300
===============================================================================
ldp status
===============================================================================
LDP Status for LSR ID 0.0.0.0
===============================================================================
Admin State : Up Oper State : Down
Created at : 05/15/2010 14:02:40 Down Time : 10d 20:15:38
Oper Down Reason : systemIpDown Oper Down Events : 0
ldp discovery [ detail ]
===============================================================================
LDP Hello Adjacencies
===============================================================================
Interface Name Local Addr Peer Addr AdjType State
------------------------------------------------------------------------------toR4 10.10.10.6 10.10.10.4 Link Estab
------------------------------------------------------------------------------ldp session
A:R4# show router ldp session
===============================================================================
Peer LDP Id Adj Type State Msg Sent Msg Recv Up Time
-----------------------------------------------------------------------------10.10.10.6:0 Link Nonexistent 4 4 0d 00:00:16
-----------------------------------------------------------------------------ldp parameters
===============================================================================
LDP Parameters (LSR ID 10.10.10.4)
===============================================================================
------------------------------------------------------------------------------Interface Parameters
------------------------------------------------------------------------------Keepalive Timeout : 15 sec Keepalive Factor : 3
Hold Time : 15 sec Hello Factor : 3
Propagate Policy : system Transport Address : system
. . . . . . . . . . . . . . . . . . . . . . . . . .
Preference : 10
Bandwidth : No Reservation Oper Bw : 0 Mbps
. . . . . . . . . . . . . . . . . . . . . . . . . .
Actual Hops :
10.1.2.1(10.10.10.1) Record Label : N/A
-> 10.1.2.2(10.10.10.2) Record Label : 131065
-> 10.2.4.4(10.10.10.4) Record Label : 131065
-> 10.4.6.6(10.10.10.6) Record Label : 131064
ComputedHops:
10.1.2.1 -> 10.1.2.2 -> 10.2.4.4 -> 10.4.6.6
Srlg : Enabled
SrlgDisjoint: True
A:R2# show router mpls bypass-tunnel detail
===============================================================================
MPLS Bypass Tunnels (Detail)
===============================================================================
------------------------------------------------------------------------------bypass-node10.10.10.3
------------------------------------------------------------------------------To : 10.4.8.4 State : Up
Out I/F : 1/1/1 Out Label : 131068
Up Time : 0d 03:22:04 Active Time : n/a
Reserved BW : 0 Kbps Protected LSP Count : 2
Type : Dynamic
SetupPriority : 7 Hold Priority : 0
Class Type : 0
Actual Hops :
10.2.6.6 -> 10.6.7.7 -> 10.7.8.8 -> 10.4.8.4
===============================================================================
A:R2# show router mpls bypass-tunnel protected-lsp
===============================================================================
MPLS Bypass Tunnels
===============================================================================
Legend : m - Manual d - Dynamic p - P2mp
===============================================================================
To State Out I/F Out Label Reserved Protected Type
BW (Kbps) LSP Count
------------------------------------------------------------------------------10.4.8.4 Up 1/1/1 131069 0 2 d
Protected LSPs to_R4::fully_loose From: 10.10.10.1 To: 10.10.10.4
to_R8::fully_strict From: 10.10.10.5 To: 10.10.10.8
------------------------------------------------------------------------------Bypass Tunnels : 1
===============================================================================
===============================================================================
From To Tunnel LSP Name State
ID ID
------------------------------------------------------------------------------10.10.10.1 10.10.10.6 1 57586 to_R6::empty_list Up
------------------------------------------------------------------------------Sessions : 1
fib 1
=========================================
Prefix Protocol
NextHop
----------------------------------------10.4.6.0/24 LOCAL
10.4.6.0 (toR6)
10.10.10.4/32 LOCAL
10.10.10.4 (system)
oam
tools
configure router
configure router
from
protocol bgp
family ipv6
action accept
show router
FE80::216:4DFF:FE13:5CAE-"toR1" 100
2001:DB8:2::1/128 Local Local 01d02h38m 0
system 0
------------------------------------------------------------------------------No. of Routes: 2
===============================================================================
*A:R8# ping 2001:DB8:1::1 count 1
PING 2001:DB8:1::1 56 data bytes
64 bytes from 2001:DB8:1::1 icmp_seq=1 hlim=62 time=4.20ms.
---- 2001:DB8:1::1 PING Statistics ---1 packet transmitted, 1 packet received, 0.00% packet loss
round-trip min = 4.20ms, avg = 4.20ms, max = 4.20ms, stddev = 0.000ms