Upload
charrazca
View
214
Download
0
Embed Size (px)
Citation preview
7/24/2019 07_MPLS_XR35
1/16
1 2005 Cisco Systems, Inc. All rights reserved.XR Training l!igley Cisco Public
Cisco IOS XR
MPLS Introduction Training
7/24/2019 07_MPLS_XR35
2/16
2 200" Cisco Systems, Inc. All rights reserved.XR Training l!igley Cisco Public
MPLS Big Picture / Agenda
# Functionality Similar to IOS
o T!P
Tra""ic #ngineering su$$orted %not co&ered'
# L( )P su$$ort in release (*(
# L+ )P su$$ort in release (*,
7/24/2019 07_MPLS_XR35
3/16
7/24/2019 07_MPLS_XR35
4/16
% 200" Cisco Systems, Inc. All rights reserved.XR Training l!igley Cisco Public
L!P MonitoringMonitor L!P neig-bors
/0/"/#$0%G&1'sho( mpls ldp neighbor
eer )* +dentifier% "."."."%0
,# connection% "."."."%0"44 - 1.1.1.1%646 Graceful estart% o &ession oldtime% 10 sec &tate% per sgs sent/rcd% 6565/65"4 $p time% 4d0h )* *iscoer &ources%
GigabitEthernet0/4/0/3 7ddresses bound to this peer% 11.1.1." 11.1.2." 11.1.3." 11.1.4."
11.1.." 11.1.6." "."."." 0.1.1."
7/24/2019 07_MPLS_XR35
5/16
5 200" Cisco Systems, Inc. All rights reserved.XR Training l!igley Cisco Public
L!P MonitoringMonitor L!P bindings
/0/"/#$0%G&1'sho( mpls ldp bindings
1.1.1.1/32 8 re 36local binding% label%+-$))
remote bindings %lsr%"."."."%08 label%15
2.2.2.2/32 8 re 1local binding% label%32
remote bindings %lsr%"."."."%08 label%16
3.3.3.3/32 8 re 2local binding% label%16
remote bindings %lsr%"."."."%08 label%21
4.4.4.4/32 8 re 4local binding% label%1"
remote bindings %
lsr%"."."."%08 label%22
7/24/2019 07_MPLS_XR35
6/16
" 200" Cisco Systems, Inc. All rights reserved.XR Training l!igley Cisco Public
L!P MonitoringOt-er s-o. commands
/0/"/#$0%G&1'sho( mpls ldp 9 bac:off &ession ;ac:off table information
bindings )abel +nformation ;ase or(arding entries information graceful-restart Graceful estart feature information igp +G related information neighbor eighbor information parameters #onfiguration parameter information
statistics &tatistics information summar &ummari?ed information tech-support utput sho( commands of interest for
)& )* debugging
7/24/2019 07_MPLS_XR35
7/16& 200" Cisco Systems, Inc. All rights reserved.XR Training l!igley Cisco Public
Basic L( )P Con"iguration
rf @7EAaddress-famil ip4 unicast import route-target @7%;A eBport route-target @#%*A import route-polic @nameA eBport route-polic @nameA
interface @+,Arf @7EAip4 address @7**/7&CA %note must remo&e old address'router bgp @7&Aaddress-famil pn4 unicast
neighbor @neighborA address-famil pn4 unicast
rf @7EA rd @E%>Aaddress-famil ip4 unicast
redistribute connected
Create )RF
Attac- to inter"ace
Initiali0eaddress "amily
Ad&ertise LocalRoute
7/24/2019 07_MPLS_XR35
8/16' 200" Cisco Systems, Inc. All rights reserved.XR Training l!igley Cisco Public
L( )P MonitoringPre"i1es "rom )P neig-bor
/0/"/#$0%G&1'sho( bgp pn4 unicast summar;G router identifier 1.1.1.18 local 7& number ";G generic scan interal 60 secs;G table state% 7ctie;G main routing table ersion 4
;G scan interal 60 secs;G is operating in &,7*7)E mode.
rocess ec,blDer b+;/+; )abelDer +mportDer &end,blDer&pea:er 4 4 4 4 4
eighbor &p: 7& sgcd sg&ent ,blDer +n ut $p/*o(n &t/fBcd2.2.2.2 0 " 0 0 0 0 0 00%00%00 +dle
3.3.3.3 0 " 605 6051 4 0 0 4d0h 14.4.4.4 0 " 0 0 0 0 0 00%00%00 +dle... 0 " 6110 6111 0 0 0 4d0h 0"."."." 0 " 611" 6110 0 0 0 4d0h 0
Route recei&ed
7/24/2019 07_MPLS_XR35
9/16( 200" Cisco Systems, Inc. All rights reserved.XR Training l!igley Cisco Public
L( )P MonitoringIm$ort/#1$ort $arameters
/0/"/#$0%G&1'sho( rf @7EA
D> * , 7>+ &7>+@7EA 1%3 import 1%3 +D4 $nicast
eBport 1%3 +D4 $nicast
7/24/2019 07_MPLS_XR35
10/1610 200" Cisco Systems, Inc. All rights reserved.XR Training l!igley Cisco Public
Basic L+ MPLS )P Con"iguration
l2pnp(-class Fclass-name
encapsulation mpls
protocol ldp
Bconnect group Fgroup-name p2p Fcircuit-name interface GigabitEthernet0/1/0/0 neighbor 12.12.12.12 p(-id 100
p(-class Fclass-name
interface GigabitEthernet0/1/0/0l2transport
Reusable tem$late "or )Pty$e %MPLS or L+TP&('
Tunnel Parameters
Put inter"ace intoL+)P mode
7/24/2019 07_MPLS_XR35
11/1611 200" Cisco Systems, Inc. All rights reserved.XR Training l!igley Cisco Public
L+ )P MonitoringC-ec2 Targeted L!P Session
/0/0/#$0%)2D-E1'sh mpls ldp neighbor 12.12.12.12detail
eer )* +dentifier% 12.12.12.12%0 ,# connection% 12.12.12.12%336" - 10.10.10.10%646 Graceful estart% Hes
7/24/2019 07_MPLS_XR35
12/1612 200" Cisco Systems, Inc. All rights reserved.XR Training l!igley Cisco Public
L+ )P Monitoring)eri"y XConnect Status
/0/0/#$0%)2D-E1' sh l2pn Bconnect)egend% &, I &tate8 $ I $p8 * I *o(n8 7* I 7dmin *o(n8 $ I $nresoled8 )$ I )ocal $p8 $ I emote $p8 # I #onnected
J#onnect &egment 1 &egment 2
Group ame &, *escription &, *escription &,------------------------ ------------------------- -------------------------G1 ,oE1 $ Gi0/6/0/0 $ 12.12.12.12 1 $--------------------------------------------------------------------------------
7/24/2019 07_MPLS_XR35
13/161$ 200" Cisco Systems, Inc. All rights reserved.XR Training l!igley Cisco Public
L+ )P Monitoring!etailed )ie. o" XConnect
/0/0/#$0%)2D-E1' sh l2pn Bconnect detailGroup D)7100-D)72008 J# 1008 state is up 7#% GigabitEthernet0/0/0/2.1008 state is up ,peD)7 ,ags% outer1008 inner0 ,$ 100 J# +* " &tatistics% pac:et totals% send 210"000 bte totals% send 126420000 drops% illegal D)7 08 illegal length 0 K% neighbor 222.2.100.28 K +* 1008 state is up < established = K class D)7 Encapsulation )&8 protocol )*
K tpe Ethernet D)78 control (ord enabled8 inter(or:ing none &eLuencing not set )& )ocal emote
------------ ------------------------------ ------------------------------ )abel 16002 16005
Group +* 0B1000"00 0B100000+nterface GigabitEthernet0/0/0/2.100 GigabitEthernet0/0/0/2.200,$ 100 100#ontrol (ord enabled enabledK tpe Ethernet D)7 Ethernet D)7
D##D #D tpe 0B2 0B2
7/24/2019 07_MPLS_XR35
14/161% 200" Cisco Systems, Inc. All rights reserved.XR Training l!igley Cisco Public
L+ )P MonitoringPseudo.ire Ping
/0/0/#$0%)2D-E2'ping pseudo(ire 10.10.10.10 1 repl mode control-channel
Sending 5, 100-byte MPLS Echos to 10.10.10.10 VC: 1, timeout is 2 seconds, send inter!" is 0 msec:
Codes: #$# - success, #%# - re&uest not sent, #.# - timeout, #L# - "!be"ed out'ut inter(!ce, #)# - un"!be"ed out'ut inter(!ce,#*# - *S M!' mism!tch, #+# - no +EC m!''ing, #(# - +EC mism!tch,
#M# - m!"(ormed re&uest, #m# - unsu''orted t"s, ## - no r "!be",#P# - no r int( "!be" 'rot, #'# - 'rem!ture termin!tion o( LSP,## - tr!nsit router, #/# - unnon u'stre!m inde,
## - unnon return code, ## - return code 0
3y'e esc!'e se&uence to !bort.$$$$$Success r!te is 100 'ercent 4556, round-tri' min!gm! 7 151829 msP0P0CP0:L2VP-PE2;
7/24/2019 07_MPLS_XR35
15/1615 200" Cisco Systems, Inc. All rights reserved.XR Training l!igley Cisco Public
3 and A
7/24/2019 07_MPLS_XR35
16/161"Cisco Public