Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Configure logging
- log syslog { debug, trace, info, remote, warning, error, auth, fatal, bug };
- # Override router ID
- router id 172.23.211.129;
- define myas = 4242421111;
- protocol kernel {
- scan time 20; # Scan kernel routing table every 20 seconds
- import all;
- export where source != RTS_STATIC;
- }
- protocol device {
- scan time 10; # Scan interfaces every 10 seconds
- }
- protocol static {
- route 172.23.211.128/25 via 172.23.211.129;
- #route 172.23.211.0/25 via 172.23.211.1;
- }
- # Protocol template
- template bgp PEERS {
- import all;
- export all;
- #export where source = RTS_STATIC;
- }
- protocol bgp PEER2 from PEERS
- {
- description "iBGP to home router";
- #direct;
- local 172.23.211.129 as myas;
- neighbor 172.23.211.1 as myas;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement