show bgp neighbor received-routes

Syntax

show bgp [vrf <VRF-NAME>] {ipv4 unicast | ipv6 unicast 
     | all} neighbors <IP-ADDRESS> received-routes [vsx-peer]

show bgp l2vpn evpn neighbors <IP-ADDRESS> received-routes

Description

Shows received routes from the specified neighbor.

Command context

Operator (>) or Manager (#)

Parameters

vrf <VRF-NAME>

Shows the information for a specified VRF.

ipv4 unicast

Shows the information for an IPv4 unicast address family.

ipv6 unicast

Shows the information for an IPv6 unicast address family.

all

Shows the information for all address families and subaddress families.

<IP-ADDRESS>

Shows the information for a neighbor IP address.

[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. This parameter is available on switches that support VSX.

l2vpn evpn

Shows the information for L2VPN EVPN address family. This parameter applies only to 8325 series switches.

Authority

Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.

Examples

Showing received routes from the specified IPv4 unicast neighbor:

switch# show bgp ipv4 unicast 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

Showing received routes from the specified L2VPN EVPN neighbor:

switch# show bgp l2vpn evpn 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
EVPN Route-Type 2 prefix: [2]:[ESI]:[EthTag]:[MAC]:[OrigIP]
EVPN Route-Type 3 prefix: [3]:[EthTag]:[OrigIP]

VRF : default
Local Router-ID 9.0.0.2

     Network                                            Nexthop        Metric LocPrf Weight Path
--------------------------------------------------------------------------------------------------------
Route Distinguisher: 10.1.1.54:32967    (L2VNI 30000)
*>   [2]:[0]:[0]:[00:06:f6:3f:e3:c1]:[]                 1.1.1.20       0      100    32768  i
*>   [2]:[0]:[0]:[8c:60:4f:f2:f5:41]:[]                 1.1.1.10       0      100    0      i
Total number of entries 2