show bgp evpn routes type

Displays EVPN routes in the VPN table by type. Routes are imported into the MAC VRF table if those routes are imported.

Syntax

show bgp evpn routes type arp [ IPv4_address | mac MAC_address | brief | detail ]
show bgp evpn routes type auto-discovery [ brief | detail | esi-value ]
show bgp evpn routes type ethernet-segment [ brief | detail | esi-value ESI ]
show bgp evpn routes type inclusive-multicast [ brief | detail | ethernet-tag ]
show bgp evpn routes type ipv4-prefix [ IPv4_address/mask | brief | detail | l3-label ]
show bgp evpn routes type ipv6-prefix [ IPv6_address/mask | brief | detail | l3-label ]
show bgp evpn routes type mac [ MAC_address | brief | detail ]
show bgp evpn routes type nd [ IPv6_address | brief | detail ]
show bgp evpn routes type igmp-join-sync [ brief | detail ]
show bgp evpn routes type igmp-leave-sync [ brief | detail ]

Parameters

arp
Specifies ARP details.
IPv4_address
Specifies an IPv4 address in A.B.C.D format.
mac MAC_address
Specifies a MAC address in HHHH.HHHH.HHHH format.
brief
Specifies brief information.
detail
Specifies detailed information.
auto-discovery
Specifies auto-discovery details.
esi-value ESI
Specifies an Ethernet Segment Indicator in the following hexadecimal format: HH:HH:HH:HH:HH:HH:HH:HH:HH , HH.
ethernet-segment
Specifies Ethernet Segment details.
inclusive-multicast
Specifies inclusive multicast details.
ethernet-tag tag
Specifies an Ethernet tag ID. Range is from 0 through 4294967295.
ipv4-prefix IPv4_address/mask
Specifies an IPv4 prefix and mask length in A.B.C.D/L format.
l3-label number
Specifies a Layer 3 Virtual Network Identifier (VNI). Range is from 1 through 16777215.
ipv6-prefix IPv6_address/mask
Specifies an IPv6 prefix and mask length in A:B::C:D/L format.
l3-label number
Specifies a Layer 3 Virtual Network Identifier (VNI). Range is from 1 through 16777215.
mac MAC_address
Specifies a MAC address in HHHH.HHHH.HHHH format.
nd IPv6_address
Specifies a BGP Neighbor Discovery IPv6 address in A:B::C:D format.
igmp-join-sync
Specifies Join Sync route information.
igmp-leave-sync
Specifies Leave Sync route information.

Modes

Privileged EXEC mode

Examples

The following example displays information related to ARP routes.

device# show bgp evpn route type arp 
Total number of BGP EVPN ARP Routes : 4 Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED
       E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH m:NOT-INSTALLED-MULTIPATH
       S:SUPPRESSED F:FILTERED s:STALE
       Prefix             Next Hop        MED        LocPrf     Weight Status
Route Distinguisher: 40.40.100.50:32869
1      ARP:[0][0000.0a0a.0a0b]:[IPv4:10.10.10.11]
                          0.0.0.0         0          100        0      BL    
         AS_PATH: 
            L2 Label: 101 L3 Label: 100
         ESI : 00.000000000000000000 
2      ARP:[0][609c.9f5a.4715]:[IPv4:15.143.15.1]
                          0.0.0.0         0          100        0      BL    
         AS_PATH: 
            L2 Label: 101 L3 Label: 100
         ESI : 00.000000000000000000
Route Distinguisher: 40.40.100.50:33769
3      ARP:[0][609c.9f5a.4715]:[IPv4:14.13.15.1]
                          0.0.0.0         0          100        0      BL    
         AS_PATH: 
            L2 Label: 1001 L3 Label: 100
         ESI : 00.000000000000000000
Route Distinguisher: 40.40.100.60:32869
4      ARP:[0][609c.9f5a.8d15]:[IPv4:6.6.2.5]
                          40.40.40.2      0          100        0      BE    
         AS_PATH: 1000
            L2 Label: 101 L3 Label: 0
         ESI : 00.000000000000000000

The following example displays brief information related to IPv4 prefix routes.

device# show bgp evpn route type ipv4-prefix detail  
Total number of BGP EVPN Ipv4Prefix Routes : 1
Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED
       E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH m:NOT-INSTALLED-MULTIPATH
       S:SUPPRESSED F:FILTERED s:STALE
Route Distinguisher: 100:100
1         Prefix: IP4Prefix:[0][34.0.0.0/24],  Status: BL,  Age: 0h1m5s
         NEXT_HOP: 0.0.0.0, Learned from Peer: Local Router
          LOCAL_PREF: 100,  MED: 0,  ORIGIN: incomplete,  Weight: 0
         AS_PATH: 
            Extended Community: 
            RT 100:100
            RT 100:1073742024
            Default Gateway: Received
            Adj_RIB_out count: 1,  Admin distance 0
            L3 Label: 200 (EVI) 
            RD: 100:100
            As-magic: 31

The following example displays information for inclusive multicast routes.

device# show bgp evpn routes type inclusive-multicast
Total number of BGP EVPN IMR Routes : 5
Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED
       E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH m:NOT-INSTALLED-MULTIPATH
       S:SUPPRESSED F:FILTERED s:STALE
Route Distinguisher: 100:100
1         Prefix: IMR:[0][IPv4:2.2.2.2],  Status: BI,  Age: 0h1m21s
         NEXT_HOP: 2.2.2.2, Learned from Peer: 30.0.0.2 (100)
          LOCAL_PREF: 100,  MED: 0,  ORIGIN: incomplete,  Weight: 0
         AS_PATH:
            Extended Community:
            RT 100:268435656
            RT 100:200
            RT 100:1073742024
            RT 100:100
            PMSI Attribute Flags: 0x00000000  Label-Stack: 200 Tunnel-Type: 6 Tunnel-IP: 2.2.2.2
            Encapsulation Type: Vxlan
            L2 Label: 200 (VNI)
            RD: 100:100
            As-magic: 24
Route Distinguisher: 200:100
2         Prefix: IMR:[0][IPv4:1.1.1.1],  Status: BL,  Age: 0h1m21s
         NEXT_HOP: 0.0.0.0, Learned from Peer: Local Router
          LOCAL_PREF: 100,  MED: 0,  ORIGIN: incomplete,  Weight: 0
         AS_PATH:
            Extended Community:
            RT 100:1073742024
            RT 100:100
            Adj_RIB_out count: 1,  Admin distance 0
            L2 Label: 200 (EVI)
            RD: 200:100
            As-magic: 27
Route Distinguisher: 201:100
3         Prefix: IMR:[0][IPv4:1.1.1.1],  Status: BL,  Age: 0h1m50s
         NEXT_HOP: 0.0.0.0, Learned from Peer: Local Router
          LOCAL_PREF: 100,  MED: 0,  ORIGIN: incomplete,  Weight: 0
         AS_PATH:
            Extended Community:
            RT 100:1073742025
            RT 100:100
            Adj_RIB_out count: 1,  Admin distance 0
            L2 Label: 201 (EVI)
            RD: 201:100
            As-magic: 14
Route Distinguisher: 1.1.1.1:32868
4         Prefix: IMR:[0][IPv4:1.1.1.1],  Status: BL,  Age: 0h1m51s
         NEXT_HOP: 0.0.0.0, Learned from Peer: Local Router
          LOCAL_PREF: 100,  MED: 0,  ORIGIN: incomplete,  Weight: 0
         AS_PATH:
            Extended Community:
            RT 100:1073741924
            Adj_RIB_out count: 1,  Admin distance 0
            L2 Label: 100 (EVI)
            RD: 1.1.1.1:32868
            As-magic: 2
Route Distinguisher: 2.2.2.2:32868
5         Prefix: IMR:[0][IPv4:2.2.2.2],  Status: BI,  Age: 0h1m21s
         NEXT_HOP: 2.2.2.2, Learned from Peer: 30.0.0.2 (100)
          LOCAL_PREF: 100,  MED: 0,  ORIGIN: incomplete,  Weight: 0
         AS_PATH:
            Extended Community:
            RT 100:268435556
            RT 100:100
            RT 100:1073741924
            PMSI Attribute Flags: 0x00000000  Label-Stack: 100 Tunnel-Type: 6 Tunnel-IP: 2.2.2.2
            Encapsulation Type: Vxlan
            L2 Label: 100 (VNI)
            RD: 2.2.2.2:32868
            As-magic: 23

The following example displays information for BGP EVPN MAC routes.

Peer1#  show bgp evpn route type mac detail
Total number of BGP EVPN MAC Routes : 3
Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED
       E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH m:NOT-INSTALLED-MULTIPATH
       S:SUPPRESSED F:FILTERED s:STALE
Route Distinguisher: 1.1.1.1:32968
1         Prefix: MAC:[0][489b.d57e.c806],  Status: BL,  Age: 0h2m30s
         NEXT_HOP: 0.0.0.0, Learned from Peer: Local Router
          LOCAL_PREF: 100,  MED: 0,  ORIGIN: incomplete,  Weight: 0
         AS_PATH:
            Extended Community:
            RT 100:1073742024
            Mac Mobility: Sticky Mac
            Default Gateway: Received
            Adj_RIB_out count: 1,  Admin distance 0
            L2 Label: 200 (EVI)
            ESI : 00.000000000000000000
            RD: 1.1.1.1:32968
            As-magic: 7
Route Distinguisher: 1.1.1.1:32969
2         Prefix: MAC:[0][489b.d57e.c806],  Status: BL,  Age: 0h2m30s
         NEXT_HOP: 0.0.0.0, Learned from Peer: Local Router
          LOCAL_PREF: 100,  MED: 0,  ORIGIN: incomplete,  Weight: 0
         AS_PATH:
            Extended Community:
            RT 100:1073742025
            Mac Mobility: Sticky Mac
            Default Gateway: Received
            Adj_RIB_out count: 1,  Admin distance 0
            L2 Label: 201 (EVI)
            ESI : 00.000000000000000000
            RD: 1.1.1.1:32969
            As-magic: 11
Route Distinguisher: 2.2.2.2:32968
3         Prefix: MAC:[0][489b.d57f.a406],  Status: BI,  Age: 0h2m1s
         NEXT_HOP: 2.2.2.2, Learned from Peer: 30.0.0.2 (100)
          LOCAL_PREF: 100,  MED: 0,  ORIGIN: incomplete,  Weight: 0
         AS_PATH:
            Extended Community:
            RT 100:268435656
            RT 100:200
            RT 100:1073742024
            Mac Mobility: Sticky Mac
            Default Gateway: Received
            Encapsulation Type: Vxlan
            L2 Label: 200 (VNI)
            ESI : 00.000000000000000000
            RD: 2.2.2.2:32968
            As-magic: 22 

The following example displays information for BGP EVPN Auto Discovered routes.

Peer1#  show system internal bgp evpn route type auto-discovery

Total number of BGP EVPN AD Routes : 6
Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED
       E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH m:NOT-INSTALLED-MULTIPATH
       S:SUPPRESSED F:FILTERED s:STALE
Route Distinguisher: 1.1.1.1:1
1         Prefix: AD:[01.609c9f871e00000100][4294967295],  Status: bE,  Age: 0h9m20s
         NEXT_HOP: 1.1.1.1, Learned from Peer: 30.1.1.2 (100)
          LOCAL_PREF: 100,  MED: 0,  ORIGIN: incomplete,  Weight: 0
         AS_PATH: 100
            Extended Community:
            RT 100:101
            RT 100:1073741926
            ESI Label Ext Community: 0  All-Active (0x00000000)
            Encapsulation Type: Vxlan
            Adj_RIB_out count: 2,  Admin distance 20
            RD: 1.1.1.1:1
         Received from: 30.1.1.2(100), AsPath_Addr: 0xc2f7ead3 Nh_Addr: 0xc2e81064 Nlri_Addr: 0xc2efea44
         route_is_vpn 1, Par_Nlri: 0x00000000 , Prev_Nlri: 0x00000000 Next_Nlri: 0x00000000 nlts 00000999 bc : 0
         evpn_label_info : t:3, e:2, 1:0 2:0 evid:12288 ESI : 12.01b8207f0000000029
  evpn node nne 1,nnr 0,aa 0,rp 0, dp 0,pp 0,rp 0, vp 0,d 0,nm 0,lsl 0,vpn 1,recap 0,dd 0,pi 0, gid 0, eviid 0,nhid 0,elts 00000000,nhid_node 00007f20
            As-magic: 29
Route Distinguisher: 1.1.1.1:134
2         Prefix: AD:[01.609c9f871e00000100][0],  Status: bE,  Age: 0h9m20s
         NEXT_HOP: 1.1.1.1, Learned from Peer: 30.1.1.2 (100)
          LOCAL_PREF: 100,  MED: 0,  ORIGIN: incomplete,  Weight: 0
         AS_PATH: 100
            Extended Community:
            RT 100:101
            ESI Label Ext Community: 0  All-Active (0x00000000)
            Encapsulation Type: Vxlan
            Adj_RIB_out count: 2,  Admin distance 20
            RD: 1.1.1.1:134
         Received from: 30.1.1.2(100), AsPath_Addr: 0xc2f7e45b Nh_Addr: 0xc2e81064 Nlri_Addr: 0xc2efe494
         route_is_vpn 1, Par_Nlri: 0x00000000 , Prev_Nlri: 0x00000000 Next_Nlri: 0x00000000 nlts 00000999 bc : 0
         evpn_label_info : t:3, e:2, 1:101 2:0 evid:12288 ESI : 12.01b8207f0000a01301
  evpn node nne 1,nnr 0,aa 0,rp 0, dp 0,pp 0,rp 0, vp 0,d 0,nm 0,lsl 0,vpn 1,recap 0,dd 0,pi 0, gid 0, eviid 0,nhid 0,elts 00000000,nhid_node 00007f20
            As-magic: 26
Route Distinguisher: 1.1.1.1:135
3         Prefix: AD:[01.609c9f871e00000100][0],  Status: bE,  Age: 0h9m20s
         NEXT_HOP: 1.1.1.1, Learned from Peer: 30.1.1.2 (100)
          LOCAL_PREF: 100,  MED: 0,  ORIGIN: incomplete,  Weight: 0
         AS_PATH: 100
            Extended Community:
            RT 100:1073741926
            ESI Label Ext Community: 0  All-Active (0x00000000)
            Encapsulation Type: Vxlan
            Adj_RIB_out count: 2,  Admin distance 20
            RD: 1.1.1.1:135
         Received from: 30.1.1.2(100), AsPath_Addr: 0xc2f7e935 Nh_Addr: 0xc2e81064 Nlri_Addr: 0xc2efe8d8
         route_is_vpn 1, Par_Nlri: 0x00000000 , Prev_Nlri: 0x00000000 Next_Nlri: 0x00000000 nlts 00000999 bc : 0
         evpn_label_info : t:3, e:2, 1:102 2:0 evid:12288 ESI : 12.01b8207f000000003e
  evpn node nne 1,nnr 0,aa 0,rp 0, dp 0,pp 0,rp 0, vp 0,d 0,nm 0,lsl 0,vpn 1,recap 0,dd 0,pi 0, gid 0, eviid 0,nhid 0,elts 00000000,nhid_node 00007f20
            As-magic: 27
Route Distinguisher: 2.2.2.2:1
4         Prefix: AD:[01.609c9f871e00000100][4294967295],  Status: bE,  Age: 0h9m20s
         NEXT_HOP: 2.2.2.2, Learned from Peer: 20.1.1.2 (100)
          LOCAL_PREF: 100,  MED: 0,  ORIGIN: incomplete,  Weight: 0
         AS_PATH: 100
            Extended Community:
            RT 100:101
            RT 100:1073741926
            ESI Label Ext Community: 0  All-Active (0x00000000)
            Encapsulation Type: Vxlan
            Adj_RIB_out count: 2,  Admin distance 20
            RD: 2.2.2.2:1
         Received from: 20.1.1.2(100), AsPath_Addr: 0xc2f7e1ee Nh_Addr: 0xc2e7f85a Nlri_Addr: 0xc2efe272
         route_is_vpn 1, Par_Nlri: 0x00000000 , Prev_Nlri: 0x00000000 Next_Nlri: 0x00000000 nlts 00000990 bc : 0
         evpn_label_info : t:3, e:2, 1:0 2:0 evid:12288 ESI : 12.01b8207f0000000029
  evpn node nne 1,nnr 0,aa 0,rp 0, dp 0,pp 0,rp 0, vp 0,d 0,nm 0,lsl 0,vpn 1,recap 0,dd 0,pi 0, gid 0, eviid 0,nhid 0,elts 00000000,nhid_node 00007f20
            As-magic: 21
Route Distinguisher: 2.2.2.2:134
5         Prefix: AD:[01.609c9f871e00000100][101],  Status: bE,  Age: 0h9m20s
         NEXT_HOP: 2.2.2.2, Learned from Peer: 20.1.1.2 (100)
          LOCAL_PREF: 100,  MED: 0,  ORIGIN: incomplete,  Weight: 0
         AS_PATH: 100
            Extended Community:
            RT 100:101
            ESI Label Ext Community: 0  All-Active (0x00000000)
            Encapsulation Type: Vxlan
            Adj_RIB_out count: 2,  Admin distance 20
            RD: 2.2.2.2:134
         Received from: 20.1.1.2(100), AsPath_Addr: 0xc2f7ed40 Nh_Addr: 0xc2e7f85a Nlri_Addr: 0xc2efec66
         route_is_vpn 1, Par_Nlri: 0x00000000 , Prev_Nlri: 0x00000000 Next_Nlri: 0x00000000 nlts 00000990 bc : 0
         evpn_label_info : t:3, e:2, 1:101 2:0 evid:12288 ESI : 12.01b8207f0000b81301
  evpn node nne 1,nnr 0,aa 0,rp 0, dp 0,pp 0,rp 0, vp 0,d 0,nm 0,lsl 0,vpn 1,recap 0,dd 0,pi 0, gid 0, eviid 0,nhid 0,elts 00000000,nhid_node 00007f20
            As-magic: 17
Route Distinguisher: 2.2.2.2:135
6         Prefix: AD:[01.609c9f871e00000100][102],  Status: bE,  Age: 0h9m20s
         NEXT_HOP: 2.2.2.2, Learned from Peer: 20.1.1.2 (100)
          LOCAL_PREF: 100,  MED: 0,  ORIGIN: incomplete,  Weight: 0
         AS_PATH: 100
            Extended Community:
            RT 100:1073741926
            ESI Label Ext Community: 0  All-Active (0x00000000)
            Encapsulation Type: Vxlan
            Adj_RIB_out count: 2,  Admin distance 20
            RD: 2.2.2.2:135
         Received from: 20.1.1.2(100), AsPath_Addr: 0xc2f7e5f9 Nh_Addr: 0xc2e7f85a Nlri_Addr: 0xc2efe600
         route_is_vpn 1, Par_Nlri: 0x00000000 , Prev_Nlri: 0x00000000 Next_Nlri: 0x00000000 nlts 00000990 bc : 0
         evpn_label_info : t:3, e:2, 1:102 2:0 evid:12288 ESI : 12.01b8207f000000003e
  evpn node nne 1,nnr 0,aa 0,rp 0, dp 0,pp 0,rp 0, vp 0,d 0,nm 0,lsl 0,vpn 1,recap 0,dd 0,pi 0, gid 0, eviid 0,nhid 0,elts 00000000,nhid_node 00007f20
            As-magic: 18 

The following example displays information of BGP EVPN routes of the type ethernet-segment.

Peer1#  show system internal bgp evpn route type ethernet-segment
Total number of BGP EVPN Ethernet Segment Routes : 2
Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED
       E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH m:NOT-INSTALLED-MULTIPATH
       S:SUPPRESSED F:FILTERED s:STALE
Route Distinguisher: 1.1.1.1:1
1         Prefix: ESR:[01.609c9f.871e00.000100][IPv4:1.1.1.1],  Status: bE,  Age: 0h16m21s
         NEXT_HOP: 1.1.1.1, Learned from Peer: 30.1.1.2 (100)
          LOCAL_PREF: 100,  MED: 0,  ORIGIN: incomplete,  Weight: 0
         AS_PATH: 100
            Extended Community:
			DF Election Ext Community: AC-influenced-DF-election: Enabled
            ES Import RT: 06:02:60:9c:9f:87:1e:00
            Encapsulation Type: Vxlan
            Adj_RIB_out count: 2,  Admin distance 20
            RD: 1.1.1.1:1
         Received from: 30.1.1.2(100), AsPath_Addr: 0xc2f7ea04 Nh_Addr: 0xc2e81064 Nlri_Addr: 0xc2efe98e
         route_is_vpn 1, Par_Nlri: 0x00000000 , Prev_Nlri: 0x00000000 Next_Nlri: 0x00000000 nlts 00000999 bc : 0
         evpn_label_info : t:3, e:2, 1:65793 2:0 evid:12288 ESI : 12.01b8207f000000003e
  evpn node nne 1,nnr 0,aa 0,rp 0, dp 0,pp 0,rp 0, vp 0,d 0,nm 0,lsl 0,vpn 1,recap 0,dd 0,pi 0, gid 0, eviid 0,nhid 0,elts 00000000,nhid_node 00214e00
            As-magic: 28
Route Distinguisher: 2.2.2.2:1
2         Prefix: ESR:[01.609c9f.871e00.000100][IPv4:2.2.2.2],  Status: bE,  Age: 0h16m21s
         NEXT_HOP: 2.2.2.2, Learned from Peer: 20.1.1.2 (100)
          LOCAL_PREF: 100,  MED: 0,  ORIGIN: incomplete,  Weight: 0
         AS_PATH: 100
            Extended Community:
			DF Election Ext Community: AC-influenced-DF-election: Enabled
            ES Import RT: 06:02:60:9c:9f:87:1e:00
            Encapsulation Type: Vxlan
            Adj_RIB_out count: 2,  Admin distance 20
            RD: 2.2.2.2:1
         Received from: 20.1.1.2(100), AsPath_Addr: 0xc2f7e6c8 Nh_Addr: 0xc2e7f85a Nlri_Addr: 0xc2efe6b6
         route_is_vpn 1, Par_Nlri: 0x00000000 , Prev_Nlri: 0x00000000 Next_Nlri: 0x00000000 nlts 00000990 bc : 0
         evpn_label_info : t:3, e:2, 1:131586 2:0 evid:12288 ESI : 12.01b8207f0000000029
  evpn node nne 1,nnr 0,aa 0,rp 0, dp 0,pp 0,rp 0, vp 0,d 0,nm 0,lsl 0,vpn 1,recap 0,dd 0,pi 0, gid 0, eviid 0,nhid 0,elts 00000000,nhid_node f9001c00
            As-magic: 19