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
--
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.
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,