ExaBGP + JSON: how to format

2,739 views
Skip to first unread message

Nikos Skalis

unread,
Jul 17, 2014, 9:34:25 AM7/17/14
to exabgp...@googlegroups.com
Dear ExaBGP Users group,

After reading about ExaBGP I was very excited to experiment with it.
The idea of having all BGP attributes (communities,etc.) in JSON format and
possibly check my network for consistency in the policies applied on BGP is fascinating, to start with.

Would you be so kind please to enlighten me why I don't get the messages in JSON format ? What could be the reason ? In both .env and .conf I have specified the JSON encoder.

I installed the ExaBGP today. Here are the details :

$ python -V
Python 2.6.6

$ ../../sbin/exabgp -v
3.3.2

$ ../../sbin/exabgp -fe

exabgp.profile.enable=false
exabgp.profile.file=''
exabgp.daemon.daemonize=false
exabgp.daemon.pid=''
exabgp.daemon.user='nobody'
exabgp.reactor.speed=1.0
exabgp.cache.attributes=true
exabgp.cache.nexthops=true
exabgp.tcp.bind=''
exabgp.tcp.acl=false
exabgp.tcp.delay=0
exabgp.tcp.timeout=1
exabgp.tcp.port=179
exabgp.tcp.once=false
exabgp.pdb.enable=false
exabgp.bgp.openwait=60
exabgp.api.encoder=json
exabgp.log.processes=true
exabgp.log.enable=true
exabgp.log.reactor=true
exabgp.log.level=INFO
exabgp.log.destination='/home/nikos/exabgp-3.3.2/etc/exabgp/ExaBGP.log'
exabgp.log.packets=false
exabgp.log.all=false
exabgp.log.short=false
exabgp.log.timers=false
exabgp.log.daemon=true
exabgp.log.routes=true
exabgp.log.message=false
exabgp.log.configuration=true
exabgp.log.rib=true
exabgp.log.parser=false
exabgp.log.network=true

group ExaBGP {

router-id 172.30.174.130;
local-address 172.30.174.130;
local-as 65533;
hold-time 180;
graceful-restart;
group-updates;
# add-path send/receive;

family {
all;
}
capability {
}

process network-routes {
receive-routes;
parse-routes;
neighbor-changes;
peer-updates;

encoder json;
run ./processes/syslog-1.py;
}

neighbor 172.30.174.129 {
description "prod-lab03c-rd1";
peer-as 65010;
}

operational {
}
flow {
}
static {
}

}

Please find attached the .env and .conf files.
Could you please advise me on how to achieve getting JSON-formatted messages ?
Looking forward to your reply.
Many Thanks.

Kind Regards,
Nikos

Thomas Mangin

unread,
Jul 17, 2014, 10:13:08 AM7/17/14
to exabgp...@googlegroups.com
Hello Nikos,

> $ ../../sbin/exabgp -v
> 3.3.2

A lot of work is going on JSON for the next release which will be 3.4.0 with some incompatibilities of JSON format. I would therefore advise that any new work should work from a copy of master on github. All being fine, 3.4.0 is going to be released this month once all known issues are ironed out. It should be good enough to work with atm.

> process network-routes {
> receive-routes;
> parse-routes;
> peer-updates;

Those three options are deprecated. I believe that for 3.3.2, the missing option would be "receive-parsed", "receive-updates".

> neighbor-changes;

all good :-)

The new format ( dev only ) is :

process network-routes {
receive {
parsed;
updates;
neighbor-changes;
}
}

If you want some other messages, nofications, etc, you can add them in the list.
This will be documented in the wiki before the next release.
clearly https://github.com/Exa-Networks/exabgp/wiki/Controlling-ExaBGP-:-possible-options-for-process needs some time ...


> Could you please advise me on how to achieve getting JSON-formatted messages ?
> Looking forward to your reply.

I hope this helped,

Thomas

signature.asc

Nikos Skalis

unread,
Jul 18, 2014, 5:19:37 AM7/18/14
to exabgp...@googlegroups.com
Thank you very much Thomas for your reply. Much appreciated.
I'll look into the suggestions inside the process configlet (unfortunately i cannot disconnect from the vpn i am connected right now in order to connect to the lab vpn where i have ExaBGP) and I'll let you know.
Actually, what made me wondering are the examples described here : https://github.com/Exa-Networks/exabgp/wiki/Controlling-ExaBGP-:-API-for-received-messages
From that respect I should be able to see the following in JSON right ?

BGP negotiation successful (openconfirm state) [neighbor-changes]

Excellent work by the way! Congrats for that! And the support!
Kind Regards,
Nikos

Nikos Skalis

unread,
Jul 21, 2014, 11:46:58 AM7/21/14
to exabgp...@googlegroups.com
Hi Thomas, All,

Could you please advise how can I receive the output in JSON as it is mentioned here : https://github.com/Exa-Networks/exabgp/wiki/Controlling-ExaBGP-:-API-for-received-messages
Would you be so kind to make any suggestions on how to achieve the result described in the link above ?

By enabling the "received" stanza, I am getting the error messages below.
Mon, 21 Jul 2014 17:39:11 | INFO     | 827    | configuration |   valid parameters    ['run', 'encoder', 'receive-packets', 'send-packets', 'receive-routes', 'receive-operational', 'neighbor-changes', 'peer-updates', 'parse-routes']
Mon, 21 Jul 2014 17:39:11 | ERROR    | 827    | configuration | Problem with the configuration file, no change done
Mon, 21 Jul 2014 17:39:11 | ERROR    | 827    | configuration |
Mon, 21 Jul 2014 17:39:11 | ERROR    | 827    | configuration | syntax error in section process
Mon, 21 Jul 2014 17:39:11 | ERROR    | 827    | configuration | line 16 : receive {
Mon, 21 Jul 2014 17:39:11 | ERROR    | 827    | configuration |
Mon, 21 Jul 2014 17:39:11 | ERROR    | 827    | configuration |


On Thursday, July 17, 2014 3:34:25 PM UTC+2, Nikos Skalis wrote:

Thomas Mangin

unread,
Jul 21, 2014, 1:27:57 PM7/21/14
to exabgp...@googlegroups.com
Hello,

You are not providing me with the full configuration ..
Please check that it looks like this one :

Thomas

--
You received this message because you are subscribed to the Google Groups "exabgp-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to exabgp-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

signature.asc

Nikos Skalis

unread,
Jul 21, 2014, 1:52:14 PM7/21/14
to exabgp...@googlegroups.com
Hi Thomas,
and thank you very much for supporting me.

The router is Juniper, and the config is as follows :

prod-lab03c-rd1> show configuration protocols bgp group ExaBGP
type external;
local-address 172.30.174.129;
log-updown;
import AS65533-ExaBGP-in;
export AS65533-ExaBGP-out;
local-as 65010;
neighbor 172.30.174.130 {
    description "AS65533 ExaBGP";
    peer-as 65533;
}

ExaBGP is as follows :

group ExaBGP {

    router-id 172.30.174.130;
    local-address 172.30.174.130;
    local-as 65533;
    hold-time 180;
    graceful-restart;
    group-updates;
    add-path receive;

   
    family {
        all;
    }
    capability {
        }

    process network-routes {
        receive-routes;
        parse-routes;
        neighbor-changes;
        peer-updates;

        encoder json;
        run ./processes/syslog-1.py;
    }

    neighbor 172.30.174.129 {
        description "prod-lab03c-rd1";
        peer-as 65010;
    }

        operational {
        }
    flow {
        }
    static {
        }

}


When I adjust the example first.template, I get :

group test {
        local-as 65533;
        peer-as 65010;
        hold-time 9;
        graceful-restart 1200;

        family {
                ipv4 unicast;
        }

        process parsed-route-backend {
                receive-routes;
                run ./log-syslog.py;
        }

        neighbor 172.30.174.129 {
                description "router";
                router-id 172.30.174.130;
                local-address 172.30.174.130;
        }
}

Mon, 21 Jul 2014 19:51:05 | WARNING  | 2455   | configuration | Loaded new configuration successfully
Mon, 21 Jul 2014 19:51:05 | INFO     | 2455   | processes     | Forked process parsed-route-backend
Mon, 21 Jul 2014 19:51:05 | ERROR    | 2455   | network       | session 1 outgoing peer 172.30.174.129 ASN 65010   NOTIFICATION NOT SENT
Mon, 21 Jul 2014 19:51:05 | INFO     | 2455   | network       | Peer  172.30.174.129 ASN 65010   out loop reset notification sent (5,2) State machine error / Receive Unexpected Message in OpenConfirm State./ Receive Unexpected Message in OpenConfirm State.
Mon, 21 Jul 2014 19:51:06 | ERROR    | 2455   | network       | session 1 outgoing peer 172.30.174.129 ASN 65010   NOTIFICATION NOT SENT
Mon, 21 Jul 2014 19:51:06 | INFO     | 2455   | network       | Peer  172.30.174.129 ASN 65010   out loop reset notification sent (5,2) State machine error / Receive Unexpected Message in OpenConfirm State./ Receive Unexpected Message in OpenConfirm State.
Mon, 21 Jul 2014 19:51:08 | ERROR    | 2455   | network       | session 1 outgoing peer 172.30.174.129 ASN 65010   NOTIFICATION NOT SENT
Mon, 21 Jul 2014 19:51:08 | INFO     | 2455   | network       | Peer  172.30.174.129 ASN 65010   out loop reset notification sent (5,2) State machine error / Receive Unexpected Message in OpenConfirm State./ Receive Unexpected Message in OpenConfirm State.
^CMon, 21 Jul 2014 19:51:09 | INFO     | 2455   | reactor       | ^C received



On Thursday, July 17, 2014 3:34:25 PM UTC+2, Nikos Skalis wrote:

Nikos Skalis

unread,
Jul 21, 2014, 2:00:07 PM7/21/14
to exabgp...@googlegroups.com
and these are the related log messages  :

Mon, 21 Jul 2014 19:58:59 | WARNING  | 2554   | configuration | Loaded new configuration successfully
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | processes     | Forked process network-routes
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | network       | Connected to peer neighbor 172.30.174.129 local-ip 172.30.174.130 local-as 65533 peer-as 65010 router-id 172.30.174.130 family-allowed in-open (out)
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.170.169/32 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   10.0.171.169/32 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.150.0/24 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.180.5/32 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.55.26/32 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.151.162/32 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.142.32/27 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.17.134.0/23 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.179.0/30 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.128.0/18 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.174.0/24 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.168.96/30 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.174.128/30 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   3.3.3.3/32 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.168.112/30 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.168.226/32 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.168.228/30 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.168.232/30 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.168.112/29 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   192.0.2.24/32 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.170.174/32 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.168.76/30 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   10.0.171.168/32 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.168.124/30 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.168.72/30 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.168.144/30 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.170.168/32 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.168.68/30 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.168.120/30 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.168.128/30 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.168.16/30 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   99.99.0.0/16 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.170.166/32 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   10.0.171.166/32 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   10.0.171.170/32 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.168.48/30 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.170.165/32 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.170.170/32 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.168.108/30 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.168.140/30 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   10.0.171.165/32 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   10.200.0.251/32 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.168.132/30 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.170.171/32 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.168.224/30 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   10.0.171.167/32 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.170.167/32 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   15.0.0.0/24 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.172.0/24 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   172.30.176.0/24 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   88.11.22.0/30 next-hop 172.30.174.129
Mon, 21 Jul 2014 19:58:59 | INFO     | 2554   | routes        | peer 172.30.174.129 ASN 65010   eor 1/2 (ipv4 multicast)
Mon, 21 Jul 2014 19:59:01 | INFO     | 2554   | reactor       | session 1 outgoing peer 172.30.174.129 ASN 65010   processed 52 routes



On Thursday, July 17, 2014 3:34:25 PM UTC+2, Nikos Skalis wrote:

NikoS

unread,
Sep 9, 2014, 11:05:07 AM9/9/14
to exabgp...@googlegroups.com
Dear ExaBGP-users group,

I have installed ExaBGP in CentOS release 6.5 running Python 2.6.6 running ExaBGP 3.4.2

The configuration that I use is as follows :
@nl-ams99z-sniff12 exabgp-master]# cat etc/exabgp/exabgp.cfg
group ExaBGP {
router-id 170.30.174.130;


local-address 172.30.174.130;
local-as 65533;
hold-time 180;
graceful-restart;
group-updates;

add-path receive;

family {
all;
}

process parsed-route-backend {
receive {
parsed;
updates;
neighbor-changes;
}
send {
}
encoder json;
run etc/exabgp/processes/syslog-1.py;
}

neighbor 172.30.174.129 {
description "prod-lab03c-rd1";
peer-as 65010;
}
}

The ENViroment variables are like :
@nl-ams99z-sniff12 exabgp-master]$ ./sbin/exabgp --fe

exabgp.profile.enable=false
exabgp.profile.file=''
exabgp.daemon.daemonize=false
exabgp.daemon.pid=''
exabgp.daemon.user='nobody'
exabgp.reactor.speed=1.0
exabgp.cache.attributes=true
exabgp.cache.nexthops=true

exabgp.tcp.delay=0
exabgp.tcp.bind=''
exabgp.tcp.once=false
exabgp.tcp.port=179
exabgp.tcp.acl=false
exabgp.pdb.enable=false
exabgp.bgp.openwait=60
exabgp.api.highres=false
exabgp.api.respawn=false
exabgp.api.encoder=text
exabgp.log.processes=true
exabgp.log.enable=true
exabgp.log.reactor=true
exabgp.log.level=INFO
exabgp.log.destination='stdout'


exabgp.log.packets=false
exabgp.log.all=false
exabgp.log.short=false
exabgp.log.timers=false
exabgp.log.daemon=true
exabgp.log.routes=true
exabgp.log.message=false
exabgp.log.configuration=true

exabgp.log.rib=false
exabgp.log.parser=false
exabgp.log.network=true

BGP session is being established :
lab@prod-lab03c-rd1> show bgp summary | match 65533
172.30.174.130 65533 2 11 0 21 30 Establ

lab@prod-lab03c-rd1> show bgp neighbor 172.30.174.130
Peer: 172.30.174.130+49585 AS 65533 Local: 172.30.174.129+179 AS 65010
Description: AS65533 ExaBGP
Type: External State: Established Flags: <Sync>
Last State: OpenConfirm Last Event: RecvKeepAlive
Last Error: Cease
Export: [ AS65533-ExaBGP-out ] Import: [ AS65533-ExaBGP-in ]
Options: <Preference LocalAddress LogUpDown PeerAS LocalAS Refresh>
Local Address: 172.30.174.129 Holdtime: 90 Preference: 170 Local AS: 65010 Local System AS: 65010
Number of flaps: 21
Last flap event: Restart
Error: 'Cease' Sent: 1 Recv: 12
Peer ID: 170.30.174.130 Local ID: 172.30.170.169 Active Holdtime: 90
Keepalive Interval: 30 Group index: 6 Peer index: 0
BFD: disabled, down
Local Interface: ge-4/0/6.0
NLRI for restart configured on peer: inet-unicast
NLRI advertised by peer: inet-unicast inet-multicast inet-vpn-unicast inet6-unicast l2vpn inet-labeled-unicast inet6-vpn-unicast inet-flow inet-vpn-flow
NLRI for this session: inet-unicast
Peer does not support Refresh capability
Stale routes from peer are kept for: 300
Restart time requested by this peer: 180
Restart flag received from the peer: Restarting
NLRI that peer supports restart for: inet-unicast inet-multicast inet-vpn-unicast inet6-unicast l2vpn inet-labeled-unicast inet6-vpn-unicast inet-flow inet-vpn-flow
NLRI peer can save forwarding state: inet-unicast inet-multicast inet-vpn-unicast inet6-unicast l2vpn inet-labeled-unicast inet6-vpn-unicast inet-flow inet-vpn-flow
NLRI that peer saved forwarding for: inet-unicast inet-multicast inet-vpn-unicast inet6-unicast l2vpn inet-labeled-unicast inet6-vpn-unicast inet-flow inet-vpn-flow
NLRI that restart is negotiated for: inet-unicast
NLRI of received end-of-rib markers: inet-unicast
NLRI of all end-of-rib markers sent: inet-unicast
Peer supports 4 byte AS extension (peer-as 65533)
NLRI's for which peer can receive multiple paths: inet6-unicast
Table inet.0 Bit: 10001
RIB State: BGP restart is complete
Send state: in sync
Active prefixes: 0
Received prefixes: 0
Accepted prefixes: 0
Suppressed due to damping: 0
Advertised prefixes: 46
Last traffic (seconds): Received 7 Sent 9 Checked 37
Input messages: Total 3 Updates 1 Refreshes 0 Octets 233
Output messages: Total 11 Updates 7 Refreshes 0 Octets 700
Output Queue[0]: 0


So, when I run ExaBGP here is the output :
@nl-ams99z-sniff12 exabgp-master]$ ./sbin/exabgp ./etc/exabgp/exabgp.cfg
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | reactor | Performing reload of exabgp 3.4.2
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading | group ExaBGP {
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading | router-id 170.30.174.130;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading | local-address 172.30.174.130;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading | local-as 65533;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading | hold-time 180;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading | graceful-restart;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading | group-updates;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading | add-path receive;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading |
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading | family {
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading | all;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading | }
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading |
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading | process parsed-route-backend {
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading | receive {
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading | parsed;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading | updates;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading | neighbor-changes;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading | }
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading | send {
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading | }
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading | encoder json;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading | run etc/exabgp/processes/syslog-1.py;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading | }
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading |
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading | neighbor 172.30.174.129 {
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading | description "prod-lab03c-rd1";
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading | peer-as 65010;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading | }
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | loading | }
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | analysing tokens ['group', 'exabgp', '{']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid block options ['group', 'neighbor']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid parameters []
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | analysing tokens ['router-id', '170.30.174.130', ';']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid block options ['static', 'flow', 'l2vpn', 'neighbor', 'process', 'family', 'capability', 'operational']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid parameters ['description', 'router-id', 'local-address', 'local-as', 'peer-as', 'passive', 'hold-time', 'add-path', 'graceful-restart', 'md5', 'ttl-security', 'multi-session', 'group-updates', 'route-refresh', 'asn4', 'aigp', 'auto-flush', 'adj-rib-out']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | analysing tokens ['local-address', '172.30.174.130', ';']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid block options ['static', 'flow', 'l2vpn', 'neighbor', 'process', 'family', 'capability', 'operational']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid parameters ['description', 'router-id', 'local-address', 'local-as', 'peer-as', 'passive', 'hold-time', 'add-path', 'graceful-restart', 'md5', 'ttl-security', 'multi-session', 'group-updates', 'route-refresh', 'asn4', 'aigp', 'auto-flush', 'adj-rib-out']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | analysing tokens ['local-as', '65533', ';']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid block options ['static', 'flow', 'l2vpn', 'neighbor', 'process', 'family', 'capability', 'operational']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid parameters ['description', 'router-id', 'local-address', 'local-as', 'peer-as', 'passive', 'hold-time', 'add-path', 'graceful-restart', 'md5', 'ttl-security', 'multi-session', 'group-updates', 'route-refresh', 'asn4', 'aigp', 'auto-flush', 'adj-rib-out']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | analysing tokens ['hold-time', '180', ';']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid block options ['static', 'flow', 'l2vpn', 'neighbor', 'process', 'family', 'capability', 'operational']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid parameters ['description', 'router-id', 'local-address', 'local-as', 'peer-as', 'passive', 'hold-time', 'add-path', 'graceful-restart', 'md5', 'ttl-security', 'multi-session', 'group-updates', 'route-refresh', 'asn4', 'aigp', 'auto-flush', 'adj-rib-out']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | analysing tokens ['graceful-restart', ';']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid block options ['static', 'flow', 'l2vpn', 'neighbor', 'process', 'family', 'capability', 'operational']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid parameters ['description', 'router-id', 'local-address', 'local-as', 'peer-as', 'passive', 'hold-time', 'add-path', 'graceful-restart', 'md5', 'ttl-security', 'multi-session', 'group-updates', 'route-refresh', 'asn4', 'aigp', 'auto-flush', 'adj-rib-out']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | analysing tokens ['group-updates', ';']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid block options ['static', 'flow', 'l2vpn', 'neighbor', 'process', 'family', 'capability', 'operational']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid parameters ['description', 'router-id', 'local-address', 'local-as', 'peer-as', 'passive', 'hold-time', 'add-path', 'graceful-restart', 'md5', 'ttl-security', 'multi-session', 'group-updates', 'route-refresh', 'asn4', 'aigp', 'auto-flush', 'adj-rib-out']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | analysing tokens ['add-path', 'receive', ';']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid block options ['static', 'flow', 'l2vpn', 'neighbor', 'process', 'family', 'capability', 'operational']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid parameters ['description', 'router-id', 'local-address', 'local-as', 'peer-as', 'passive', 'hold-time', 'add-path', 'graceful-restart', 'md5', 'ttl-security', 'multi-session', 'group-updates', 'route-refresh', 'asn4', 'aigp', 'auto-flush', 'adj-rib-out']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | analysing tokens ['family', '{']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid block options ['static', 'flow', 'l2vpn', 'neighbor', 'process', 'family', 'capability', 'operational']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid parameters ['description', 'router-id', 'local-address', 'local-as', 'peer-as', 'passive', 'hold-time', 'add-path', 'graceful-restart', 'md5', 'ttl-security', 'multi-session', 'group-updates', 'route-refresh', 'asn4', 'aigp', 'auto-flush', 'adj-rib-out']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | analysing tokens ['all', ';']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid block options []
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid parameters ['inet', 'inet4', 'inet6', 'ipv4', 'ipv6', 'l2vpn', 'minimal', 'all']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | analysing tokens ['}']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid block options []
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid parameters ['inet', 'inet4', 'inet6', 'ipv4', 'ipv6', 'l2vpn', 'minimal', 'all']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | analysing tokens ['process', 'parsed-route-backend', '{']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid block options ['static', 'flow', 'l2vpn', 'neighbor', 'process', 'family', 'capability', 'operational']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid parameters ['description', 'router-id', 'local-address', 'local-as', 'peer-as', 'passive', 'hold-time', 'add-path', 'graceful-restart', 'md5', 'ttl-security', 'multi-session', 'group-updates', 'route-refresh', 'asn4', 'aigp', 'auto-flush', 'adj-rib-out']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | analysing tokens ['receive', '{']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid block options ['send', 'receive']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid parameters ['run', 'encoder', 'peer-updates', 'parse-routes', 'receive-routes', 'receive-parsed', 'receive-packets', 'neighbor-changes', 'receive-updates', 'receive-refresh', 'receive-operational', 'send-packets']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | analysing tokens ['parsed', ';']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid block options []
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid parameters ['packets', 'parsed', 'consolidate', 'neighbor-changes', 'notification', 'open', 'keepalive', 'update', 'updates', 'refresh', 'operational']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | analysing tokens ['updates', ';']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid block options []
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid parameters ['packets', 'parsed', 'consolidate', 'neighbor-changes', 'notification', 'open', 'keepalive', 'update', 'updates', 'refresh', 'operational']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | analysing tokens ['neighbor-changes', ';']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid block options []
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid parameters ['packets', 'parsed', 'consolidate', 'neighbor-changes', 'notification', 'open', 'keepalive', 'update', 'updates', 'refresh', 'operational']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | analysing tokens ['}']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid block options []
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid parameters ['packets', 'parsed', 'consolidate', 'neighbor-changes', 'notification', 'open', 'keepalive', 'update', 'updates', 'refresh', 'operational']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | analysing tokens ['send', '{']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid block options ['send', 'receive']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid parameters ['run', 'encoder', 'peer-updates', 'parse-routes', 'receive-routes', 'receive-parsed', 'receive-packets', 'neighbor-changes', 'receive-updates', 'receive-refresh', 'receive-operational', 'send-packets']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | analysing tokens ['}']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid block options []
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid parameters ['packets']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | analysing tokens ['encoder', 'json', ';']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid block options ['send', 'receive']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid parameters ['run', 'encoder', 'peer-updates', 'parse-routes', 'receive-routes', 'receive-parsed', 'receive-packets', 'neighbor-changes', 'receive-updates', 'receive-refresh', 'receive-operational', 'send-packets']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | analysing tokens ['run', 'etc/exabgp/processes/syslog-1.py', ';']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid block options ['send', 'receive']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid parameters ['run', 'encoder', 'peer-updates', 'parse-routes', 'receive-routes', 'receive-parsed', 'receive-packets', 'neighbor-changes', 'receive-updates', 'receive-refresh', 'receive-operational', 'send-packets']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | analysing tokens ['}']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid block options ['send', 'receive']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid parameters ['run', 'encoder', 'peer-updates', 'parse-routes', 'receive-routes', 'receive-parsed', 'receive-packets', 'neighbor-changes', 'receive-updates', 'receive-refresh', 'receive-operational', 'send-packets']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | analysing tokens ['neighbor', '172.30.174.129', '{']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid block options ['static', 'flow', 'l2vpn', 'neighbor', 'process', 'family', 'capability', 'operational']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid parameters ['description', 'router-id', 'local-address', 'local-as', 'peer-as', 'passive', 'hold-time', 'add-path', 'graceful-restart', 'md5', 'ttl-security', 'multi-session', 'group-updates', 'route-refresh', 'asn4', 'aigp', 'auto-flush', 'adj-rib-out']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | analysing tokens ['description', '"prod-lab03c-rd1"', ';']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid block options ['static', 'flow', 'l2vpn', 'process', 'family', 'capability', 'operational']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid parameters ['description', 'router-id', 'local-address', 'local-as', 'peer-as', 'passive', 'hold-time', 'add-path', 'graceful-restart', 'md5', 'ttl-security', 'multi-session', 'group-updates', 'asn4', 'aigp', 'auto-flush', 'adj-rib-out']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | analysing tokens ['peer-as', '65010', ';']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid block options ['static', 'flow', 'l2vpn', 'process', 'family', 'capability', 'operational']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid parameters ['description', 'router-id', 'local-address', 'local-as', 'peer-as', 'passive', 'hold-time', 'add-path', 'graceful-restart', 'md5', 'ttl-security', 'multi-session', 'group-updates', 'asn4', 'aigp', 'auto-flush', 'adj-rib-out']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | analysing tokens ['}']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid block options ['static', 'flow', 'l2vpn', 'process', 'family', 'capability', 'operational']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid parameters ['description', 'router-id', 'local-address', 'local-as', 'peer-as', 'passive', 'hold-time', 'add-path', 'graceful-restart', 'md5', 'ttl-security', 'multi-session', 'group-updates', 'asn4', 'aigp', 'auto-flush', 'adj-rib-out']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration |
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | Peer configuration complete :
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | local-as: '65533'
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | local-address: '172.30.174.130'
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | families: 'all'
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | description: 'prod-lab03c-rd1'
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | router-id: '170.30.174.130'
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | add-path: '1'
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | peer-as: '65010'
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | receive-updates: 'True'
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | neighbor-changes: 'True'
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | peer-address: '172.30.174.129'
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | group-updates: 'True'
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | receive-parsed: 'True'
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | encoder: 'json'
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | hold-time: '180'
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | graceful-restart: 'None'
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration |
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration |
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | neighbor 172.30.174.129 {
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | description "prod-lab03c-rd1";
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | router-id 170.30.174.130;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | local-address 172.30.174.130;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | local-as 65533;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | peer-as 65010;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | hold-time 180;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | group-updates: True;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | auto-flush: true;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | adj-rib-out: true;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | ttl-security: ;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration |
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | capability {
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | asn4 enable;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | route-refresh disable;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | graceful-restart 180;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | add-path receive;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | multi-session disable;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | operational disable;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | aigp disable;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | }
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | family {
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | inet4 unicast;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | inet4 multicast;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | inet4 nlri-mpls;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | inet4 mpls-vpn;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | inet4 flow;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | inet4 flow-vpn;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | inet6 unicast;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | inet6 mpls-vpn;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | inet6 flow;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | inet6 flow-vpn;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | l2vpn vpls;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | }
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | process {
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | receive {
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | parsed;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | neighbor-changes;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | update;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | parsed;
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | }
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | }
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | }
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration |
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration |
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | analysing tokens ['}']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid block options ['static', 'flow', 'l2vpn', 'neighbor', 'process', 'family', 'capability', 'operational']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | configuration | valid parameters ['description', 'router-id', 'local-address', 'local-as', 'peer-as', 'passive', 'hold-time', 'add-path', 'graceful-restart', 'md5', 'ttl-security', 'multi-session', 'group-updates', 'route-refresh', 'asn4', 'aigp', 'auto-flush', 'adj-rib-out']
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | reactor | New Peer neighbor 172.30.174.129 local-ip 172.30.174.130 local-as 65533 peer-as 65010 router-id 170.30.174.130 family-allowed in-open
Tue, 09 Sep 2014 17:03:44 | WARNING | 3794 | configuration | Loaded new configuration successfully
Tue, 09 Sep 2014 17:03:44 | INFO | 3794 | processes | Forked process parsed-route-backend
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | network | Connected to peer neighbor 172.30.174.129 local-ip 172.30.174.130 local-as 65533 peer-as 65010 router-id 170.30.174.130 family-allowed in-open (out)
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (1) attributes origin igp as-path 65010
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (1) nlri 172.30.179.0/30 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (1) nlri 172.30.150.0/24 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (1) nlri 172.30.142.32/27 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (1) nlri 172.30.55.26/32 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (1) nlri 172.30.180.5/32 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (1) nlri 172.30.174.128/30 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (1) nlri 172.30.151.162/32 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (1) nlri 172.17.134.0/23 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (1) nlri 172.30.128.0/18 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (1) nlri 172.30.170.169/32 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (1) nlri 10.0.171.169/32 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (1) nlri 3.3.3.3/32 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (1) nlri 172.30.168.226/32 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (1) nlri 172.30.168.112/30 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (1) nlri 172.30.168.232/30 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (1) nlri 172.30.168.228/30 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (1) nlri 172.30.168.112/29 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (1) nlri 172.30.168.96/30 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (1) nlri 172.209.209.209/32 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (1) nlri 222.222.222.0/24 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (2) attributes origin igp as-path 65010 med 5120
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (2) nlri 10.0.171.165/32 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (2) nlri 172.30.168.16/30 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (2) nlri 172.30.168.140/30 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (2) nlri 172.30.170.165/32 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (3) attributes origin igp as-path 65010 med 2560
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (3) nlri 10.0.171.166/32 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (3) nlri 10.0.171.170/32 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (3) nlri 172.30.168.68/30 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (3) nlri 172.30.168.72/30 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (3) nlri 172.30.168.76/30 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (3) nlri 172.30.168.120/30 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (3) nlri 172.30.168.124/30 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (3) nlri 172.30.168.128/30 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (3) nlri 172.30.168.132/30 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (3) nlri 172.30.170.166/32 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (3) nlri 172.30.170.170/32 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (3) nlri 172.30.170.171/32 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (4) attributes origin igp as-path 65010 med 3840
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (4) nlri 10.0.171.167/32 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (4) nlri 172.30.168.48/30 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (4) nlri 172.30.168.108/30 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (4) nlri 172.30.168.144/30 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (4) nlri 172.30.170.167/32 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (4) nlri 172.30.170.174/32 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (5) attributes origin igp as-path 65010 med 1280
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (5) nlri 10.0.171.168/32 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (5) nlri 172.30.170.168/32 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (6) attributes origin igp as-path 65010 med 2570
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (6) nlri 15.0.0.0/24 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (7) attributes origin igp as-path 65010
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (7) nlri 192.0.2.24/32 next-hop 172.30.174.129
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (8)
Tue, 09 Sep 2014 17:03:47 | INFO | 3794 | routes | peer 172.30.174.129 ASN 65010 << UPDATE (8) nlri eor 1/1 (ipv4 unicast)
Tue, 09 Sep 2014 17:03:50 | INFO | 3794 | reactor | peer 172.30.174.129 ASN 65010 processed 47 routes


Could you please advise how/if it is possible to log the output in JSON ?
Kind Regards,

Thomas Mangin

unread,
Sep 9, 2014, 11:10:42 AM9/9/14
to exabgp...@googlegroups.com

On 9 Sep 2014, at 16:05, NikoS <nskalis....@gmail.com> wrote:

> run etc/exabgp/processes/syslog-1.py;
>
> Could you please advise how/if it is possible to log the output in JSON ?

The output was sent to this program, which sends it to syslog. If you want it going to another file, replace that script by one who is reading STDIN and storing it where you need.

Thomas

signature.asc

Nikos Skalis

unread,
Sep 9, 2014, 11:20:27 AM9/9/14
to exabgp...@googlegroups.com
Thanks a lot Thomas! Much appreciated!
Reply all
Reply to author
Forward
0 new messages