Skip to content

Support the extraction of the L3VPN Overlay configuration from an MPLS PE router

License

Notifications You must be signed in to change notification settings

scuzzilla/overlay_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oparser.sh is a bash script made to support the extraction of the L3VPN Overlay configuration from MPLS PE routers

  1. the first main assumption is that the input configuration is conform with the 'CISCO Formal' format

  2. the second main assumption is that the input configuration is including L3VPN configuration sesctions

  3. the script is tested against CISCO-XR v6.2.3 (it should work on newer versions)

  4. the Bundle-if format is matched by the following rgx '^Bundle-Ether[0-9]{1,5}.[0-9]{1,5}|^Bundle-Ether[0-9]{1,5}'

  5. for what concerning the script input: both PE's configuration file & Bundle-if are mandatory

  6. the Script final output is the PE's overlay configuration divided into multiple files:

    • ./cfgs/level1_vrf.cf
    • ./cfgs/level2_pm.cf
    • ./cfgs/level1_if.cf
    • ./cfgs/level2_rpl.cf
    • ./cfgs/level1_rbgp.cf
    • ./cfgs/level1_rstatic.cf
    • ./cfgs/level2_hsrp.cf
  7. Configuration order (reverse for config removal):

  • pm
  • rpl
  • vrf
  • if
  • hsrp
  • rstatic
  • rbgp
  1. Please, report bugs directly to [email protected]

About

Support the extraction of the L3VPN Overlay configuration from an MPLS PE router

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages