show ip bgp neighbors <IP-ADDRESS> received-routes
Syntax
show ip bgp neighbors <IP-ADDRESS> received-routes [vrf <VRF-NAME>] [vsx-peer]
Description
Displays all received routes from the specified neighbor. Optionally you can specify displaying information by VRF.
Command context
Operator (>
) or Manager (#
)
Parameters
<IP-ADDRESS>
Specifies a neighbor IP address.
vrf <VRF-NAME>
Optional. Select to display information by VRFs by specifying the VRF by VRF name (if no <VRF-NAME> is specified, the default VRF is implied).
[vsx-peer]
Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed.
Authority
Operators or Administrators. Users without administrator authority can execute this command from the operator context (>) only.
Examples
switch# show ip bgp neighbors 192.168.12.1 received-routes Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, i internal, e external S Stale, R Removed Origin codes: i - IGP, e - EGP, ? - incomplete VRF : default Local router-id 9.0.0.2 Network Nexthop Metric LocPrf Weight Path *>e 9.0.0.0/24 9.0.0.2 0 0 0 200 65534.65535 3.4 18.54934 3574.8570 5.6 ? *>e 100.0.0.0/24 9.0.0.2 0 0 0 200 ? *>e 100.0.1.0/24 9.0.0.2 0 0 0 200 ? *>e 100.0.2.0/24 9.0.0.2 0 0 0 200 ? *>e 100.0.3.0/24 9.0.0.2 0 0 0 200 ? Total number of entries 5