Skip to content

Commit

Permalink
Moved ExaBGP guide to site
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-odintsov committed Dec 10, 2017
1 parent 0b47d91 commit 1ea1a51
Showing 1 changed file with 1 addition and 49 deletions.
50 changes: 1 addition & 49 deletions docs/EXABGP_INTEGRATION_WITHOUT_SOCAT.md
Original file line number Diff line number Diff line change
@@ -1,49 +1 @@
### With this guide you could integrate ExaBGP and FastNetMon without socat tool

Create example configuration: ```vim /etc/exabgp_blackhole.conf```

Example here (please fix this configuration to your network):
```bash
group Core_v4 {
hold-time 180;
local-as 65001;
peer-as 1234;
router-id 10.0.3.114;
graceful-restart 1200;

# Static announce is not used
# static {
# route 10.10.10.1/32 next-hop 10.0.3.114 community 65001:666;
# }

neighbor 10.0.3.115 {
local-address 10.0.3.114;
description "Quagga";
}

# Add this line for process management
process service-dynamic {
run /etc/exabgp/exabgp_pipe_provider.sh;
}
}
```

For PIPE API we need create this script: ```vim /etc/exabgp/exabgp_pipe_provider.sh```

Script code here:
```bash

```#!/bin/sh
FIFO="/var/run/exabgp.cmd"
rm -f $FIFO
mkfifo $FIFO
tail -f $FIFO
```

Set exec flag for script: ```chmod +x /etc/exabgp/exabgp_pipe_provider.sh```

Run ExaBGP:
```bash
env exabgp.daemon.user=root exabgp.daemon.daemonize=true exabgp.daemon.pid=/var/run/exabgp.pid exabgp.log.destination=/var/log/exabgp.log exabgp /etc/exabgp_blackhole.conf
```
We moved this page to our [site](https://fastnetmon.com/fastnetmon-community-and-exabgp-without-socat/)

0 comments on commit 1ea1a51

Please sign in to comment.