Versions Compared

Key

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

...





Code Block
titleshow commands
11a- BGPeBGP summary
---------------
show BGP summary
show route protocol bgp table <inet.0> receive-protocol bgp <10.1.13.1>

>> Check for SPINE loopbacks 
>> Check eBGP routes learnt  inet.0: x/x/x/x
[Optional: iBGP routes learnt]

2
1b- VxLANiBGP tunnelssummary
----------------
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
bgp summary
show route protocol bgp receive-protocol bgp <10.255.0.1> table <bgp.evpn.0> <detail or extensive>

>> check loopback lo0@ 
>>> Check BGP family:   bgp.rtarget + bgp.evpn.0

>>> services/table:  default-switch.evpn.0  + __default_evpn__.evpn.0

2- VxLAN tunnels and VTEP interfaces:
-------------------------------------
show routeinterface forwarding-tablevtep destination <SPINE[ loopback>extensive ]
show 6ethernet- Mac address learnt:
----switching vxlan-tunnel-end-point remote
>>> should be two VxLAN tunnels
>>> VNID


3a- Routing table and BGP route
-------------------------------
3a- show evpn databaseroute <SPINE loopback>
3b- show route <SPINE evpnloopback> databaseextensive
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>> take note of the NH ( example "> to 10.1.23.1 via xe-0/0/1.0" )


3b- EVPN routes:
--------------------------
show route advertising-protocol bgp 10.255.0.1
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 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<mac address>


4- EVPN routes, 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

5- 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


6- VLANS:
---------
show vlans <bd-7>
show vlans bd-7 extensive



7- Forwarding table: ??????????
---------------------
show route forwarding-table destination <SPINE loopback>


8- Mac Table :
--------------
show ethernet-switching table vlan-name <bd-7>
show ethernet-switching table vlan-id <100>





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> show route table bgp.evpn.0 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


{master:0}
jcluser@Leaf1> show route table bgp.evpn.0 evpn-mac-address 00:50:56:a2:19:ee extensive

bgp.evpn.0: 16 destinations, 30 routes (16 active, 0 holddown, 0 hidden)
2:10.255.0.23:7999::109::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:50:56:a2:19:ee/304 MAC/IP (1 entry, 1 announced)
TSI:
RTF { 64512:8000009/64 }
Page 0 idx 0, (group _contrail_asn-64512 type Internal) Type 1 val 0xb14fb54 (adv_entry)
   Advertised metrics:
     Nexthop: 10.255.0.4:7999::10::00:50:56:a2:a1:17::192.168.200.10/304 MAC/IP
53
     Localpref: 100
     AS path: [64512] I
     Communities: target:64512:8000009 encapsulation:vxlan(0x8)
Path 2:10.255.0.13:7999::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-IP00:50:56:a2:19:ee Vector len 4.  Val: 0
        *EVPN   Preference: 170
                Next hop type: Indirect, Next hop index: 0
                Address: 0xb4d8030
                Next-hop reference count: 6
                Protocol next hop: 10.255.0.3
                Indirect next hop: 0x0 - INH Session ID: 0x0
                State: <Secondary Active Int Ext>
                Age: 6:07:39
                Validation State: unverified
                Task: default-switch-evpn
                Announcement bits (2): 1-BGP Route Target 2-BGP_RT_Background
                AS path: I
                Communities: target:64512:8000009 encapsulation:vxlan(0x8)
                Route Label: 9
                ESI: 00:00:00:00:00:00:00:00:00:00
                Primary Routing Table default-switch.evpn.0

{master:0}
jcluser@Leaf1>
>>> VNID / Route Label
>>> default-switch
>>> NH: Leaf1
>>> extended community
>>> ESI = 0  >>>> no dual homing


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:                   IFL   L3-Idx <default>2       6
    MAC+IP advertisements:    0   10.255.0.3       lo0.0    0  RVTEP-IP4       5
 IFL-Idx   NH-IdDefault  10.255.0.1 gateway MAC advertisements:      570 4      1759 0
  Number VNIDof local interfaces: 1 (1 up)
    MC-Group-IPInterface name  ESI  9             0.0.0.0  RVTEP-IP         IFL-Idx  Mode NH-Id  10.255.0.2       571   Status    1762 AC-Role
   VNID .local..5       00:00:00:00:00:00:00:00:00:00  MCsingle-Group-IPhomed     9Up         Root
   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/IPNumber of IRB interfaces: 2 (2 up)
    Interface name  VLAN   VNI    Status  L3 context
    irb.10                 10      Up       *[EVPN/170] 03:53:36
 __contrail_bms_lr_e0e87a45-ec87-4c66-9e5f-1a886a8aa50c
    irb.9                  9   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      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 Local IM Remoteroute label  SG sync MAC advertisements:IM core nexthop
    8191  9              20    0   6  irb.9   MAC+IP advertisements:  Extended         Enabled   9      4       5  Enabled   Default131074
gateway MAC advertisements:  8191  10   4       0   Number0 of local interfaces: 10 (1 up)   irb.10  Interface name  ESIExtended         Enabled   10              Enabled  Mode 131075
  Number of neighbors: 3
    Address Status     AC-Role     .local..5    MAC   00:00:00:00:00:00:00:00:00:00  single-homed MAC+IP      Up  AD       Root IM  Number of IRB interfaces: 2 (2 up)ES Leaf-label
   Interface name 10.255.0.2  VLAN   VNI    Status  L3 context  4   irb.10      4         2  10      Up 2    __contrail_bms_lr_e0e87a45-ec87-4c66-9e5f-1a886a8aa50c     irb.90
    10.255.0.3             9 1      Up   0  __contrail_bms_lr_e0e87a45-ec87-4c66-9e5f-1a886a8aa50c   Number of protect interfaces: 0   Number of bridge domains: 2  1   VLAN  Domain ID   Intfs0
/ up   10.255.0.4 IRB intf   Mode         1    MAC sync  IM route label1  SG sync  IM core nexthop  0   8191  9     1         0
  Number 0of ethernet segments: 2
 irb.9      ExtendedESI: 05:00:00:fc:00:00:00:00:09:00
      Local  Enabled   9  interface: irb.9, Status: Up/Forwarding
      Number of remote PEs connected: 1
Enabled   131074     8191Remote PE 10       MAC label  Aliasing label  0Mode
   0     irb.1010.255.0.2     Extended  9       Enabled   100              Enabled all-active
 131075   Number of neighbors: 3ESI: 05:00:00:fc:00:00:00:00:0a:00
     Address Local interface: irb.10, Status: Up/Forwarding
      Number of remote MACPEs connected: 1
 MAC+IP       Remote ADPE        IMMAC label  Aliasing label  Mode
  ES Leaf-label     10.255.0.2       10       4  0       4        all-active
2  Router-ID: 10.255.0.1

{master:0}
jcluser@Spine1>


2{master:0}
jcluser@Leaf1> show  evpn instance default-switch extensive
Instance: 0default-switch
  Route Distinguisher: 10.255.0.3:7999
  Encapsulation type: VXLAN
  Duplicate MAC detection threshold: 5
  Duplicate 1MAC detection window: 180
  MAC database status  0          0         1Local  Remote
    MAC advertisements: 0     10.255.0.4              1   1      1 4
    MAC+IP advertisements:  0         1         0   Number   of ethernet3
segments: 2   Default gateway ESI: 05:00:00:fc:00:00:00:00:09:00MAC advertisements:       Local0 interface: irb.9, Status: Up/Forwarding    0
  Number of remotelocal PEs connectedinterfaces: 13 (3 up)
    Interface name Remote PE   ESI     MAC label  Aliasing label  Mode         10.255.0.2       9 Mode         0    Status     AC-Role
     all-active.local..5      ESI: 0500:00:00:fc00:00:00:00:00:0a00:00  single-homed     Local interface: irb.10, Status: Up/Forwarding       Number of remoteRoot
PEs connected: 1
        Remote PE        MAC label  Aliasing label  Mode
        10.255.0.2    xe-0/0/2.0      00:00:00:00:00:00:00:00:00:00  single-homed     Up     10    Root
    xe-0/0/3.0      00:00:00:00:00:00:00:00:00:00  single-homed     Up  all-active   Router-ID: 10.255.0.1  {master:0} jcluser@Spine1>Root
  {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 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  LocalSG sync Remote IM core nexthop
 MAC advertisements:  100   9              1    1       4        MAC+IP advertisements:Extended         Enabled   9        0       3Enabled   131075
 Default gatewayNumber MACof advertisementsneighbors: 2
    Address 0        0   Number of local interfaces:MAC 3 (3 up) MAC+IP    Interface name  ESI AD        IM        ES Leaf-label
    10.255.0.1     Mode         2    Status     AC-Role2     .local..5    2   00:00:00:00:00:00:00:00:00:00  single-homed    1 Up        0
Root     xe-0/0/2.0      00:00:00:00:00:00:00:00:00:00  single-homed10.255.0.2              Up2         Root2     xe-0/0/3.0    2  00:00:00:00:00:00:00:00:00:00  single-homed     Up1         Root0
  Number of IRBethernet interfacessegments: 2
0 (0 up)   Number of protect interfaces: 0ESI: 05:00:00:fc:00:00:00:00:09:00
   Number of bridge domainsStatus: 1Resolved
    VLAN  DomainNumber IDof remote PEs Intfsconnected: /2
up    IRB intf   ModeRemote PE        MAC label  Aliasing MAClabel sync Mode
IM route label  SG sync  IM core nexthop 10.255.0.1      100 9  9        0      1    1     all-active
        10.255.0.2  Extended     9    Enabled   9   0            Enabled   131075all-active
  Number of neighborsESI: 205:00:00:fc:00:00:00:00:0a:00
    Address  Status: Resolved
      Number of remote PEs connected: MAC2
   MAC+IP     Remote PE  AD      MAC label IM Aliasing label   Mode
  ES Leaf-label     10.255.0.1              21       0  2        0 2         1     all-active
   0     10.255.0.2       0       2   0      2         2all-active
  Router-ID: 10.255.0.3

{master:0}
  1         0
  Number of ethernet segments: 2
    ESI:jcluser@Leaf1>


esi received from Spine ( CRB )


Code Block
titleESI
{master:0}
jcluser@Leaf1> show route receive-protocol bgp 10.255.0.1 evpn-esi-value 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
09:00 active-path

inet.0: 17 destinations, 27 routes (17 active, 0 holddown, 0 hidden)

:vxlan.inet.0: 13 destinations, 13 routes (13 active, 0 holddown, 0 hidden)

inet6.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)

bgp.rtarget.0: 9 destinations, 21 routes (9 active, 0 holddown, 0 hidden)

bgp.evpn.0: 16 destinations, 30 routes (16 active, 0 holddown, 0 hidden)
  Prefix              
10.255.0.1
    Nexthop   
9
          
0
 MED     Lclpref    AS path
  
all-active
1:10.255.0.1:0::050000fc000000000900::FFFF:FFFF/192 AD/ESI
*        
10.255.0.2
       
9
          10.255.0.1              
all-active
     
ESI: 05:00:00:fc:00:00:00:00:0a:00
100        
Status:
I
Resolved Number of remote PEs connected: 2

default-switch.evpn.0: 16 destinations, 30 routes (16 active, 0 holddown, 0 hidden)
  Prefix       
Remote
 
PE
        
MAC
 
label
 Nexthop 
Aliasing
 
label
  
Mode
         
10.255.0.1
 MED     Lclpref 
0
   AS path
  1:10.255.0.1:0::050000fc000000000900::FFFF:FFFF/192 AD/ESI
* 
0
               
all-active
         10.255.0.
2
1       
0
          
0
  100        I

default-switch.evpn-mcsn.1: 1 
all-active Router-ID: 10.255.0.3
destinations, 1 routes (1 active, 0 holddown, 0 hidden)

{master:0}
jcluser@Leaf1>

───────────────────────────────────────────────────────