show bgp l2vpn evpn

Use this command to display details about Layer 2 Virtual Private Network (L2VPN) Ethernet Virtual Private Network (EVPN) routes.

 

A BGP EVPN route update received for an unreachable IP address is also listed by this command and as a best route. This is because the next hop tracking feature is not supported for the EVPN address family. However, the tunnel to this IP address is shown in unresolved state by the show nvo vxlan tunnel output.
An E-tag (Ethernet tag) can have the value of zero/VID/VNID based on the use case. An E-tag can go up to 32 bits and no restrictions are noted in the RFC. Since an E-tag can have different values, it should not be compared with the label/VNID.

Command Syntax

Copy
show bgp l2vpn evpn ((vrf WORD)|(rd WORD)| time|)
show bgp l2vpn evpn mac-ip ((vrf WORD)|(rd WORD)|)
show bgp l2vpn evpn mcast
show bgp l2vpn evpn multihoming es-route <(rd WORD)|(vrf WORD)>
show bgp l2vpn evpn multihoming ethernet-ad-per-evi <(rd WORD)|(vrf WORD)>
show bgp l2vpn evpn multihoming ethernet-ad-per-es <(rd WORD)|(vrf WORD)>

Parameters

None

Command Mode

Execution mode

Applicability

This command was introduced in OcNOS version 4.0.

Examples

Copy
MH-PE2#sh bgp l2vpn evpn
BGP table version is 22, local router ID is 102.1.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              l - labeled, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
[EVPN route type]:[ESI]:[VNID]:[relevent route informantion]
1 - Ethernet Auto-discovery Route
2 - MAC/IP Route
3 - Inclusive Multicast Route
4 - Ethernet Segment Route
5 - Prefix Route
 
    Network          Next Hop            Metric    LocPrf       Weight     Path  Peer          Encap
 
RD[101.1.1.1:1]
*>i  [1]:[00:00:00:00:00:15:15:00:00:00]:[6001]:[18]
                       101.1.1.1            0         100           0        i  101.1.1.1       MPLS
*>i  [3]:[6001]:[32,101.1.1.1]
                       101.1.1.1            0         100           0        i  101.1.1.1       MPLS
 
RD[101.1.1.1:2]
*>i  [1]:[00:00:00:00:00:15:15:00:00:00]:[10]:[19]
                       101.1.1.1            0         100           0        i  101.1.1.1       MPLS
 
RD[101.1.1.1:22]
*>i  [1]:[00:00:00:00:00:15:15:00:00:00]:[4294967295]:[0]
                       101.1.1.1            0         100           0        i  101.1.1.1       MPLS
*>i  [4]:[00:00:00:00:00:15:15:00:00:00]:[32,101.1.1.1]
                       101.1.1.1            0         100           0        i  101.1.1.1       MPLS
 
RD[102.1.1.1:1] VRF[l2vrf1]:
*>   [1]:[00:00:00:00:00:15:15:00:00:00]:[6001]:[19]
                       102.1.1.1            0         100           32768    i  ----------      MPLS
* i                    101.1.1.1            0         100           0        i  101.1.1.1       MPLS
* i  [1]:[00:00:00:00:00:15:15:00:00:00]:[4294967295]:[0]
                       101.1.1.1            0         100           0        i  101.1.1.1       MPLS
*>   [2]:[00:00:00:00:00:15:15:00:00:00]:[6001]:[48,0000:0000:aa11]:[0]:[19]
                       102.1.1.1            0         100           32768    i  ----------      MPLS
*>   [2]:[00:00:00:00:00:15:15:00:00:00]:[6001]:[48,0000:0000:aa12]:[32,12.12.12.10]:[19]
                       102.1.1.1            0         100           32768    i  ----------      MPLS
*>   [2]:[00:00:00:00:00:15:15:00:00:00]:[6001]:[48,0000:0000:aa13]:[128,1201::10]:[19]
                       102.1.1.1            0         100           32768    i  ----------      MPLS
* i  [3]:[6001]:[32,101.1.1.1]
                       101.1.1.1            0         100           0        i  101.1.1.1       MPLS
*>   [3]:[6001]:[32,102.1.1.1]
                       102.1.1.1            0         100           32768    i  ----------      MPLS
* i  [3]:[6001]:[32,105.1.1.1]
                       105.1.1.1            0         100           0        i  105.1.1.1       MPLS
 
RD[102.1.1.1:2] VRF[l2vrf2]:
* i  [1]:[0]:[11]:[641]
                       105.1.1.1            0         100           0        i  105.1.1.1       MPLS
*>   [1]:[00:00:00:00:00:15:15:00:00:00]:[10]:[18]
                       102.1.1.1            0         100           32768    i  ----------      MPLS
* i                    101.1.1.1            0         100           0        i  101.1.1.1       MPLS
* i  [1]:[00:00:00:00:00:15:15:00:00:00]:[4294967295]:[0]
                       101.1.1.1            0         100           0        i  101.1.1.1       MPLS
 
RD[102.1.1.1:22] VRF[evpn-gvrf-1]:
*>   [1]:[00:00:00:00:00:15:15:00:00:00]:[4294967295]:[0]
                       102.1.1.1            0         100           32768    i  ----------      MPLS
* i  [4]:[00:00:00:00:00:15:15:00:00:00]:[32,101.1.1.1]
                       101.1.1.1            0         100           0        i  101.1.1.1       MPLS
*>   [4]:[00:00:00:00:00:15:15:00:00:00]:[32,102.1.1.1]
                       102.1.1.1            0         100           32768    i  ----------      MPLS
 
RD[105.1.1.1:1]
*>i  [3]:[6001]:[32,105.1.1.1]
                       105.1.1.1            0         100           0        i  105.1.1.1       MPLS
 
RD[105.1.1.1:2]
*>i  [1]:[0]:[11]:[641]
                       105.1.1.1            0         100           0        i  105.1.1.1       MPLS
 
Total number of prefixes 21
MH-PE2#
MH-PE2#