© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external no softcopy)lwigley Viking 39
Lane Wigley ([email protected])Service Provider Group Technical Marketing Engineering
ASR 9000 Quick Start
Practical XR Intro -Routing & RPL
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 40
Routing Agenda
Key Changes from IOSIGPs
OSPFISISEIGRP
Static RoutesBGP
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 41
Key Changes from IOS
Protocols are Address Family NeutralCLI IPv4Knobs to enable/disable things per Address Family
All configuration for IGPs is under protocol config modeNo routing commands under interfacesEnable IGP by specifying interfaces rather than ->843:, commands
More concise BGP configurationNeighbor basedFlexible templates for reuseRoute Policy Language for all route manipulation (BGP & IGP)
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 42
OSPF Configuration Basics
Enable by assigning interfaces to areasAll configuration under :3V8>:?3159
:3V8>:?3159?&$$
7:>7?$
+-8>:97Q>?.+.?$#X#$#$
7:>7?&
+-8>:97Q>?.+.?$#X#$#&
+-8>:97Q>?.+.?$#X#$#W
+-8>:97Q>?.+.?$#E#$#$
+-8>:97Q>?.+.?$#a#$#E
+-8>:97Q>?.+.?$#a#$#a 5711+*>?>-7H6>
Q318?E$
H9= 9718/=>8>Q8
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 43
OSPF show commands1234?3159 ->+.2H3:?G=>87+6I
!"#$#!%"$#'"($)9:>A701234 3159 ->+.2H3:<>+.2H3:1?93:?K%"Z &<>+.2H3:?J\??":+ %878>????????\>7=?@+;>???B==:>11??????J-8>:97Q>&Y&YXYX??????&?????Z(]]#\!??????$$)$$)X$????&Y&YWYX??????F+.7H+8R82>:->8$#E#$#$
<>+.2H3:?+1?V5?93:?W4a=<>+.2H3:?J\??":+ %878>????????\>7=?@+;>???B==:>11??????J-8>:97Q>&Y&Y&Y&??????&?????Z(]]#T\! $$)$$)X&????&Y&Y&Y&??????F+.7H+8R82>:->8$#E#$#&
<>+.2H3:?+1?V5?93:?W4a=@3876?->+.2H3:?Q3V-8)?W
!"#$#!%"$#'"($)9:>A701234 3159 ->+.2H3:?=>87+6<>+.2H3:1?93:?K%"Z &<>+.2H3:?&Y&YXYXN?+-8>:97Q>?7==:>11?&Y&YWYX
J-?82>?7:>7?$?*+7?+-8>:97Q>?F+.7H+8R82>:->8$#E#$#$?<>+.2H3:?5:+3:+8A?+1?&N?%878>?+1?Z(]]N?g?1878>?Q27-.>1\!?+1?&Y&YWYX?T\! +1?&Y&YWYWK58+3-1?+1?$^aW]]% K58+3-1?+1?$^& G]!I\>7=?8+;>:?=V>?+-?$$)$$)XX<>+.2H3:?+1?V5?93:?W4a=<V;H>:?39?\T\ :>8:7-1 =V:+-.?6718?>^Q27-.>?$J-=>^?&#&N?:>8:7-1;+11+3-?kV>V>?6>-.82?$N?-V;H>:?39?:>8:7-1;+11+3-?&Z+:18?$G$I#$G$I?<>^8?$G$I#$G$I]718?:>8:7-1;+11+3-?1Q7-?6>-.82?+1?&N?;7^+;V;?+1?&]718?:>8:7-1;+11+3-?1Q7-?8+;>?+1?$?;1>QN?;7^+;V;?+1?$?;1>Q
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 44
OSPF show commands1234?3159 +-8>:97Q>?GH:+>9I
!"#$#!%"$#'"($)9:>A701234 3159 +-8>:97Q>?H:+>9
J-8>:97Q>????"J\ B:>7????????????J"?B==:>11#P71,????'318??%878>?<H:1 Z#'F+$#E#$#$????&?????$???????????????&Y&YWYW#WE?????????&?????T\! &#&F+$#E#$#&????&?????$???????????????&Y&Y&YW#WE?????????&?????\!????&#&
!"#$#!%"$#'"($)9:>A701234 3159 +-8>:97Q>
F+.7H+8R82>:->8$#E#$#$?+1?V5N?6+->?5:383Q36?+1?V5?J-8>:->8?B==:>11?&Y&YWYW#WEN?B:>7?$?":3Q>11?J\?&N?!3V8>:?J\?&Y&YWYWN?<>843:,?@A5>?T!KB\'B%@N?'318)?&@:7-1;+8?\>67A?+1?&?1>QN?%878>?T\!N?":+3:+8A?&?\>1+.-78>=?!3V8>:?GJ\I?&Y&YXYXN?J-8>:97Q>?7==:>11?&Y&YWYXT7Q,V5?\>1+.-78>=?:3V8>:?GJ\I?&Y&YWYWN?J-8>:97Q>?7==:>11?&Y&YWYW@+;>:?+-8>:*761?Q3-9+.V:>=N?O>663?&$N?\>7=?E$N?M7+8?E$N?!>8:7-1;+8?aO>663?=V>?+-?$$)$$)$E
J-=>^?&#&N?9633=?kV>V>?6>-.82?$<>^8?$G$I#$G$I]718?9633=?1Q7-?6>-.82?+1?&N?;7^+;V;?+1?W]718?9633=?1Q7-?8+;>?+1?$?;1>QN?;7^+;V;?+1?&?;1>Q<>+.2H3:?'3V-8?+1?&N?B=l7Q>-8?->+.2H3:?Q3V-8?+1?&B=l7Q>-8?4+82?->+.2H3:?&Y&YXYX??G\>1+.-78>=?!3V8>:I
%V55:>11?2>663?93:?$?->+.2H3:G1I
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 45
ISIS Configuration Basics
Enable by assigning interfaces to ISISAll configuration under :3V8>:?+1+1
:3V8>:?+1+1 i67H>6j
->8?ECY$$$&Y$$$$Y$$$$Y$$$QY$$
+-8>:97Q>?.+.?$#E#$#$
7==:>11/97;+6A?+5*E V-+Q718
+-8>:97Q>?.+.?$#E#$#&
7==:>11/97;+6A?+5*E V-+Q718
7==:>11/97;+6A?+5*g V-+Q718
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 46
ISIS show commands1234?+1+1 ->+.2H3:
!"#$#!%"$#'"($)63,+01234 +1+1 ->+.2H3:
J%/J%?`?->+.2H3:1)%A18>;?J=??????J-8>:97Q>????????%<"B %878>?O36=8+;> @A5>?JR@Z/<%Z.1:`/7=;+-?????F+$#E#$#X????????$$$aY==XWYa$$$ (5????W`???????]&]W '757H6>?'!%????????????F+$#E#$#&????????$$a$YW7H>YS=9C (5????Wa???????]&]W '757H6>?F%!W F+$#E#$#W????????$$a$YW7H>YS=97 (5????WC???????]&]W '757H6>?
@3876?->+.2H3:?Q3V-8)?X
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 47
ISIS show commands1234?+1+1 ->+.2H3:?=>87+6
!"#$#!%"$#'"($)63,+01234 +1+1 ->+.2H3:?=>87+6
J%/J%?`?->+.2H3:1)%A18>;?J=??????J-8>:97Q>????????%<"B %878>?O36=8+;> @A5>?JR@Z/<%Z.1:`/7=;+-?????F+$#E#$#X????????$$$aY==XWYa$$$ (5????WW???????]&]W '757H6>?B:>7?B==:>11G>1I)?ECY$$$&J"*E B==:>11G>1I)?&&Y&Y&Y`m@35363.+>1)?bJ"*E (-+Q718b(58+;>)?$&)&W)XC
F%!W F+$#E#$#&????????$$a$YW7H>YS=9C (5????WX???????]&]W '757H6>?B:>7?B==:>11G>1I)?ECY$$$&J"*E B==:>11G>1I)?&WY&YWYWm@35363.+>1)?bJ"*E (-+Q718b(58+;>)?$X)X`)&`
F%!W F+$#E#$#W????????$$a$YW7H>YS=97 (5????Wg???????]&]W '757H6>?B:>7?B==:>11G>1I)?ECY$$$&J"*E B==:>11G>1I)?&WY&YXYWm@35363.+>1)?bJ"*E (-+Q718b(58+;>)?$X)X`)&`
@3876?->+.2H3:?Q3V-8)?X
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 48
ISIS show commands1234?+1+1 7=l7Q>-QA
!"#$#!%"$#'"($)63,+01234 +1+1 7=l7Q>-QA?
J%/J%?`?]>*>6/&?7=l7Q>-Q+>1)%A18>;?J=??????J-8>:97Q>????????%<"B %878>?O36=?'27-.>=??<%Z?TZ\.1:`/7=;+-?????F+$#E#$#X????????$$$aY==XWYa$$$ (5????W$???$&)&X)aS?[>1?<3->F%!W F+$#E#$#&????????$$a$YW7H>YS=9C (5????W&???$X)XS)X`?[>1?<3->F%!W F+$#E#$#W????????$$a$YW7H>YS=97 (5????WC???$X)XS)X`?[>1?<3->
@3876?7=l7Q>-QA?Q3V-8)?X
J%/J%?`?]>*>6/W?7=l7Q>-Q+>1)%A18>;?J=??????J-8>:97Q>????????%<"B %878>?O36=?'27-.>=??<%Z?TZ\.1:`/7=;+-?????F+$#E#$#X????????$$$aY==XWYa$$$ (5????Wa???$&)&X)aC?[>1?<3->F%!W F+$#E#$#&????????$$a$YW7H>YS=9C (5????WS???$X)XS)X`?[>1?<3->F%!W F+$#E#$#W????????$$a$YW7H>YS=97 (5????WE???$X)XS)X`?[>1?<3->
@3876?7=l7Q>-QA?Q3V-8)?X
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 49
ISIS show commands1234?+1+1 +5*E :3V8>
!"#$#!%"$#'"($)63,+01234 +1+1 +5*E :3V8>
J%/J%?`?J"*E (-+Q718?:3V8>1
'3=>1)?]& / 6>*>6?&N?]W?/ 6>*>6?WN?+7 / +-8>:7:>7 G6>7,>=?+-83?6>*>6?&I=9 / 6>*>6?&?=>97V68?GQ631>18?7887Q2>=?:3V8>:IN?1V / 1V;;7:A?-V66'?/ Q3-->Q8>=N?%?/ 1878+QN?!?/ !J"N?T?/ TF"N?K?/ K%"Z+ / J%/J%?G:>=+18:+HV8>=?9:3;?7-382>:?+-187-Q>I
P7^+;V;?57:766>6?5782?Q3V-8)?S
'??&Y&Y&Y&#XW+1?=+:>Q86A?Q3-->Q8>=N?]335H7Q,$
]& `Y`Y`Y`#XW?dW$#&&ae*+7?&&Y&Y&Y`N?F+.7H+8R82>:->8$#E#$#XN?.1:`/7=;+-
'??&&Y&Y&Y$#WE+1?=+:>Q86A?Q3-->Q8>=N?F+.7H+8R82>:->8$#E#$#X
]& &&Y&YWY$#WE?dW$#&&ae*+7?&WY&YXYWN?F+.7H+8R82>:->8$#E#$#WN?F%!W*+7?&WY&YWYWN?F+.7H+8R82>:->8$#E#$#&N?F%!W
'??&WY&YWY$#WE+1?=+:>Q86A?Q3-->Q8>=N?F+.7H+8R82>:->8$#E#$#&
'??&WY&YXY$#WE+1?=+:>Q86A?Q3-->Q8>=N?F+.7H+8R82>:->8$#E#$#W
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 50
ISIS show commands1234?+1+1 835363.A
!"#$#!%"$#'"($)63,+01234 +1+1 835363.A
J%/J%?`?57821?83?J"*E (-+Q718?G]>*>6/&I?:3V8>:1%A18>;?J=???????P>8:+Q??<>^8/O35????????J-8>:97Q>???????%<"B.1:`/7=;+-??????&$??????.1:`/7=;+-??????F+$#E#$#X???????$$$aY==XWYa$$$F%!W &$??????F%!W F+$#E#$#W???????$$a$YW7H>YS=97F%!W &$??????F%!W F+$#E#$#&???????$$a$YW7H>YS=9CF%!& //
J%/J%?`?57821?83?J"*E (-+Q718?G]>*>6/WI?:3V8>:1%A18>;?J=???????P>8:+Q??<>^8/O35????????J-8>:97Q>???????%<"B.1:`/7=;+-??????&$??????.1:`/7=;+-??????F+$#E#$#X???????$$$aY==XWYa$$$F%!W &$??????F%!W F+$#E#$#W???????$$a$YW7H>YS=97F%!W &$??????F%!W F+$#E#$#&???????$$a$YW7H>YS=9CF%!& //
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 51
EIGRP Configuration Basics
Enable by assigning interfaces to EIGRPAll configuration under :3V8>:?>+.:5
:3V8>:?>+.:5?iB%j
7==:>11/97;+6A?+5*E
+-8>:97Q>?F+.7H+8R82>:->8$#E#$#$
+-8>:97Q>?F+.7H+8R82>:->8$#E#$#$
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 52
EIGRP show commands1234?>+.:5 ->+.2H3:
!"#$#!%"$#'"($)+=V-01234 >+.:5 ->+.2H3:J"/RJF!" ->+.2H3:1?93:?B%?`
O???B==:>11?????????????????J-8>:97Q>???????O36=?(58+;>???%!@@ !@K n??%>kG1>QI?????????G;1I???????'-8 <V;
W???&WY&YXYW????????????????F+$#E#$#W?????????&X?$$)$$)$&???XE???W$E??$??g&???&WY&YWYW????????????????F+$#E#$#&?????????&X?$$)$$)$&???XE???W$E??$??a$???&&Y&Y&Y`????????????????F+$#E#$#X?????????&X?$$)&W)WW????S???W$$??$??E
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 53
EIGRP show commands1234?>+.:5 ->+.2H3:?=>87+6
!"#$#!%"$#'"($)+=V-01234 >+.:5 ->+.2H3:1?=>87+6J"/RJF!" ->+.2H3:1?93:?B%?`
O???B==:>11?????????????????J-8>:97Q>???????O36=?(58+;>???%!@@ !@K n??%>kG1>QI?????????G;1I???????'-8 <V;
W???&WY&YXYW????????????????F+$#E#$#W?????????&W?$$)$&)aW???W&???W$$??$??&Wo>:1+3-?XYX#&YWN?!>8:7-1)?$N?!>8:+>1)?$N?":>9+^>1)?g
&???&WY&YWYW????????????????F+$#E#$#&?????????&W?$$)$&)aW???WW???W$$??$??&Xo>:1+3-?XYX#&YWN?!>8:7-1)?$N?!>8:+>1)?$N?":>9+^>1)?g
$???&&Y&Y&Y`????????????????F+$#E#$#X?????????&W?$$)&E)&X????E???W$$??$??`o>:1+3-?&WY$#&YWN?!>8:7-1)?&N?!>8:+>1)?$N?":>9+^>1)?E
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 54
EIGRP show commands1234?>+.:5 835363.A
!"#$#!%"$#'"($)+=V-01234 >+.:5 835363.A?J"/RJF!" @35363.A?@7H6>?93:?B%G`I#J\G&Y&Y&Y&I
'3=>1)?"?/ "711+*>N?B?/ BQ8+*>N?(?/ (5=78>N?n?/ nV>:AN?!?/ !>56AN:?/ :>56A?%878V1N?1?/ 1+7 %878V1?
"?`Y$Y$Y$#SN?&?1VQQ>113:1N?Z\?+1?&S&`g$*+7?&WY&YXYW?G&S&`g$#&ag&g$IN?F+.7H+8R82>:->8$#E#$#W*+7?&&Y&Y&Y`?G&ag&g$#&WSWagIN?F+.7H+8R82>:->8$#E#$#X*+7?&WY&YWYW?G&S&`g$#&ag&g$IN?F+.7H+8R82>:->8$#E#$#&
"?&&Y&YWY$#WEN?&?1VQQ>113:1N?Z\?+1?aX`g$*+7?&WY&YXYW?GaX`g$#WS&g$IN?F+.7H+8R82>:->8$#E#$#W*+7?&&Y&Y&Y`?GWSE&g#WS&gIN?F+.7H+8R82>:->8$#E#$#X*+7?&WY&YWYW?GaX`g$#WS&g$IN?F+.7H+8R82>:->8$#E#$#&
"?&&Y&Y&Y$#WEN?&?1VQQ>113:1N?Z\?+1?WS&g$*+7?'3-->Q8>=N?F+.7H+8R82>:->8$#E#$#X
"?&WY&Y&Y$#WEN?&?1VQQ>113:1N?Z\?+1?WS&g$*+7?'3-->Q8>=N?F+.7H+8R82>:->8$#E#$#$
"?&WY&YXY$#WEN?&?1VQQ>113:1N?Z\?+1?WS&g$*+7?'3-->Q8>=N?F+.7H+8R82>:->8$#E#$#W
"?&WY&YWY$#WEN?&?1VQQ>113:1N?Z\?+1?WS&g$*+7?'3-->Q8>=N?F+.7H+8R82>:->8$#E#$#&
"?&SY$Y$Y$#SN?&?1VQQ>113:1N?Z\?+1?aE$&g*+7?&WY&YXYW?GaE$&g#WSE&gIN?F+.7H+8R82>:->8$#E#$#W*+7?&&Y&Y&Y`?GWSE&g#WS&gIN?F+.7H+8R82>:->8$#E#$#X*+7?&WY&YWYW?GaE$&g#WSE&gIN?F+.7H+8R82>:->8$#E#$#&
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 55
Static RoutesAddress Family Specific Configuration Modes
:3V8>:?1878+Q7==:>11/97;+6A?+5*E V-+Q718$Y$Y$Y$#$?`Y&YCY&`Y`Y`Y``#XW?`Y&YCY&SYSYSY&#XW?F+.7H+8R82>:->8$#a#$#&Y&$&SYSYSY&#XW?F+.7H+8R82>:->8$#a#$#&Y&$WSYSYSYW#XW?aY&Y&YWSYSYSYW#XW?aYWY&YWWY$Y$Y$#WE?F+.7H+8R82>:->8$#$#$#&X?aYaYaYa?H9= 9718/=>8>Q8
_:3V8>:?1878+Q?7==:>11/97;+6A?+5*g V-+Q718W$$&)$&HW)S>WX))#ES?W$$&)&)&))&
*:9 9337==:>11/97;+6A?+5*E V-+Q718WXY$Y$Y$#S?XYXYXYX
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 56
BGP
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 57
BGP Agenda
Key Concepts
Configuration Basics
Configuration Templates
Monitoring BGP
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 58
IOS XR BGP Key Concepts
Address FamiliesConfigure separately
Must be initialized
Neighbor Based Configuration
Configuration TemplatesNeighbor Group
Session Group
Address Family Group
Route Policy LanguageNote: Not BGP Specific
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 59
Address Families
Most configuration is address family specificMust be initialized under bgp global configuration
:3V8>:?H.5 g$$7==:>11/97;+6A?+5*E V-+Q718
Additional configuration under neighbor AF mode:3V8>:?H.5 g$$->+.2H3:?aYaYaYa7==:>11/97;+6A?+5*E V-+Q718:3V8>/536+QA?9+68>:h5>>:1 +-
5 address families in release 3.7.2ipv4 IPv4 Address Familyipv6 IPv6 Address Familyl2vpn L2VPN Address Familyvpnv4 VPNv4 Address Familyvpnv6 VPNv6 Address Family
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 60
Configuration BasicsMinimal Configuration
Assign BGP AS NumberInitialize an address familyCreate a neighborAssign a remote ASEnable an address family within the neighborApply filters in and out on EBGP peers:3V8>:?H.5?&$$7==:>11/97;+6A?+5*E?V-+Q718_->+.2H3:?&Y&Y&Y&:>;38>/71?W$$7==:>11/97;+6A?+5*E?V-+Q718
:3V8>/536+QA?9+68>:/+-?+-:3V8>/536+QA?9+68>:/3V8?3V8
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 61
Configuration Templatesaf-group, session-group, and neighbor-group
Templates enable efficient configuration
Not required for run-time efficiency (automatic update groups)
V1> keyword to inherit from group
Hierarchy is supported
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 62
:3V8>:?H.5 &$$$7==:>11/97;+6A?+5*E V-+Q718_79/.:3V5?436957Q, 7==:>11/97;+6A?+5*E V-+Q718:3V8>/536+QA?933 +-;7^+;V;/5:>9+^?a$$$$?`a:3V8>/536+QA?H7:?3V8Q757H+6+8A?3:9 5:>9+^?H382:>;3*>/5:+*78>/B%
_->+.2H3:?&Y&Y&Y&:>;38>/71?W$$7==:>11/97;+6A?+5*E V-+Q718V1> 79/.:3V5?436957Q,
_->+.2H3:?WYWYWYW:>;38>/71?W$$7==:>11/97;+6A?+5*E V-+Q718V1> 79/.:3V5?436957Q,
_->+.2H3:?XYXYXYX:>;38>/71?W$$7==:>11/97;+6A?+5*E V-+Q718V1> 79/.:3V5?436957Q,
:3V8>:?H.5?&$$$7==:>11/97;+6A?+5*E?V-+Q718_->+.2H3:?&Y&Y&Y&:>;38>/71?&$$7==:>11/97;+6A?+5*E?V-+Q718
:3V8>/536+QA?933?+-;7^+;V;/5:>9+^?a$$$$?`a:3V8>/536+QA?H7:?3V8Q757H+6+8A?3:9?5:>9+^?H382:>;3*>/5:+*78>/B%
_->+.2H3:?WYWYWYW:>;38>/71?W$$7==:>11/97;+6A?+5*E?V-+Q718
:3V8>/536+QA?933?+-;7^+;V;/5:>9+^?a$$$$?`a:3V8>/536+QA?H7:?3V8Q757H+6+8A?3:9?5:>9+^?H382:>;3*>/5:+*78>/B%
_->+.2H3:?XYXYXYX:>;38>/71?X$$7==:>11/97;+6A?+5*E?V-+Q718
:3V8>/536+QA?933?+-;7^+;V;/5:>9+^?a$$$$?`a:3V8>/536+QA?H7:?3V8Q757H+6+8A?3:9?5:>9+^?H382:>;3*>/5:+*78>/B%
Address Family GroupReusable template for Address Family specific parameters
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 63
:3V8>:?H.5 &$$$7==:>11/97;+6A?+5*E V-+Q7187==:>11/97;+6A?+5*E ;V68+Q718_1>11+3-/.:3V5?+H.5:>;38>/71?&$$571143:=?>-Q:A58>=?$X&$aE&T&a$BWWaRET&\V5=78>/13V:Q>?]335H7Q,$_->+.2H3:?SY&Y&Y&V1> 1>11+3-/.:3V5?+H.57==:>11/97;+6A?+5*E V-+Q718V1> 79/.:3V5?436957Q,
7==:>11/97;+6A?+5*E ;V68+Q718V1> 79/.:3V5?=>7Q3-1
_->+.2H3:?SY&Y&YWV1> 1>11+3-/.:3V5?+H.57==:>11/97;+6A?+5*E V-+Q718V1> 79/.:3V5?436957Q,
7==:>11/97;+6A?+5*E ;V68+Q718V1> 79/.:3V5?=>7Q3-1
_->+.2H3:?SY&Y&YXV1> 1>11+3-/.:3V5?+H.57==:>11/97;+6A?+5*E V-+Q718V1> 79/.:3V5?436957Q,
7==:>11/97;+6A?+5*E ;V68+Q718V1> 79/.:3V5?=>7Q3-1
:3V8>:?H.5 &$$$7==:>11/97;+6A?+5*E V-+Q7187==:>11/97;+6A?+5*E ;V68+Q718_->+.2H3:?SY&Y&Y&:>;38>/71?&$$571143:=?>-Q:A58>=?$X&$aE&T&a$BWWaRET&\V5=78>/13V:Q>?]335H7Q,$7==:>11/97;+6A?+5*E V-+Q718
V1>?79/.:3V5?436957Q,7==:>11/97;+6A?+5*E ;V68+Q718
V1>?79/.:3V5?=>7Q3-1_->+.2H3:?SY&Y&YW:>;38>/71?&$$571143:=?>-Q:A58>=?$X&$aE&T&a$BWWaRET&\V5=78>/13V:Q>?]335H7Q,$7==:>11/97;+6A?+5*E V-+Q718
V1>?79/.:3V5?436957Q,7==:>11/97;+6A?+5*E ;V68+Q718
V1>?79/.:3V5?=>7Q3-1_->+.2H3:?SY&Y&YX:>;38>/71?&$$571143:=?>-Q:A58>=?$X&$aE&T&a$BWWaRET&\V5=78>/13V:Q>?]335H7Q,$7==:>11/97;+6A?+5*E V-+Q718
V1>?79/.:3V5?436957Q,7==:>11/97;+6A?+5*E ;V68+Q718
V1>?79/.:3V5?=>7Q3-1
Session GroupReusable template for Address Family independent parameters
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 64
:3V8>:?H.5?&$$$7==:>11/97;+6A?+5*E?V-+Q718_->+.2H3:?SY&Y&Y&:>;38>/71?&$$571143:=?>-Q:A58>=?$&&&$B$aaXV5=78>/13V:Q>?]335H7Q,$7==:>11/97;+6A?+5*E?V-+Q718:3V8>/536+QA?933?+-;7^+;V;/5:>9+^?a$$$$?`a:3V8>/536+QA?H7:?3V8Q757H+6+8A?3:9?5:>9+^?H382
_->+.2H3:?SY&Y&YW:>;38>/71?&$$571143:=?>-Q:A58>=?$&&&$B$aaXV5=78>/13V:Q>?]335H7Q,$7==:>11/97;+6A?+5*E?V-+Q718:3V8>/536+QA?933?+-;7^+;V;/5:>9+^?a$$$$?`a:3V8>/536+QA?H7:?3V8Q757H+6+8A?3:9?5:>9+^?H382
_->+.2H3:?SY&Y&YX:>;38>/71?&$$571143:=?>-Q:A58>=?$&&&$B$aaXV5=78>/13V:Q>?]335H7Q,$7==:>11/97;+6A?+5*E?V-+Q718:3V8>/536+QA?933?+-;7^+;V;/5:>9+^?a$$$$?`a:3V8>/536+QA?H7:?3V8Q757H+6+8A?3:9?5:>9+^?H382
:3V8>:?H.5 &$$$7==:>11/97;+6A?+5*E V-+Q718_->+.2H3:/.:3V5?Q7*1:>;38>/71?&$$571143:=?>-Q:A58>=?$&&&$B$aaXV5=78>/13V:Q>?]335H7Q,$7==:>11/97;+6A?+5*E V-+Q718:3V8>/536+QA?933 +-;7^+;V;/5:>9+^?a$$$$?`a:3V8>/536+QA?H7:?3V8Q757H+6+8A?3:9 5:>9+^?H382
_->+.2H3:?SY&Y&Y&V1> ->+.2H3:/.:3V5?Q7*1_->+.2H3:?SY&Y&YWV1> ->+.2H3:/.:3V5?Q7*1_->+.2H3:?SY&Y&YXV1> ->+.2H3:/.:3V5?Q7*1
Neighbor GroupReusable template for both AF and session parameters
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 65
Template Group Inheritance
Groups may call other template groupsV1> keyword within group configuration mode
Inheritance only from appropriate typesTopmost value used if variable set more than once
AF Group Session Group Neighbor Group
AFG AFG
AFG
SG SG
SG
NGSG
AFG SG
Neighbor Groupsinherit from all types
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 66
BGP Show Commands
1234?H.5 1V;;7:A
1234?H.5 +5*E V-+Q718?1V;;7:A
1234?H.5 *5-*E V-+Q718?1V;;7:A
1234?H.5 ->+.2H3:1?iJ"j?Q3-9+.V:78+3-
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 67
1234?H.5 1V;;7:A
!"#$#!%"$#'"($)63,+01234 H.5 1V;;7:ATF" :3V8>:?+=>-8+9+>:?WYWYWYWN?63Q76?B%?-V;H>:?&WTF" .>->:+Q?1Q7-?+-8>:*76?g$?1>Q1TF" 87H6>?1878>)?BQ8+*>TF" ;7+-?:3V8+-.?87H6>?*>:1+3-?aTF" 1Q7-?+-8>:*76?g$?1>Q1TF" +1?35>:78+-.?+-?%@B<\B]K<R?;3=>Y
":3Q>11?????????!>Q*@H6o>: H!JT#!JT??]7H>6o>: J;53:8o>: %>-=@H6o>:%5>7,>:??????????????????a???????????a?????????a??????????a???????????a
<>+.2H3:????????%5, B%?P1.!Q*= P1.%>-8 @H6o>: J-n KV8n (5#\34-??%8#"9^!Q=&Y&Y&Y&???????????$????&W??????W$??????W&????????a????$????$?$$)&g)&a????????&&&Y&YWY`??????????$?????`??????Wg??????WE????????a????$????$?$$)&`)XS????????&
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 68
1234?H.5?+5*E?V-+Q718?1V;;7:A
!"#$#!%"$#'"($)63,+01234 H.5 +5*E V-+Q718?1V;;7:ATF" :3V8>:?+=>-8+9+>:?WYWYWYWN?63Q76?B%?-V;H>:?&WTF" .>->:+Q?1Q7-?+-8>:*76?g$?1>Q1TF" 87H6>?1878>)?BQ8+*>TF" ;7+-?:3V8+-.?87H6>?*>:1+3-?XTF" 1Q7-?+-8>:*76?g$?1>Q1TF" +1?35>:78+-.?+-?%@B<\B]K<R?;3=>Y
":3Q>11?????????!>Q*@H6o>: H!JT#!JT??]7H>6o>: J;53:8o>: %>-=@H6o>:%5>7,>:??????????????????X???????????X?????????X??????????X???????????X
<>+.2H3:????????%5, B%?P1.!Q*= P1.%>-8 @H6o>: J-n KV8n (5#\34-??%8#"9^!Q=&Y&Y&Y&???????????$????&W???????S???????S????????X????$????$?$$)$E)EW????????&&&Y&YWY`??????????$?????`??????&&???????S????????X????$????$?$$)$g)$E????????&
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 69
1234?H.5?*5-*E?V-+Q718?1V;;7:A
!"#$#!%"$#'"($)63,+01234 H.5 *5-*E V-+Q718?1V;;7:ATF" :3V8>:?+=>-8+9+>:?&$Y$Y$Y&N?63Q76?B%?-V;H>:?&TF" .>->:+Q?1Q7-?+-8>:*76?g$?1>Q1TF" 87H6>?1878>)?BQ8+*>TF" ;7+-?:3V8+-.?87H6>?*>:1+3-?gSaE&TF" 1Q7-?+-8>:*76?g$?1>Q1TF" +1?35>:78+-.?+-?%@B<\B]K<R?;3=>Y
":3Q>11???J=????!>Q*@H6o>: H!JT#!JT??]7H>6o>: J;53:8o>: %>-=@H6o>:%5>7,>:????&?????????????&???????????&?????????$??????????$???????????$%5>7,>:????W??????????W&&a????????W&&a?????????$??????????$????????&aCaH!JT X?????????gSaE&???????gSaE&?????gSaE&??????gSaE&???????gSaE&
<>+.2H3:????????%5, B%?P1.!Q*= P1.%>-8 @H6o>: J-n KV8n (5#\34-??%8#"9^!Q=&&Y$YEYW??????????W?????&????&$&C????&&S$?????&aCa????$????$?$&)$C)&$????????a
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 70
1234?H.5?*:9?i-7;>j?1V;;7:A
!"#$#!%"$#'"($)63,+01234 H.5 *:9 8& 1V;;7:ATF" o!Z 8&N?1878>)?BQ8+*>TF" !3V8>?\+18+-.V+12>:)?&$Y$Y$Y&)$TF" :3V8>:?+=>-8+9+>:?&$Y&Y$Y&N?63Q76?B%?-V;H>:?&TF" .>->:+Q?1Q7-?+-8>:*76?g$?1>Q1TF" 87H6>?1878>)?BQ8+*>TF" ;7+-?:3V8+-.?87H6>?*>:1+3-?gSaE&TF" 1Q7-?+-8>:*76?g$?1>Q1TF" +1?35>:78+-.?+-?%@B<\B]K<R?;3=>Y
":3Q>11???J=????!>Q*@H6o>: H!JT#!JT??]7H>6o>: J;53:8o>: %>-=@H6o>:%5>7,>:???&??????????????&???????????&?????????$??????????$???????????$%5>7,>:???W???????????W&&a????????W&&a?????????$??????????$????????&aCa
<>+.2H3:????????%5, B%???P1.!Q*= P1.%>-8 @H6o>: J-n KV8n (5#\34-??%8#"9^!Q=&&Y$YXYW??????????W??&$$&??????&$Wa????&$WX?????&aCa????$????$?$&)&$)ES????????a
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 71
1234?H.5 ->+.2H3:1?iJ"j?Q3-9+.V:78+3-Where (direct or templates) did the final config come from?
!"#$#!%"$#'"($)63,+01234 H.5 ->+.2?EYEYEYE?Q3-9+.V:78+3-?->+.2H3:?EYEYEYE:>;38>/71?`$&????????????????????????d1)H7:e8+;>:1?&$?X$?????????????????????????de7==:>11/97;+6A?J"*E (-+Q718??????????de;7^+;V;/5:>9+^?a$$$$?`a?????????????d7)-/.:3V5/76527e:>;3*>/5:+*78>/B%???????????????????d7)-/.:3V5/76527e1398/:>Q3-9+.V:78+3-?+-H3V-=?7647A1?d7)-/.:3V5/76527e7663471/+-?X????????????????????????d7)-/.:3V5/76527?7)Q7A;7-e
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 72
Route Policy LanguageConcepts
Note: this is only the really high level bits.See references for more
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 73
RPL Big Picture
Programming LanguageUsed to filter routing information
Remove routesChange attributes
Common tool for XR applicationsBGP policy and show commandsIGPs
Replaces route maps (and more!)
Scalable fewer CLI lines, improved clarity
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 74
RPL Concept Map
Control Flow
Boolean
if, then, else
Actions
Parameters
Hierarchy
Order of Ops
Compound
Pass
Set
Drop
Sets
Types
Named vs. Inline
Extended Com
AS Path
Community
Prefix
Using RPL
BGP
Default
IGP
Neighbor
Process
Show CMDs
VPN
Redistribution
VPN RD
Attach Points
Show CommandsDone
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 75
Basic Control FlowIf, then, else, elseif, endif
+9 71/5782?+-?71/5782/1>8/&?82>-=:35
>-=+9
+9 ;>=?>k?&a$?82>-1>8?63Q76/5:>9>:>-Q>?&$
>61>+9 ;>=?>k?W$$?82>-1>8?63Q76/5:>9>:>-Q>?g$
>61>1>8?63Q76/5:>9>:>-Q>?$
>-=+9
Basic conditional statement
Branching options
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 76
Hierarchical Policy Structure7556A keyword to call other policies
:3V8>/536+QA?3->1>8?4>+.28?&$$
>-=/536+QA
:3V8>/536+QA?8431>8?;>=?W$$
>-=/536+QA
:3V8>/536+QA?82:>>7556A?8431>8?Q3;;V-+8A?GW)gggI?
7==+8+*>>-=/536+QA
:3V8>/536+QA?93V:7556A?3->7556A?82:>>5711
>-=/536+QA
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 77
Parameter Passing
:3V8>/536+QA?3->?Gp;>=I1>8?;>=?p;>=
>-=/536+QA
:3V8>/536+QA?8437556A?3->?G&$I
>-=/536+QA
List of policy parameters
Accessing the passed parameter
Calling policy with parameter
:3V8>/536+QA?82:>>?Gp;>=Np3:+.+-I1>8?;>=?p;>=1>8?3:+.+- p3:+.+-
>-=/536+QA
:3V8>/536+QA?93V:7556A?82:>>?G&$N?+-Q3;56>8>I
>-=/536+QA
Multiple parameters
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 78
RPL ActionsDefine action (default is drop) and may affect control flow
Pass prefix allowed if not later dropped!"## grants a ticket to defeat default dropExecution continues after pass
Set value changed, prefix allowed if not later droppedAny #$% at any level grants a ticketExecution continues after #$%Values can be set more than once
Done prefix allowed, stop executionDrop prefix is discarded
Explicit drop stops policy executionImplicit drop (if policy runs to end without getting a ticket)
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 79
BGP & RPL Summary
Address FamiliesConfigure separately
Must be initialized
Neighbor Based Configuration
Configuration TemplatesNeighbor Group
Session Group
Address Family Group
Route Policy Language
AGS Manufacturing(actually all of mfg!)
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Confidential (NDA Required for external )lwigley Viking 80
Top Related