Skip to content

Instantly share code, notes, and snippets.

@fortitudepub
Last active February 24, 2017 07:00
Show Gist options
  • Save fortitudepub/40e4cc9977329ca01dbdc746f56da6ee to your computer and use it in GitHub Desktop.
Save fortitudepub/40e4cc9977329ca01dbdc746f56da6ee to your computer and use it in GitHub Desktop.
sample quagga and gobgp conf
### quagga
dpdk-pktj# show running-config
Building configuration...
Current configuration:
!
hostname Router
hostname bgpd
log stdout
!
debug zebra rib
!
password zebra
enable password zebra
!
interface dpdk0
ipv6 nd suppress-ra
!
interface eth0
ipv6 nd suppress-ra
!
interface eth1
ipv6 nd suppress-ra
!
interface lo
!
router bgp 7675
bgp router-id 192.168.122.114
bgp scan-time 5
redistribute kernel route-map imp
neighbor 192.168.2.2 remote-as 7675
neighbor 192.168.122.1 remote-as 65001
!
ip prefix-list 1 seq 5 permit 222.0.0.0/8 le 32
ip prefix-list 1 seq 10 deny any
!
route-map imp permit 1
match ip address prefix-list 1
!
route-map imp deny 2
!
line vty
!
end
#### gobgpd.
[global.config]
as = 7675
router-id = "192.168.122.1"
[[neighbors]]
[neighbors.config]
neighbor-address = "192.168.122.114"
peer-as = 7675
[neighbors.route-reflector.config]
route-reflector-client = true
route-reflector-cluster-id = "192.168.122.1"
[[neighbors]]
[neighbors.config]
neighbor-address = "192.168.122.12"
peer-as = 7675
[neighbors.route-reflector.config]
route-reflector-client = true
route-reflector-cluster-id = "192.168.122.1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment