show bgp neighbor paths

Syntax

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

Description

Shows autonomous system paths learned from the specified neighbor. Optionally you can specify displaying information by VRF.

Command context

Operator (>) or Manager (#)

Parameters

ipv4

Selects the IPv4 address family.

ipv6

Selects the IPv6 address family.

unicast

The subaddress family identifier.

vrf <VRF-NAME>

Select to display information by VRFs by specifying the VRF name.

all

Select to display the BGP summary information for all VRFs and address-families.

<IP-ADDRESS>

Specifies 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.

Authority

Operators or Administrators. Users without administrator authority can execute this command from the operator context (>) only.

Examples

switch# show bgp ipv4 unicast neighbors 192.168.12.2 paths
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
              i internal, e external S Stale, R Removed
VRF : default
Local Router-ID 9.0.0.1

    Network            Next Hop         Path
*>e 9.0.0.0/24         9.0.0.2          200 65534.65535 3.4 18.54934 3574.8570 5.6
*>e 100.0.0.0/24       9.0.0.2          200
*>e 100.0.1.0/24       9.0.0.2          200
*>e 100.0.2.0/24       9.0.0.2          200
*>e 100.0.3.0/24       9.0.0.2          200
Total number of entries 5