Skip to content

Commit

Permalink
added bmp.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
jtkristoff committed Jan 6, 2020
1 parent c31b867 commit d066d7f
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ environment.
Feedback and suggestions welcome using the issue tracker.

* [Bidirectional Forwarding Detection (BFD)](bfd.conf)
* [BGP Monitoring Protocol (BMP)](bmp.conf)
* [DePaul-specific prefix-lists](depaul.conf)
* [Firewall filters](firewall.conf)
* [iBGP configuration](ibgp.conf)
Expand Down
57 changes: 57 additions & 0 deletions bmp.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
routing-options {
bmp {
station /* bmp-server hostname */ {
local-address /* loopback address */;
connection-mode active;
station-address /* bmp-server IP address */;
station-port 1790; /* or listener port of your choosing */
}
}

policy-options {
prefix-list bmp-stations-v4 {
127.0.0.0/8;
apply-path "routing-options bmp station <*> station-address <*.*.*.*>";
}
prefix-list bmp-stations-v6 {
::1/128;
apply-path "routing-options bmp station <*> station-address <*:*:*>";
}
}

firewall {
family inet {
filter loopback-v4 {
term bmp {
from {
source-prefix-list {
bmp-stations-v4;
}
protocol tcp;
source-port 1790; /* or listener port of your choosing */
}
then {
count bmp;
accept;
}
}
}
}
family inet6 {
filter loopback-v6 {
term bmp {
from {
source-prefix-list {
bmp-stations-v6;
}
payload-protocol tcp;
source-port 1790; /* or listener port of your choosing */
}
then {
count bmp;
accept;
}
}
}
}
}

0 comments on commit d066d7f

Please sign in to comment.