show bgp neighbors advertised-routes

Use this command to display the routes advertised to a BGP neighbor.

Command Syntax

Copy
show bgp neighbors (A.B.C.D|X:X::X:X) advertised-routes
show ip bgp neighbors (A.B.C.D|X:X::X:X) advertised-routes (vrf (VRFNAME|all|default))
show ip bgp neighbors (A.B.C.D|X:X::X:X) advertised-routes
show ip bgp ipv4 (unicast|multicast) neighbors (A.B.C.D|X:X::X:X) advertised-routes

Parameters

A.B.C.D

IPv4 neighbor

X:X::X:X

IPv6 neighbor

ipv4

IPv4 addresses

multicast

Multicast prefixes

unicast

Unicast prefixes

vrf

VPN Routing/Forwarding instance name

Command Mode

Execution modePrivilege mode

Applicability

This command was introduced before OcNOS version 1.3.

Example

Copy
#show bgp neighbors 11.11.11.2 advertised-routes
BGP table version is 3, local router ID is 1.1.1.1
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         32768     i
 
Total number of prefixes 1