Skip to content

Instantly share code, notes, and snippets.

@rohitthakur2590
Created July 19, 2020 14:40
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save rohitthakur2590/bb93302da90fe9f0865313b112998602 to your computer and use it in GitHub Desktop.
Before Device Config:
=====================
vyos@vyos:~$ show configuration commands | grep ospf
set protocols ospf area 2 area-type 'normal'
set protocols ospf area 2 authentication 'plaintext-password'
set protocols ospf area 2 shortcut 'enable'
set protocols ospf area 4 area-type stub default-cost '20'
set protocols ospf area 4 network '192.0.2.0/24'
set protocols ospf area 4 network '192.0.12.0/24'
set protocols ospf area 4 network '192.0.22.0/24'
set protocols ospf area 4 network '192.0.32.0/24'
set protocols ospf area 4 range 1.1.2.0/24 cost '10'
set protocols ospf auto-cost reference-bandwidth '2'
set protocols ospf default-information originate 'always'
set protocols ospf default-information originate metric '10'
set protocols ospf default-information originate metric-type '2'
set protocols ospf default-information originate route-map 'ingress'
set protocols ospf log-adjacency-changes 'detail'
set protocols ospf max-metric router-lsa 'administrative'
set protocols ospf max-metric router-lsa on-shutdown '10'
set protocols ospf max-metric router-lsa on-startup '10'
set protocols ospf mpls-te 'enable'
set protocols ospf mpls-te router-address '192.0.22.22'
set protocols ospf neighbor 192.0.11.12 poll-interval '10'
set protocols ospf neighbor 192.0.11.12 priority '2'
set protocols ospf parameters abr-type 'cisco'
set protocols ospf parameters 'opaque-lsa'
set protocols ospf parameters 'rfc1583-compatibility'
set protocols ospf parameters router-id '192.0.1.1'
set protocols ospf passive-interface 'eth1'
set protocols ospf redistribute bgp metric '10'
set protocols ospf redistribute bgp metric-type '2'
Commands fired:
===============
- delete protocols ospf
After Device Config:
====================
vyos@vyos:~$ show configuration commands | grep ospf
vyos@vyos:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment