Skip to content

EVPN#

L2 EVPN BGP Commands#

Checking Route Type 3 in the underlay:

A:srl-b# /show network-instance default protocols bgp routes evpn route-type 3 detail
--------------------------------------------------------------------------------------
Show report for the EVPN routes in network-instance  "default"
--------------------------------------------------------------------------------------
Route Distinguisher: 10.1.1.1:111
Tag-ID             : 0
Originating router : 10.1.1.1
neighbor           : 10.1.1.1
Received paths     : 1
  Path 1: <Best,Valid,Used,>
    VNI             : 1
    Route source    : neighbor 10.1.1.1 (last modified 50s ago)
    Route preference: No MED, LocalPref is 100
    Atomic Aggr     : false
    BGP next-hop    : 10.1.1.1
    AS Path         :  i
    Communities     : [target:65000:1, bgp-tunnel-encap:VXLAN]
    RR Attributes   : No Originator-ID, Cluster-List is []
    Aggregation     : None
    Unknown Attr    : None
    Invalid Reason  : None
    Tie Break Reason: none
--------------------------------------------------------------------------------------

Checking Route Type 2 in the underlay:

A:leaf1# show network-instance default protocols bgp routes evpn route-type 2 summary
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Show report for the BGP route table of network-instance "default"
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Status codes: u=used, *=valid, >=best, x=stale
Origin codes: i=IGP, e=EGP, ?=incomplete
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
BGP Router ID: 10.1.1.1      AS: 65000      Local AS: 65000
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Type 2 MAC-IP Advertisement Routes
+--------+-------------------+------------+-------------------+-------------------+-------------------+-------------------+-------------------+--------------------------------+-------------------+
| Status |      Route-       |   Tag-ID   |    MAC-address    |    IP-address     |     neighbor      |     Next-Hop      |        VNI        |              ESI               |   MAC Mobility    |
|        |   distinguisher   |            |                   |                   |                   |                   |                   |                                |                   |
+========+===================+============+===================+===================+===================+===================+===================+================================+===================+
| u*>    | 2.2.2.2:100       | 0          | AA:C1:AB:59:45:7E | 0.0.0.0           | 10.1.1.3          | 10.1.1.2          | 100               | 00:00:00:00:00:00:00:00:00:00  | -                 |
+--------+-------------------+------------+-------------------+-------------------+-------------------+-------------------+-------------------+--------------------------------+-------------------+
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1 MAC-IP Advertisement routes 1 used, 1 valid
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

L2 EVPN MAC Table#

A:leaf1# show network-instance mac-vrf1 bridge-table mac-table all
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Mac-table of network instance mac-vrf1
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+--------------------+-----------------------------------------------+------------+---------------+---------+--------+-----------------------------------------------+
|      Address       |                  Destination                  | Dest Index |     Type      | Active  | Aging  |                  Last Update                  |
+====================+===============================================+============+===============+=========+========+===============================================+
| AA:C1:AB:59:45:7E  | vxlan-interface:vxlan1.100 vtep:10.1.1.2      | 14554970   | evpn          | true    | N/A    | 2023-11-21T20:56:30.000Z                      |
|                    | vni:100                                       |            |               |         |        |                                               |
| AA:C1:AB:BE:95:56  | ethernet-1/2.0                                | 8          | learnt        | true    | 67     | 2023-11-21T20:56:22.000Z                      |
+--------------------+-----------------------------------------------+------------+---------------+---------+--------+-----------------------------------------------+
Total Irb Macs                 :    0 Total    0 Active
Total Static Macs              :    0 Total    0 Active
Total Duplicate Macs           :    0 Total    0 Active
Total Learnt Macs              :    1 Total    1 Active
Total Evpn Macs                :    1 Total    1 Active
Total Evpn static Macs         :    0 Total    0 Active
Total Irb anycast Macs         :    0 Total    0 Active
Total Proxy Antispoof Macs     :    0 Total    0 Active
Total Reserved Macs            :    0 Total    0 Active
Total Eth-cfm Macs             :    0 Total    0 Active

Checking ARP table

A:leaf1# show arpnd arp-entries
+--------------------+--------------------+-----------------+--------------------+--------------------------------------+--------------------------------------------------------------------------+
|     Interface      |    Subinterface    |    Neighbor     |       Origin       |          Link layer address          |                                  Expiry                                  |
+====================+====================+=================+====================+======================================+==========================================================================+
| ethernet-1/1       |                  0 |    192.168.10.2 |            dynamic | 1A:3A:04:FF:00:01                    | 3 hours from now                                                         |
| mgmt0              |                  0 |     172.20.20.1 |            dynamic | 02:42:75:B7:78:A0                    | an hour from now                                                         |
+--------------------+--------------------+-----------------+--------------------+--------------------------------------+--------------------------------------------------------------------------+
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  Total entries : 2 (0 static, 2 dynamic)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

L3 EVPN-VxLAN Asymmetric#

A:leaf1# show network-instance mac-vrf1 bridge-table mac-table all
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Mac-table of network instance mac-vrf1
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+--------------------+--------------------------------------------------------+------------+-----------------+---------+--------+--------------------------------------------------------+
|      Address       |                      Destination                       | Dest Index |      Type       | Active  | Aging  |                      Last Update                       |
+====================+========================================================+============+=================+=========+========+========================================================+
| 00:00:5E:00:01:01  | irb                                                    | 0          | irb-interface-  | true    | N/A    | 2023-11-21T21:21:05.000Z                               |
|                    |                                                        |            | anycast         |         |        |                                                        |
| 1A:08:02:FF:00:42  | irb                                                    | 0          | irb-interface   | true    | N/A    | 2023-11-21T21:15:51.000Z                               |
| 1A:BC:03:FF:00:42  | vxlan-interface:vxlan1.100 vtep:10.1.1.2 vni:100       | 14554970   | evpn-static     | true    | N/A    | 2023-11-21T21:21:31.000Z                               |
| AA:C1:AB:59:45:7E  | vxlan-interface:vxlan1.100 vtep:10.1.1.2 vni:100       | 14554970   | evpn            | true    | N/A    | 2023-11-21T21:24:10.000Z                               |
| AA:C1:AB:BE:95:56  | ethernet-1/2.0                                         | 8          | learnt          | true    | 290    | 2023-11-21T21:24:07.000Z                               |
+--------------------+--------------------------------------------------------+------------+-----------------+---------+--------+--------------------------------------------------------+
Total Irb Macs                 :    1 Total    1 Active
Total Static Macs              :    0 Total    0 Active
Total Duplicate Macs           :    0 Total    0 Active
Total Learnt Macs              :    1 Total    1 Active
Total Evpn Macs                :    1 Total    1 Active
Total Evpn static Macs         :    1 Total    1 Active
Total Irb anycast Macs         :    1 Total    1 Active
Total Proxy Antispoof Macs     :    0 Total    0 Active
Total Reserved Macs            :    0 Total    0 Active
Total Eth-cfm Macs             :    0 Total    0 Active
A:leaf1# show network-instance ip-vrf-1 route-table all
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
IPv4 unicast route table of network instance ip-vrf-1
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+---------------------------------+-------+------------+----------------------+----------------------+----------+---------+--------------------+--------------------+------------------------------+
|             Prefix              |  ID   | Route Type |     Route Owner      |        Active        |  Origin  | Metric  |        Pref        |  Next-hop (Type)   |      Next-hop Interface      |
|                                 |       |            |                      |                      | Network  |         |                    |                    |                              |
|                                 |       |            |                      |                      | Instance |         |                    |                    |                              |
+=================================+=======+============+======================+======================+==========+=========+====================+====================+==============================+
| 172.16.1.0/24                   | 9     | local      | net_inst_mgr         | True                 | ip-vrf-1 | 0       | 0                  | 172.16.1.10        | irb1.10                      |
|                                 |       |            |                      |                      |          |         |                    | (direct)           |                              |
| 172.16.1.10/32                  | 9     | host       | net_inst_mgr         | True                 | ip-vrf-1 | 0       | 0                  | None (extract)     | None                         |
| 172.16.1.255/32                 | 9     | host       | net_inst_mgr         | True                 | ip-vrf-1 | 0       | 0                  | None (broadcast)   |                              |
| 172.17.1.0/24                   | 0     | bgp-evpn   | bgp_evpn_mgr         | True                 | ip-vrf-1 | 0       | 170                | 10.1.1.2/32        |                              |
|                                 |       |            |                      |                      |          |         |                    | (indirect/vxlan)   |                              |
+---------------------------------+-------+------------+----------------------+----------------------+----------+---------+--------------------+--------------------+------------------------------+
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
IPv4 routes total                    : 4
IPv4 prefixes with active routes     : 4
IPv4 prefixes with active ECMP routes: 0
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

L3VPN-VxLAN IFL BGP Commands#

Checking Route Type 5 in the underlay:

A:leaf1# show network-instance default protocols bgp routes evpn route-type 5 summary
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Show report for the BGP route table of network-instance "default"
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Status codes: u=used, *=valid, >=best, x=stale
Origin codes: i=IGP, e=EGP, ?=incomplete
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
BGP Router ID: 10.1.1.1      AS: 65000      Local AS: 65000
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Type 5 IP Prefix Routes
+--------+-----------------------------+------------+---------------------+-----------------------------+-----------------------------+-----------------------------+-----------------------------+
| Status |     Route-distinguisher     |   Tag-ID   |     IP-address      |          neighbor           |          Next-Hop           |             VNI             |           Gateway           |
+========+=============================+============+=====================+=============================+=============================+=============================+=============================+
| u*>    | 2.2.2.2:1000                | 0          | 172.17.1.0/24       | 10.1.1.3                    | 10.1.1.2                    | 1000                        | 0.0.0.0                     |
+--------+-----------------------------+------------+---------------------+-----------------------------+-----------------------------+-----------------------------+-----------------------------+
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1 IP Prefix routes 1 used, 1 valid
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
A:leaf1# show network-instance default protocols bgp routes evpn route-type 5 prefix 172.17.1.0/24 detail
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Show report for the EVPN routes in network-instance  "default"
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Route Distinguisher: 2.2.2.2:1000
Tag-ID             : 0
ip-prefix-len      : 24
ip-prefix          : 172.17.1.0/24
neighbor           : 10.1.1.3
Gateway IP         : 0.0.0.0
Received paths     : 1
  Path 1: <Best,Valid,Used,>
    ESI             : 00:00:00:00:00:00:00:00:00:00
    VNI             : 1000
    Route source    : neighbor 10.1.1.3 (last modified 44m48s ago)
    Route preference: No MED, LocalPref is 100
    Atomic Aggr     : false
    BGP next-hop    : 10.1.1.2
    AS Path         :  i
    Communities     : [target:65000:1000, mac-nh:1a:bc:03:ff:00:00, bgp-tunnel-encap:VXLAN]
    RR Attributes   : Originator-ID 10.1.1.2, Cluster-List is [3.3.3.3]
    Aggregation     : None
    Unknown Attr    : None
    Invalid Reason  : None
    Tie Break Reason: none
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

VxLAN Tunnel Status#

A:leaf1# show network-instance default tunnel-table all
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
IPv4 tunnel table of network-instance "default"
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+---------------------------------+--------+----------------+----------+-----+----------+---------+--------------------------+--------------------+--------------------+
|           IPv4 Prefix           | Encaps |  Tunnel Type   |  Tunnel  | FIB |  Metric  | Prefere |       Last Update        |  Next-hop (Type)   |      Next-hop      |
|                                 |  Type  |                |    ID    |     |          |   nce   |                          |                    |                    |
+=================================+========+================+==========+=====+==========+=========+==========================+====================+====================+
| 10.1.1.2/32                     | vxlan  | vxlan          | 6        | Y   | 0        | 0       | 2023-11-21T21:38:53.479Z | 192.168.10.2       | ethernet-1/1.0     |
|                                 |        |                |          |     |          |         |                          | (direct)           |                    |
+---------------------------------+--------+----------------+----------+-----+----------+---------+--------------------------+--------------------+--------------------+
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1 VXLAN tunnels, 1 active, 0 inactive
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
IPv6 tunnel table of network-instance "default"
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<no_entries>
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

VxLAN Tunnel Statistics#

A:srl-b# info from state /tunnel vxlan-tunnel
    tunnel {
        vxlan-tunnel {
            vtep 10.1.1.1 {
                index 6986915
                last-change "20 minutes ago"
                statistics {
                    in-octets 0
                    in-packets 0
                    in-discarded-packets 0
                    out-octets 0
                    out-packets 0
                    out-discarded-packets 0
                }
            }
            statistics {
                in-octets 0
                in-packets 0
                in-discarded-packets 0
                out-octets 0
                out-packets 0
            }
        }
    }

Comments