bird2-bgp-china-asn-ros's Introduction
routeros-routing-route fiters 新建bgpv4 内容如下 if (protocol bgp) {set gw pppoe-out1;accept} if (afi ipv4 && bgp-network) { accept; }else { reject; } 新建bgpv6 内容如下 if (protocol bgp) {set gw pppoe-out1;accept} if (afi ipv6 && bgp-network) { accept; }else { reject; } bird.conf 内容如下 log syslog all; router id xx.xx.xx.xx; include "asn_cn.conf"; protocol device { scan time 10; } protocol static { ipv4 {}; } protocol static { ipv6 {}; } protocol bgp slicev4 { description "BGP uplink slice full cn table"; local as 65537; neighbor 10.0.8.8 as 65538; multihop 2; password "xxxxxxx"; source address 10.0.8.1; ipv4 { import all; export none; }; graceful restart on; } protocol bgp slicev6 { description "BGP uplink slice full cn table"; local as 65537; neighbor fd0f:42d2:1480:3396:4099:93d6:d833:2f30 as 65538; multihop 2; password "xxxxx"; source address fd0f:42d2:1480:3396:4099:930f:42d2:1480; ipv6 { import all; export none; }; graceful restart on; } protocol bgp homev4 { description "BGP downlink home full cn table"; local as 528888550; neighbor 10.0.8.5 as 528888552; multihop 2; password "xxxxxxx"; source address 10.0.8.1; ipv4 { import none; export filter { if bgp_path ~ china_asn then accept; else reject; }; }; graceful restart on; #bfd on; } protocol bgp homev6 { # debug all; description "BGP downlink bgp full table"; local as 528888550; neighbor fd0f:42d2:1480:3396:4099:93e3:485b:84ce as 528888552; multihop 2; password "xxxxxx"; source address fd0f:42d2:1480:3396:4099:930f:42d2:1480; ipv6 { import none; export filter { if bgp_path ~ china_asn then accept; else reject; }; }; graceful restart on; #bfd on; } asn_cn.conf define china_asn = [ ];
bird2-bgp-china-asn-ros's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.