: dump routing peer neighbor
Focus
Focus

dump routing peer neighbor

Table of Contents

dump routing peer neighbor

Use the dump routing peer neighbor-stat command to display the configuration of BGP peers. Information displayed includes the BGP peer IP address, vrf name, address-family, peer id, peer type, remote AS numbers, and route map details along with the BGP peer negotiated parameters.

Command

dump routing peer neighbor-stat( vrf-name=vrf name | address-family= (ipv4 or ipv6))

Options

allEnter all to display learned routes from all BGP peers.
vrf-nameEnter a VRF name to display the configuration for a specific BGP peer. Release 6.3.1
address-familyEnter an address family to display the learned routes of IPv4 or IPv6 for a specific BGP peer. Release 6.3.1
peer-ipEnter an IP address to display routes learned from a specific BGP peer with both IPv4 and IPv6 address..

Command Notes

RoleSuper, Read Only, Monitor
Related Commands
Introduced inRelease 5.0.1

Example

dump routing peer neighbor-stat vrf-name=IOT-Data BGP neighbor is 6.6.8.254, remote AS 1400, local AS 1200, external link Description: "classic global lan-side peer 1689151867802013328" Hostname: vyos BGP version 4, remote router ID 10.65.21.88, local router ID 6.6.8.8 BGP state = Established, up for 00:18:46 Last read 00:00:16, Last write 00:00:16 Hold time is 90, keepalive interval is 30 seconds Configured hold time is 90, keepalive interval is 30 seconds Neighbor capabilities: 4 Byte AS: advertised and received Extended Message: advertised AddPath: IPv4 Unicast: RX advertised and received Route refresh: advertised and received(old & new) Enhanced Route Refresh: advertised Address Family IPv4 Unicast: advertised and received Hostname Capability: advertised (name: 53963e42-28e8-ae40-2924-2f4e3023032f,domain name: n/a) received (name: vyos,domain name: n/a) Graceful Restart Capability: advertised and received Remote Restart timer is 120 seconds Address families by peer: none Graceful restart information: End-of-RIB send: IPv4 Unicast End-of-RIB received: IPv4 Unicast Local GR Mode: Helper* Remote GR Mode: Helper R bit: False Timers: Configured Restart Time(sec): 120 Received Restart Time(sec): 120 IPv4 Unicast: F bit: False End-of-RIB sent: Yes End-of-RIB sent after update: Yes End-of-RIB received: Yes Timers: Configured Stale Path Time(sec): 360 Message statistics: Inq depth is 0 Outq depth is 0 Sent Rcvd Opens: 1 1 Notifications: 0 0 Updates: 2 3 Keepalives: 38 38 Route Refresh: 0 0 Capability: 0 0 Total: 41 42 Minimum time between advertisement runs is 1 seconds For address family: IPv4 Unicast Update group 2, subgroup 2 Packet Queue length 0 Inbound soft reconfiguration allowed Community attribute sent to this neighbor(all) 1 accepted prefixes Connections established 1; dropped 0 Last reset 00:18:47, Waiting for peer OPEN External BGP neighbor may be up to 5 hops away. Local host: 6.6.8.8, Local port: 60212 Foreign host: 6.6.8.254, Foreign port: 179 Nexthop: 6.6.8.8 Nexthop global: :: Nexthop local: :: BGP connection: shared network BGP Connect Retry Timer in Seconds: 120 Estimated round trip time: 2 ms Read thread: on Write thread: on FD used: 23
dump routing peer neighbor-stat peer-ip 2001:10:2:65::2 BGP neighbor is 2001:10:2:65::2, remote AS 2000, local AS 2001, external link Description: "classic global wan-side peer 1700023939437024728" Hostname: BR2 BGP version 4, remote router ID 25.1.1.1, local router ID 4.4.4.4 BGP state = Established, up for 04:51:35 Last read 00:00:04, Last write 00:00:04 Hold time is 90, keepalive interval is 30 seconds Configured hold time is 90, keepalive interval is 30 seconds Neighbor capabilities: 4 Byte AS: advertised and received Extended Message: advertised AddPath: IPv4 Unicast: RX advertised and received IPv6 Unicast: RX advertised and received Route refresh: advertised and received(old & new) Enhanced Route Refresh: advertised Address Family IPv4 Unicast: advertised and received Address Family IPv6 Unicast: advertised and received Hostname Capability: advertised (name: e6bb2b42-155f-6f6a-a8ce-dfa7e7f7a3ed,domain name: n/a) received (name: BR2,domain name: n/a) Graceful Restart Capability: advertised and received Remote Restart timer is 120 seconds Address families by peer: none Graceful restart information: End-of-RIB send: IPv4 Unicast, IPv6 Unicast End-of-RIB received: IPv4 Unicast, IPv6 Unicast Local GR Mode: Helper* Remote GR Mode: Helper R bit: False Timers: Configured Restart Time(sec): 120 Received Restart Time(sec): 120 IPv4 Unicast: F bit: False End-of-RIB sent: Yes End-of-RIB sent after update: Yes End-of-RIB received: Yes Timers: Configured Stale Path Time(sec): 360 IPv6 Unicast: F bit: False End-of-RIB sent: Yes End-of-RIB sent after update: Yes End-of-RIB received: Yes Timers: Configured Stale Path Time(sec): 360 Message statistics: Inq depth is 0 Outq depth is 0 Sent Rcvd Opens: 1 1 Notifications: 0 0 Updates: 4 274 Keepalives: 584 584 Route Refresh: 0 0 Capability: 0 0 Total: 589 859 Minimum time between advertisement runs is 1 seconds For address family: IPv4 Unicast Update group 255, subgroup 255 Packet Queue length 0 Inbound soft reconfiguration allowed Community attribute sent to this neighbor(all) 41 accepted prefixes For address family: IPv6 Unicast Update group 256, subgroup 256 Packet Queue length 0 Inbound soft reconfiguration allowed Community attribute sent to this neighbor(all) 41 accepted prefixes Connections established 1; dropped 0 Last reset 04:51:36, No AFI/SAFI activated for peer Local host: 2001:10:2:65::1, Local port: 45654 Foreign host: 2001:10:2:65::2, Foreign port: 179 Nexthop: 10.2.65.1 Nexthop global: 2001:10:2:65::1 Nexthop local: fe80::250:56ff:feab:97ed BGP connection: shared network BGP Connect Retry Timer in Seconds: 20 Read thread: on Write thread: on FD used: 23