Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...





Code Block
titleshow commands
1- BGP summary
---------------
show BGP summary
>> Check for SPINE loopbacks 
>> Check eBGP routes learnt  inet.0: x/x/x/x
[Optional: iBGP routes learnt]

2- VxLAN tunnels
----------------
show ethernet-switching vxlan-tunnel-end-point remote
>>> should be two VxLAN tunnels
>>> VNID


3- Routing table and BGP route
-------------------------------
3a- show route <SPINE loopback>
3b- show route <SPINE loopback> extensive
>> take note of the NH ( example "> to 10.1.23.1 via xe-0/0/1.0" )

The format of the EVPN routes is EVPN-route-type:route-distinguisher:vni:mac-address.
show route table bgp.evpn.0 evpn-ethernet-tag-id <vni id> evpn-mac-address <mac address>


5- Forwarding table
---------------------
show route forwarding-table destination <SPINE loopback>


6- Mac address learnt:
----------------------
show evpn database
show evpn database mac-address 00:50:56:a2:54:66
show evpn database mac-address 00:50:56:a2:54:66 extensive

7- MAc@ advertise in BGP:
--------------------------
show route advertising-protocol bgp 10.255.0.1 evpn-mac-address 00:50:56:a2:54:66

show route forwarding-table table VS1 destination


starting point the IP@ of BMS


Code Block
titlefrom BMS's IP@
{master:0}
jcluser@Spine1> show route table bgp.evpn.0 active-path | match 192.168
2:10.255.0.1:7999::9::00:00:5e:01:00:01::192.168.100.1/304 MAC/IP
2:10.255.0.1:7999::9::02:05:86:71:36:00::192.168.100.4/304 MAC/IP
2:10.255.0.1:7999::10::00:00:5e:01:00:01::192.168.200.1/304 MAC/IP
2:10.255.0.1:7999::10::02:05:86:71:36:00::192.168.200.4/304 MAC/IP
2:10.255.0.2:7999::9::00:00:5e:01:00:01::192.168.100.1/304 MAC/IP
2:10.255.0.2:7999::9::02:05:86:71:85:00::192.168.100.5/304 MAC/IP
2:10.255.0.2:7999::10::00:00:5e:01:00:01::192.168.200.1/304 MAC/IP
2:10.255.0.2:7999::10::02:05:86:71:85:00::192.168.200.5/304 MAC/IP
2:10.255.0.4:7999::10::00:50:56:a2:a1:17::192.168.200.10/304 MAC/IP
5:10.255.0.1:9::0::192.168.100.0::24/248
5:10.255.0.1:9::0::192.168.200.0::24/248
5:10.255.0.2:9::0::192.168.100.0::24/248
5:10.255.0.2:9::0::192.168.200.0::24/248


>>> IP@ and Mac@ of the irb on the Spines
>>> IP@ and Mac@ of the VGA interface on both spine
>>> Loopback IP of the spines
>>> RT: IP@:7999


>>> Why this one:
2:10.255.0.4:7999::10::00:50:56:a2:a1:17::192.168.200.10/304 MAC/IP



Code Block
titleCRB, no routing on the Leaf
{master:0}
jcluser@Leaf1> show ethernet-switching mac-learning-log
Mon Jun 29 09:15:42 2020 vlan_name cluster_infra+4001 mac 00:50:56:a2:a7:b0 was learned on xe-0/0/2.0 with flags: 0x2001f
Mon Jun 29 12:34:37 2020 vlan_name bd-9+100 mac 00:00:5e:01:00:01 was learned on esi.1760 with flags: 0x2001f
Mon Jun 29 12:34:37 2020 vlan_name bd-9+100 mac 00:00:5e:01:00:01 was changed on esi.1760 with flags: 0x2001f
Mon Jun 29 12:34:37 2020 vlan_name bd-9+100 mac 02:05:86:71:36:00 was learned on vtep.32769 with flags: 0x2001f
Mon Jun 29 12:34:37 2020 vlan_name bd-9+100 mac 02:05:86:71:85:00 was learned on vtep.32770 with flags: 0x2001f
Mon Jun 29 12:35:45 2020 vlan_name bd-9+100 mac 00:50:56:a2:19:ee was learned on xe-0/0/3.0 with flags: 0x2001f
>>> BMS Mac@:  00:50:56:a2:19:ee


{master:0}
jcluser@Leaf1> show route table bgp.evpn.0 active-path | match 192.168
2:10.255.0.1:7999::9::00:00:5e:01:00:01::192.168.100.1/304 MAC/IP
2:10.255.0.1:7999::9::02:05:86:71:36:00::192.168.100.4/304 MAC/IP
2:10.255.0.2:7999::9::00:00:5e:01:00:01::192.168.100.1/304 MAC/IP
2:10.255.0.2:7999::9::02:05:86:71:85:00::192.168.100.5/304 MAC/IP
>>> IP@ and Mac@ of the irb on the Spines
>>> IP@ and Mac@ of the VGA interface on both spine
>>> Loopback IP of the spines
>>> RT: IP@:7999

{master:0}
jcluser@Leaf1> show ethernet-switching vxlan-tunnel-end-point remote
Logical System Name       Id  SVTEP-IP         IFL   L3-Idx
<default>                 0   10.255.0.3       lo0.0    0
 RVTEP-IP         IFL-Idx   NH-Id
 10.255.0.1       570       1759
    VNID          MC-Group-IP
    9             0.0.0.0
 RVTEP-IP         IFL-Idx   NH-Id
 10.255.0.2       571       1762
    VNID          MC-Group-IP
    9             0.0.0.0
>>> VNID


{master:0}
jcluser@Leaf1> ... evpn-ethernet-tag-id 9 evpn-mac-address 00:50:56:a2:19:ee

bgp.evpn.0: 16 destinations, 30 routes (16 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

2:10.255.0.3:7999::9::00:50:56:a2:19:ee/304 MAC/IP
                   *[EVPN/170] 03:53:36
                      Indirect




on Leaf and Spine

show evpn instance default-switch extensive


Code Block
titledefault-switch
{master:0}
jcluser@Spine1> show evpn instance default-switch extensive
Instance: default-switch
  Route Distinguisher: 10.255.0.1:7999
  Encapsulation type: VXLAN
  Duplicate MAC detection threshold: 5
  Duplicate MAC detection window: 180
  MAC database status                     Local  Remote
    MAC advertisements:                       2       6
    MAC+IP advertisements:                    4       5
    Default gateway MAC advertisements:       4       0
  Number of local interfaces: 1 (1 up)
    Interface name  ESI                            Mode             Status     AC-Role
    .local..5       00:00:00:00:00:00:00:00:00:00  single-homed     Up         Root
  Number of IRB interfaces: 2 (2 up)
    Interface name  VLAN   VNI    Status  L3 context
    irb.10                 10      Up     __contrail_bms_lr_e0e87a45-ec87-4c66-9e5f-1a886a8aa50c
    irb.9                  9       Up     __contrail_bms_lr_e0e87a45-ec87-4c66-9e5f-1a886a8aa50c
  Number of protect interfaces: 0
  Number of bridge domains: 2
    VLAN  Domain ID   Intfs / up    IRB intf   Mode             MAC sync  IM route label  SG sync  IM core nexthop
    8191  9              0    0     irb.9      Extended         Enabled   9               Enabled   131074
    8191  10             0    0     irb.10     Extended         Enabled   10              Enabled   131075
  Number of neighbors: 3
    Address               MAC    MAC+IP        AD        IM        ES Leaf-label
    10.255.0.2              4         4         2         2         0
    10.255.0.3              1         0         0         1         0
    10.255.0.4              1         1         0         1         0
  Number of ethernet segments: 2
    ESI: 05:00:00:fc:00:00:00:00:09:00
      Local interface: irb.9, Status: Up/Forwarding
      Number of remote PEs connected: 1
        Remote PE        MAC label  Aliasing label  Mode
        10.255.0.2       9          0               all-active
    ESI: 05:00:00:fc:00:00:00:00:0a:00
      Local interface: irb.10, Status: Up/Forwarding
      Number of remote PEs connected: 1
        Remote PE        MAC label  Aliasing label  Mode
        10.255.0.2       10         0               all-active
  Router-ID: 10.255.0.1

{master:0}
jcluser@Spine1>


{master:0}
jcluser@Leaf1> show evpn instance default-switch extensive
Instance: default-switch
  Route Distinguisher: 10.255.0.3:7999
  Encapsulation type: VXLAN
  Duplicate MAC detection threshold: 5
  Duplicate MAC detection window: 180
  MAC database status                     Local  Remote
    MAC advertisements:                       1       4
    MAC+IP advertisements:                    0       3
    Default gateway MAC advertisements:       0       0
  Number of local interfaces: 3 (3 up)
    Interface name  ESI                            Mode             Status     AC-Role
    .local..5       00:00:00:00:00:00:00:00:00:00  single-homed     Up         Root
    xe-0/0/2.0      00:00:00:00:00:00:00:00:00:00  single-homed     Up         Root
    xe-0/0/3.0      00:00:00:00:00:00:00:00:00:00  single-homed     Up         Root
  Number of IRB interfaces: 0 (0 up)
  Number of protect interfaces: 0
  Number of bridge domains: 1
    VLAN  Domain ID   Intfs / up    IRB intf   Mode             MAC sync  IM route label  SG sync  IM core nexthop
    100   9              1    1                Extended         Enabled   9               Enabled   131075
  Number of neighbors: 2
    Address               MAC    MAC+IP        AD        IM        ES Leaf-label
    10.255.0.1              2         2         2         1         0
    10.255.0.2              2         2         2         1         0
  Number of ethernet segments: 2
    ESI: 05:00:00:fc:00:00:00:00:09:00
      Status: Resolved
      Number of remote PEs connected: 2
        Remote PE        MAC label  Aliasing label  Mode
        10.255.0.1       9          0               all-active
        10.255.0.2       9          0               all-active
    ESI: 05:00:00:fc:00:00:00:00:0a:00
      Status: Resolved
      Number of remote PEs connected: 2
        Remote PE        MAC label  Aliasing label  Mode
        10.255.0.1       0          0               all-active
        10.255.0.2       0          0               all-active
  Router-ID: 10.255.0.3

{master:0}
jcluser@Leaf1>
───────────────────────────────────────────────────────