Displaying BGP EVPN Information

You can use various show commands to view information about BGP EVPN.
Use one of the following commands to view BGP EVPN information. Using these commands is optional and they can be entered in any order. For more information on the full list of show bgp evpn commands, refer to the RUCKUS FastIron Command Reference Guide.
  1. Enter the show ip bgp evpn attribute-entries command to display information about AS-path attribute entries for the L2VPN EVPN address family.
    device> show ip bgp evpn attribute-entries
    
     Total number of BGP Attribute Entries: 14
    1       Next Hop  : 2.2.2.8           MED      :0               Origin:IGP
            Originator:0.0.0.0            Cluster List:None
            Aggregator:AS Number :0       Router-ID:0.0.0.0         Atomic:None
            Local Pref:100                Communities:Internet
            Extended Community: RT 1000:30 Bgp-Encap: Tunnel-Type: 8
            AS Path   : (length 0)
            AsPathLen: 0  AsNum: 0, SegmentNum: 0, Neighboring As: 0, Source As 0
            Address: 0xd777a4e8  Hash:3730 (0x1000000)
            Links: 0x0, 0x0
            Reference Counts: 1:0:1, Magic: 1
    2       Next Hop  : 2.2.2.8            MED      :0               Origin:IGP
            Originator:0.0.0.0            Cluster List:None
            Aggregator:AS Number :0       Router-ID:0.0.0.0          Atomic:None
            Local Pref:100                Communities:Internet
            Extended Community: RT 1000:31 Bgp-Encap: Tunnel-Type: 8
            AS Path   : (length 0)
            AsPathLen: 0  AsNum: 0, SegmentNum: 0, Neighboring As: 0, Source As 0
            Address: 0xd777a553  Hash:3731 (0x1000000)
            Links: 0x0, 0x0
            Reference Counts: 1:0:1, Magic: 2
           
  2. Enter the show ip bgp evpn neighbors command to display configuration information and statistics for BGP EVPN neighbors.
    device> show ip bgp evpn neighbors
    
        Total number of BGP Neighbors:1
    1   IP Address: 1.1.1.11, AS: 1000 (IBGP), RouterID: 1.1.1.11, VRF: default-vrf
        State: ESTABLISHED, Time: 0h2m30s, KeepAliveTime: 60, HoldTime: 180
           KeepAliveTimer Expire in 3 seconds, HoldTimer Expire in 140 seconds
        Minimal Route Advertisement Interval: 0 seconds
           UpdateSource: Loopback 1
           RefreshCapability: Received
        Address Family : L2VPN EVPN
           SendCommunity: yes
           SendExtenedCommunity: yes
        Messages:    Open    Update  KeepAlive Notification Refresh-Req
           Sent    : 1       2       3         0            0
           Received: 1       12      3         0            0
        Last Update Time: NLRI       Withdraw          NLRI       Withdraw
                      Tx: 0h2m30s    ---           Rx: 0h2m30s    ---
        Last Connection Reset Reason:Unknown
        Notification Sent:     Unspecified
        Notification Received: Unspecified
        Neighbor NLRI Negotiation:
          Peer Negotiated IPV4  unicast  capability
          Peer Negotiated L2VPN EVPN address family
          Peer configured for IPV4 unicast  Routes
          Peer configured for L2VPN EVPN address family
        Neighbor AS4 Capability Negotiation:
        Outbound Policy Group:
           ID: 2, Use Count: 1
        TCP Connection state: ESTABLISHED
         Maximum segment size: 1436
        TTL check: value: 0
           Byte Sent:   322, Received: 1394
           Local host:  1.1.1.8, Local  Port: 179
           Remote host: 1.1.1.11, Remote Port: 8107
           ISentSeq:   44010496  SendNext:   44010819  TotUnAck:          0
           TotSent:         323  ReTrans:           0  UnAckSeq:   44010819
           IRcvSeq:  1849175076  RcvNext:  1849176471  SendWnd:       16384
           TotalRcv:       1395  DupliRcv:          0  RcvWnd:        16384
           SendQue:           0  RcvQue:            0  CngstWnd:       1436
     
  3. Enter the show ip bgp evpn routes command to display information for the routes in the BGP route table for the L2VPN EVPN address family.
    device> show ip bgp evpn routes
    
    Total number of BGP EVPN Routes: 5 (R: 3, L: 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
           Prefix             Next Hop        MED        LocPrf     Weight Status
    Route Distinguisher: 2.2.2.8:30
    1      [3]:[0]:[32]:[2.2.2.8]/72
                              2.2.2.8         0          100        0      BL
             AS_PATH: Not Applicable
    2      [3]:[0]:[32]:[2.2.2.11]/72
                              2.2.2.11        0          100        0      BI
             AS_PATH: Not Applicable
    Route Distinguisher: 2.2.2.8:31
    3      [2]:[0]:[48]:[0001.0001.0001]/128
                              2.2.2.11        0          100        0      BI
             AS_PATH: Not Applicable
    4      [3]:[0]:[32]:[2.2.2.8]/72
                              2.2.2.8         0          100        0      BL
             AS_PATH: Not Applicable
    5      [3]:[0]:[32]:[2.2.2.11]/72
                              2.2.2.11        0          100        0      BI
             AS_PATH: Not Applicable
    
  4. Enter the show ip bgp evpn routes mac command to display BGP EVPN information for MAC routes.
    device> show ip bgp evpn routes mac
    
    Searching for matching routes, use ^C to quit...
    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: 2.2.2.8:31
    1      [2]:[0]:[48]:[0001.0001.0001]/128
                              2.2.2.11        0          100        0      BI
             AS_PATH: Not Applicable
    
  5. Enter the show ip bgp evpn routes imet command to display BGP EVPN information for P-Multicast Service Interface Tunnel (PMSI Tunnel) tunnel path attributes associated with a route.
    device> show ip bgp evpn routes imet
    
    Searching for matching routes, use ^C to quit...
    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: 2.2.2.8:30
    1      [3]:[0]:[32]:[2.2.2.8]/72
                              2.2.2.8         0          100        0      BL
             AS_PATH: Not Applicable
    2      [3]:[0]:[32]:[2.2.2.11]/72
                              2.2.2.11        0          100        0      BI
             AS_PATH: Not Applicable
    Route Distinguisher: 2.2.2.8:31
    3      [3]:[0]:[32]:[2.2.2.8]/72
                              2.2.2.8         0          100        0      BL
             AS_PATH: Not Applicable
    4      [3]:[0]:[32]:[2.2.2.11]/72
                              2.2.2.11        0          100        0      BI
             AS_PATH: Not Applicable
    
  6. Enter the show ip bgp evpn routes detail command to display detailed information for the routes in the BGP route table for the L2VPN EVPN address family.
    device> show ip bgp evpn routes detail
    
    Total number of BGP EVPN Routes: 5 (R: 3, L: 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: 2.2.2.8:30
    1       Prefix: [3]:[0]:[32]:[2.2.2.8]/72,  Status: BL,  Age: 18h12m30s
             NEXT_HOP: 2.2.2.8, Learned from Peer: Local Router
              LOCAL_PREF: 100,  MED: 0,  ORIGIN: igp,  Weight: 0
                      AS_PATH: Not Applicable
               PMSI Tunnel Type: Ingress-Replication, L2VNI: 10030, Endpoint: 2.2.2.8
                Extended Community: RT 1000:30 Bgp-Encap: Tunnel-Type: 8
                Adj_RIB_out count: 1,  Admin distance 1
    2       Prefix: [3]:[0]:[32]:[2.2.2.11]/72,  Status: BI,  Age: 18h11m14s
             NEXT_HOP: 2.2.2.11, Learned from Peer: 1.1.1.11 (1000)
              LOCAL_PREF: 100,  MED: 0,  ORIGIN: igp,  Weight: 0
                      AS_PATH: Not Applicable
               PMSI Tunnel Type: Ingress-Replication, L2VNI: 10030, Endpoint: 2.2.2.11
                Extended Community: RT 1000:30 Bgp-Encap: Tunnel-Type: 8
    Route Distinguisher: 2.2.2.8:31
    3       Prefix: [2]:[0]:[48]:[0001.0001.0001]/128,  Status: BI,  Age: 18h11m14s
             NEXT_HOP: 2.2.2.11, Learned from Peer: 1.1.1.11 (1000)
              LOCAL_PREF: 100,  MED: 0,  ORIGIN: igp,  Weight: 0
                      AS_PATH: Not Applicable
               L2VNI: 10031
                Extended Community: RT 1000:31 Bgp-Encap: Tunnel-Type: 8 MAC-Mobility: Static-flag: 1 Seq-no: 0
    4       Prefix: [3]:[0]:[32]:[2.2.2.8]/72,  Status: BL,  Age: 18h12m30s
             NEXT_HOP: 2.2.2.8, Learned from Peer: Local Router
              LOCAL_PREF: 100,  MED: 0,  ORIGIN: igp,  Weight: 0
                      AS_PATH: Not Applicable
               PMSI Tunnel Type: Ingress-Replication, L2VNI: 10031, Endpoint: 2.2.2.8
                Extended Community: RT 1000:31 Bgp-Encap: Tunnel-Type: 8
                Adj_RIB_out count: 1,  Admin distance 1
    5       Prefix: [3]:[0]:[32]:[2.2.2.11]/72,  Status: BI,  Age: 18h11m14s
             NEXT_HOP: 2.2.2.11, Learned from Peer: 1.1.1.11 (1000)
              LOCAL_PREF: 100,  MED: 0,  ORIGIN: igp,  Weight: 0
                      AS_PATH: Not Applicable
               PMSI Tunnel Type: Ingress-Replication, L2VNI: 10031, Endpoint: 2.2.2.11
                Extended Community: RT 1000:31 Bgp-Encap: Tunnel-Type: 
    
  7. Enter the show ip bgp evpn summary command to display summarized information for the L2VPN EVPN address family.
    device> show ip bgp evpn summary
      BGP Summary
      Router ID: 1.1.1.8   Local AS Number: 1000
      Confederation Identifier: not configured
      Confederation Peers:
      Maximum Number of IP ECMP Paths Supported for Load Sharing: 1
      Number of Neighbors Configured: 1, UP: 1
      Number of Routes Installed: 17, Uses 2210 bytes
      Number of Routes Advertising to All Neighbors: 2 (2 entries), Uses 192 bytes
      Number of Attribute Entries Installed: 14, Uses 1386 bytes
      Neighbor Address  AS#         State   Time          Rt:Accepted Filtered Sent     ToSend
      1.1.1.11          1000        ESTAB   0h16m37s      15          0        2        0
    
     
  8. Enter the show l2vpn evpn evi all command to display information for all Layer 2 EVPN instances (EVIs).
    device> show l2vpn evpn evi all
    Total number of Evpn Instances: 1
    EVI         State  VNI       Vlan  Tunnel-Ip        RT-export        RT-import        RD
    100         UP     1000      10    1.1.1.1          10000:1000       10000:1000       1.1.1.1:10
    200         UP     2000      20    1.1.1.1          10000:2000       10000:2000       1.1.1.1:20
  9. Enter the show l2vpn evpn evi command, and specify an EVI, to display information for the specified EVI.
    device> show l2vpn evpn evi 100  
         
    RD               : 159.159.159.159:100(auto)
    RT import list   : 100:100 
    RT export        : 100:100
    Service model    : vlan-based 
    State            : UP
    Replication Type : Ingress-replication
    Encapsulation    :  
    ARP suppression  : Yes
    Unknown unicast suppress: No
    Overlay          : loopback 
    L2 VNI           : 100
    L3 VNI           : None
    Tunnel Ip        : 159.159.159.159
    Mac move limit   : 5
    Mac move expiry  : 180
    MAC re-advertise : No
  10. Enter the show l2vpn evpn evi command with the detail keyword, and specify an EVI, to display detailed information for the EVI.
    device> show l2vpn evpn evi 100 detail 
    RD               : 159.159.159.159:100(auto)
    RT import list   : 100:100 
    RT export        : 100:100
    Service model    : vlan-based 
    State            : UP
    BGP              : Advertised
    Replication Type : Ingress-replication
    BUM Protocol     : BGP
    Encapsulation    :  
    ARP suppression  : Yes
    Unknown unicast suppress: No
    Overlay          : loopback 
    Tunnel Ip        : 159.159.159.159
    Mac move limit   : 5
    Mac move expiry  : 180
    MAC re-advertise : No
    Debug info flag  : Off 
    Debug itc flag   : Off 
    Debug trace flag : Off 
    Debug error flag : Off 
    L2 VNI           : 100
    L3 VNI           : None
    VRF              : Tenant VRF
    
  11. Enter the show l2vpn evpn mac-ip-table vlan command, and specify a VLAN, to display information for an EVPN MAC IP table for the VLAN.
    device> show l2vpn evpn mac-ip-table vlan 10
    
    No.   IP Address         MAC Address    Flags     Port              VLAN
    1     192.168.10.100     d4c1.9e17.8d27 DL        e 1/1/1            10    
    2     192.168.10.200     d4c1.9e17.91f7 DR        VxL-200.1.1.1      10  
    Flags: D (Dynamic) S (Static) L(Local) R(Remote) Ad(Advertised)