Skip to content

Instantly share code, notes, and snippets.

@jianingy
Created November 13, 2013 07:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jianingy/7445341 to your computer and use it in GitHub Desktop.
Save jianingy/7445341 to your computer and use it in GitHub Desktop.
quagga ospf example conf
! Zebra configuration saved from vty
! 2013/10/31 11:24:22
!
hostname a1.example.com
log syslog
log facility local7
!
!
!
interface eth0
!
interface lo
!
interface ppp0
!
interface ppp1
!
interface tap-obfs1
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 secret
ip ospf cost 2000
ip ospf priority 0
!
router ospf
ospf router-id 172.24.248.2
redistribute connected
network 172.24.232.0/24 area 0.0.0.0
network 172.24.248.0/24 area 0.0.0.0
#area 0.0.0.0 filter-list prefix IN in
#area 0.0.0.0 filter-list prefix OUT out
area 0.0.0.0 authentication message-digest
!
ip prefix-list IN seq 10 permit 10.96.0.0/16 le 32
ip prefix-list IN seq 100 deny any
ip prefix-list OUT seq 10 permit 172.24.232.0/24 le 32
ip prefix-list OUT seq 10 permit 172.24.248.0/24 le 32
ip prefix-list OUT seq 100 deny any
!
line vty
no login
!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment