: dump routing peer route-json
Focus
Focus

dump routing peer route-json

Table of Contents

dump routing peer route-json

Use the
dump routing peer routes-json
command to display the installed routes learned from BGP peers in javascript object notation (JSON) format.

Command

dump routing peer routes-json ( all | peer-ip = Peer IP )

Options

all
Enter all to display learned routes from all BGP peers.
peer-ip
Enter an IP address to display routes learned from a specific BGP peer.

Command Notes

Role
Super, Read Only, Monitor
Related Commands
Introduced in
Release 5.0.1

Example

dump routing peer route-json peer-ip 192.168.106.1Routes for peer:192.168.106.1{"10.10.60.0/30":{"nexthop":"0.0.0.0","metric":0,"lp":0,"wt":32768,"path":"","rtrid":"0.0.0.0","ts":"1528942009"},"10.16.39.0/24"{"nexthop":"192.168.106.1","metric":1,"lp":0,"wt":0,"path":"65192" ,"rtr_id":"192.192.192.192","ts":"1528942013"},"192.168.101.0/24"{"nexthop":"192.168.106.1","metric":1,"lp":0,"wt":0,"path":"65192","rtrid":"192.192.192.192","ts":"1528942013"},"192.168.102.0/24"{"nexthop":"192.168.106.1","metric":1,"lp":0,"wt":0,"path":"65192","rtrid":"192.192.192.192","ts":"1528942013"},"192.168.103.0/24"{"nexthop":"192.168.106.1","metric":1,"lp":0,"wt":0,"path":"65192" ,"rtrid":"192.192.192.192","ts":"1528942013"},"192.168.104.0/24"{"nexthop":"192.168.106.1","metric":1,"lp":0,"wt":0,"path":"65192","rtr_id":"192.192.192.192","ts":"1528942013"},"192.168.105.0/24"{"nexthop":"192.168.106.1","metric":1,"lp":0,"wt":0,"path":"65192","rtrid":"192.192.192.192","ts":"1528942013"},"192.168.106.0/24"{"nexthop":"192.168.106.1","metric":1,"lp":0,"wt":0,"path":"65192" ,"rtrid":"192.192.192.192","ts":"1528942013"},"192.168.107.0/24"{"nexthop":"192.168.106.1","metric":1,"lp":0,"wt":0,"path":"65192","rtr_id":"192.192.192.192","ts":"1528942013"},"192.168.108.0/24"{"nexthop":"192.168.106.1","metric":1,"lp":0,"wt":0,"path":"65192","rtrid":"192.192.192.192","ts":"1528942013"},"192.168.109.0/24":{"nexthop":"192.168.106.1","metric":1,"lp":0,"wt":0,"path":"65192" ,"rtrid":"192.192.192.192","ts":"1528942013"},"192.168.193.192/32"{"nexthop":"192.168.106.1","metric":1,"lp":0,"wt":0,"path":"65192" ,"rtr_id":"192.192.192.192","ts":"1528942013"},"192.192.192.192/32"{"nexthop":"192.168.106.1","metric":1,"lp":0,"wt":0,"path":"65192","rtrid":"192.192.192.192","ts":"1528942013"}}

Recommended For You