show ip bgp neighbors advertised-routes

Displays the routes that the device has advertised to the neighbor during the current BGP4 session.

Syntax

show ip bgp neighbors ip-addr advertised-routes [ detail | / mask-bits ] [ vrf vrf-name ]

Parameters

ip-addr
IPv4 address of a neighbor in dotted-decimal notation.
detail
Displays details of advertised routes.
mask-bits
Number of mask bits in CIDR notation.
vrf vrf-name
Specifies a VRF instance.

Modes

Privileged EXEC mode

Examples

This example displays the details of advertised routes.

device# show ip bgp neighbors 123.123.123.3 advertised-routes 

       There are 5 routes advertised to neighbor 123.123.123.3
Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST E:EBGP I:IBGP L:LOCAL
       Prefix             Next Hop        MED        LocPrf     Weight Status
1      110.110.110.0/24   123.123.123.2    0                    0      BE    
         AS_PATH: 222 111
2      110.110.111.0/24   123.123.123.2    0                    0      BE    
         AS_PATH: 222 111
3      110.110.112.0/24   123.123.123.2    0                    0      BE    
         AS_PATH: 222 111
4      110.110.113.0/24   123.123.123.2    0                    0      BE    
         AS_PATH: 222 111
5      110.110.114.0/24   123.123.123.2    0                    0      BE    
         AS_PATH: 222 111