show bgp neighbors received-routes
Use this command to display the received routes from a neighbor.
To display all the received routes from a neighbor, perform a BGP soft reconfigure first.
Command Syntax
show bgp neighbors (A.B.C.D|X:X::X:X|WORD) received-routes
show ip bgp ipv4 (unicast|multicast) neighbors (A.B.C.D|X:X::X:X) received-routes
show ip bgp neighbors (A.B.C.D|X:X::X:X|WORD) received-routes
show ip bgp neighbors (A.B.C.D|X:X::X:X|WORD) routes received
Parameters
A.B.C.D
IPv4 address
X:X::X:X
IPv6 address
WORD
Interface name
ipv4
IPv4 addresses
unicast
Unicast prefixes
multicast
Multicast prefixes
Command Mode
Privileged Exec mode and Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show bgp neighbors 11.11.11.1 received-routes
BGP table version is 3, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*>i 33.33.33.33/32 11.11.11.1 0 100 0 i
Total number of prefixes 1
Last modified date: 07-13-2023