dump routing peer route-via
Focus
Focus

dump routing peer route-via

Table of Contents

dump routing peer route-via

Use the dump routing peer route-via command to display the installed routes learned from BGP peers.

Command

dump routing peer routes-via ( peer-ip peer ip prefix=prefix ip | vrf-name=vrf name | vrf-id= )

Options

vrf-idEnter a vrf id to display learned routes from all BGP peers. Release 6.3.1
vrf-nameEnter a VRF name to display the configuration for a specific BGP peer. Release 6.3.1
peer-ipEnter an IP address to display routes learned from a specific BGP peer.

Command Notes

RoleSuper, Read Only, Monitor
Related Commands
Introduced inRelease 5.0.1

Example

dump routing peer route-via vrf-name=IOT-Data peer-ip 6.6.8.254 prefix=6.6.8.0/24 Routes learnt from peer 6.6.8.254 for prefix 6.6.8.0/24: BGP routing table entry for 6.6.8.0/24, version 1 Paths: (1 available, best #1, vrf v633-e3) Advertised to non peer-group peers: vyos(6.6.8.254) Local 0.0.0.0(53963e42-28e8-ae40-2924-2f4e3023032f) from 0.0.0.0 (6.6.8.8) Origin IGP, metric 0, weight 32768, valid, sourced, local, bestpath-from-AS Local, best (First path received) Last update: Mon Oct 9 04:48:38 2023