Routing Policy Specification Language RIPE NCC Database Group <ripe-dbm@ripe.net> Routing Policy Specification Language -- RIPE NCC Database Group -- <ripe-dbm@ripe.net> RPSL Tutorial RPSL Drafts Contents of the tutorial Introduction Internet Routing Registry Internet Routing Registry 2 IETF RPS Working Group RPSL RPSL Features Goals and Milestones of RPSL Current Status RPSL Training Tutorial Tutorial 2 Part I Objects in RPSL Object Based Object Objects in RPSL Objects in RPSL 2 Objects in RPSL 3 Objects in RPSL 4 Objects in RPSL 5 Object Names Reserved Names Part II Contact Information Person Object Auxiliary Information Role object Mntner Objects Template of a mntner object Auth Attribute Part III Inter-AS Topology AS Relationships Policies of an AS Prefix Based Originate more routes? Route Template route-set Objects Route-Set Template Indirect Members of Route-Set Restricted Indirect Members Direct & Indirect Members Direct Members Per route-set Policy and route-set Range Operators & route-sets Route Object 1 Route Object 2 Route Object 3 AS Numbers in Policy Cumbersome? as-set Objects AS-Set Template Indirect as-sets Using as-set objects Using as-set objects 2 Cumbersome? PeerAS PeerAS PeerAS Notations Predefined Set Objects Complex Example AS Path Based AS Path Regular Expressions AS Path Regular Expressions AS Path RE Example Composite Policy Filters Composite Policy Filters 2 AS numbers = routes Prefix Length Based Policy Example of Actions Choice of links Peering Choice Specifying Actions Specifying Actions 2 Actions Example; community AS3561's Policies AS4's Policies Policy Example Case 1 Case 2 -- AS2 as backup transit provider Case 3 -- AS3 has backup to AS1 Case 4 -- AS2 is backup for AS1 to AS3 Ambiguity Resolution Ambiguity Resolution RPSL RIPE NCC RPSL server Part IV Set Objects Set Objects 2 Set Objects 3 Filter-Set Objects Filter-Set Objects 2 Filter-Set Objects 3 Address Prefix Set Route Set Name Routing Policy Attributes Filter Set Name Rtr-Set Objects Peering Set Object Peering-Set Object 2 Peering Specification Part V aut-num Objects Aut-num Object Specifying Policies Specifying Policy in Aut-Num Import Choosing a Peering Export Default Examples of Default Import, Export Import, Export 2 Import, Export 3 Part VI Inet-Rtr Object Inet-Rtr Object 2 Inet-Rtr Object 3 Inet-Rtr Object 4 Inet-Rtr Object 5 Part VII Advanced Features Extending RPSL "dictionary" Object "dictionary" Object 2 "dictionary" Object 3 Aggregation Static Routes Structured Policy Structured Policy Structured Policy More Complete Example Practical Example AS Numbers in Policy RtConfig: -- A tool to configure routers AS Path Based RtConfig RtConfig RtConfig (cont) RtConfig Acknowledgements