18.03.2015 Views

pmacct: introducing BGP natively into a NetFlow/sFlow collector

pmacct: introducing BGP natively into a NetFlow/sFlow collector

pmacct: introducing BGP natively into a NetFlow/sFlow collector

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Auto-discovery of source peer ASNs<br />

Router<br />

configuration<br />

template<br />

…<br />

router bgp 65530<br />

neighbor X remote-as 65530<br />

neighbor X source-address 1.1.1.1<br />

…<br />

post-processing<br />

(ie. ipCidrTable)<br />

bgpPeerTable then<br />

ie. ipAddrTable<br />

shell> snmpwalk –c secret … \<br />

1.1.1.1 bgpPeerTable<br />

bgp_max_peers: 100<br />

bgp_neighbors_file: routers.list<br />

bgp_peer_as_src_map: peers.map<br />

(reloadable at runtime)<br />

shell> cat routers.list<br />

1.1.1.1<br />

...<br />

ifAlias<br />

shell> cat peers.map<br />

id=65534 ip=1.1.1.1 in=1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!