show bgp evpn neighbors advertised-routes

Displays information about the routes that the device has advertised to the specified neighbor during the current BGP EVPN session.

Syntax

show bgp evpn neighbors { ip address | ipv6 address } advertised-routes [ detail |type [ arp |auto-discovery | ethernet-segment |igmp-join-sync | igmp-leave-sync |inclusive-multicast | ipv4-prefix | ipv6-prefix | mac | nd] ]

Parameters

ip address
Specifies the IPv4 address of a neighbor.
ipv6 address
Specifies the IPv6 address of a neighbor.
type
Specifies the type of route.
detail
Specifies that detailed information be shown for the designated route type.
arp
Specifies Address Resolution Protocol routes.
auto-discovery
Specifies automatically discovered routes.
ethernet-segment
Specifies Ethernet Segment (ES) routes.
igmp-join-sync
Specifies Join Sync routes.
igmp-leave-sync
Specifies Leave Sync routes.
inclusive-multicast
Specifies inclusive multicast routes.
ipv4-prefix
Specifies IPv4 prefix routes.
ipv6-prefix
Specifies IPv6 prefix routes.
mac
Specifies MAC routes.
nd
Specifies Neighbor Discovery routes.

Modes

Privileged EXEC mode

Examples

The following example shows output for the show bgp evpn neighbors advertised-routes detail command.

device# show bgp evpn neighbors 20.0.0.2 advertised-routes detail
There are 4 routes advertised to neighbor 20.0.0.2
Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST E:EBGP I:IBGP L:LOCAL
1       Prefix: IP4Prefix:[0][2.1.1.0/24],  Status: BL,  Age: 0h5m11s
         NEXT_HOP: 1.1.1.1, Learned from Peer: Local Router
          LOCAL_PREF: 100,  MED: 0,  ORIGIN: incomplete,  Weight: 0
         AS_PATH:
            Extended Community: RT 2:2 RT 03:0d:00:00:00:00:00:00 RT 100:1073741826 RT 06:03:60:9c:9f:de:0f:15 RT 03:0c:00:00:00:00:00:08
            Default Extd Gw  Community: Received
            Extended Community: ExtCom: Tunnel Encapsulation (Type Vxlan)
            Adj_RIB_out count: 1,  Admin distance 0
            L3 Label: 2 (EVI)
            RD: 1:1
            As-magic: 17
2       Prefix: MAC:[0][609c.9fde.0f15],  Status: BL,  Age: 0h5m12s
         NEXT_HOP: 1.1.1.1, Learned from Peer: Local Router
          LOCAL_PREF: 100,  MED: 0,  ORIGIN: incomplete,  Weight: 0
         AS_PATH:
            Extended Community: RT 100:268435458 RT 100:2 RT 06:00:01:00:00:00:00:00 RT 03:0d:00:00:00:00:00:00 RT 100:1073741826 RT 03:0c:00:00:00:00:00:08
            Mac Mobility Sticky: True
            Default Extd Gw  Community: Received
            Extended Community: ExtCom: Tunnel Encapsulation (Type Vxlan)
            Adj_RIB_out count: 1,  Admin distance 0
            L2 Label: 2 (EVI)
            ESI : 00.000000000000000000
            RD: 1.1.1.1:32770
            As-magic: 16