/
CRB explaination

CRB explaination





Leaf
find a learn Mac@

show vlans bd-9
show vlans bd-9 extensive
show ethernet-switching table vlan-name bd-9

vlans
{master:0}
jcluser@Leaf1> show vlans bd-9

Routing instance        VLAN name             Tag          Interfaces
default-switch          bd-9                  100
                                                           esi.1760*
                                                           vtep.32769*
                                                           vtep.32770*
                                                           xe-0/0/3.0*

{master:0}
jcluser@Leaf1> show vlans bd-9 extensive

Routing instance: default-switch
VLAN Name: bd-9                           State: Active
Tag: 100
Internal index: 4, Generation Index: 4, Origin: Static
MAC aging time: 1800 seconds
VXLAN Enabled : Yes
Interfaces:
    esi.1760*,tagged,trunk
    vtep.32769*,tagged,trunk
    vtep.32770*,tagged,trunk
    xe-0/0/3.0*,untagged,trunk
Number of interfaces: Tagged 3    , Untagged 1
Total MAC count: 4

vlans
{master:0}
jcluser@Leaf1> show ethernet-switching table vlan-name bd-9

MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static
           SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC)


Ethernet switching table : 4 entries, 4 learned
Routing instance : default-switch
   Vlan                MAC                 MAC      Logical                Active
   name                address             flags    interface              source
   bd-9                00:00:5e:01:00:01   DR       esi.1760               05:00:00:fc:00:00:00:00:09:00
   bd-9                00:50:56:a2:19:ee   D        xe-0/0/3.0
   bd-9                02:05:86:71:36:00   D        vtep.32769             10.255.0.1
   bd-9                02:05:86:71:85:00   D        vtep.32770             10.255.0.2

advertise: 00:50:56:a2:19:ee

show route table default-switch.evpn.0 evpn-mac-address 00:50:56:a2:19:ee extensive
show route table bgp.evpn.0 evpn-mac-address 00:50:56:a2:19:ee extensive

Primary Routing Table default-switch.evpn.0

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

default-switch.evpn.0: 16 destinations, 30 routes (16 active, 0 holddown, 0 hidden)
2:10.255.0.3:7999::9::00:50:56:a2:19:ee/304 MAC/IP (1 entry, 1 announced)
        *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: <Active Int Ext>
                Age: 1d 2:19:51
                Validation State: unverified
                Task: default-switch-evpn
                Announcement bits (1): 1-rt-export
                AS path: I
                Communities: encapsulation:vxlan(0x8)
                Route Label: 9
                ESI: 00:00:00:00:00:00:00:00:00:00

{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.3:7999::9::00: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.3
     Localpref: 100
     AS path: [64512] I
     Communities: target:64512:8000009 encapsulation:vxlan(0x8)
Path 2:10.255.0.3:7999::9::00: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: 1d 2:20:50
                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



Spine

mac address
{master:0}
jcluser@Spine1> show ethernet-switching table vlan-name bd-9

MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static
           SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC)


Ethernet switching table : 3 entries, 3 learned
Routing instance : default-switch
   Vlan                MAC                 MAC      Logical                Active
   name                address             flags    interface              source
   bd-9                00:00:5e:01:00:01   DR       esi.1770               05:00:00:fc:00:00:00:00:09:00
   bd-9                00:50:56:a2:19:ee   D        vtep.32770             10.255.0.3
   bd-9                02:05:86:71:85:00   D        vtep.32769             10.255.0.2

{master:0}
jcluser@Spine1> show vlans bd-9

Routing instance        VLAN name             Tag          Interfaces
default-switch          bd-9                  none
                                                           esi.1770*
                                                           vtep.32769*
                                                           vtep.32770*

Target table is default-switch

show route table bgp.evpn.0 evpn-mac-address 00:50:56:a2:19:ee extensive

Secondary Tables: default-switch.evpn.0

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

bgp.evpn.0: 35 destinations, 39 routes (35 active, 0 holddown, 0 hidden)
2:10.255.0.3:7999::9::00:50:56:a2:19:ee/304 MAC/IP (2 entries, 1 announced)
TSI:
RTF { 64512:8000009/64 }
Page 0 idx 1, (group _contrail_asn-64512-rr type Internal) Type 1 val 0xcf6fec4 (adv_entry)
   Advertised metrics:
     Nexthop: 10.255.0.3
     Localpref: 100
     AS path: [64512] I
     Communities: target:64512:8000009 encapsulation:vxlan(0x8)
     Cluster ID: 10.255.0.1
     Originator ID: 10.255.0.3
Path 2:10.255.0.3:7999::9::00:50:56:a2:19:ee from 10.255.0.3 Vector len 4.  Val: 1
        *BGP    Preference: 170/-101
                Route Distinguisher: 10.255.0.3:7999
                Next hop type: Indirect, Next hop index: 0
                Address: 0xb4d8b70
                Next-hop reference count: 8
                Source: 10.255.0.3
                Protocol next hop: 10.255.0.3
                Indirect next hop: 0x2 no-forward INH Session ID: 0x0
                State: <Active Int Ext>
                Local AS: 64512 Peer AS: 64512
                Age: 1d 2:23:22         Metric2: 0
                Validation State: unverified
                Task: BGP_64512.10.255.0.3
                Announcement bits (2): 1-BGP Route Target 2-BGP_RT_Background
                AS path: I
                Communities: target:64512:8000009 encapsulation:vxlan(0x8)
                Import Accepted
                Route Label: 9
                ESI: 00:00:00:00:00:00:00:00:00:00
                Localpref: 100
                Router ID: 10.255.0.3
                Secondary Tables: default-switch.evpn.0
                Indirect next hops: 1
                        Protocol next hop: 10.255.0.3
                        Indirect next hop: 0x2 no-forward INH Session ID: 0x0
                        Indirect path forwarding next hops: 1
                                Next hop type: Router
                                Next hop: 10.1.13.2 via xe-0/0/0.0
                                Session Id: 0x0
                                10.255.0.3/32 Originating RIB: inet.0
                                  Node path count: 1
                                  Forwarding nexthops: 1
                                        Nexthop: 10.1.13.2 via xe-0/0/0.0
                                        Session Id: 0
         BGP    Preference: 170/-101
                Route Distinguisher: 10.255.0.3:7999
                Next hop type: Indirect, Next hop index: 0
                Address: 0xb4d8b70
                Next-hop reference count: 8
                Source: 10.255.0.2
                Protocol next hop: 10.255.0.3
                Indirect next hop: 0x2 no-forward INH Session ID: 0x0
                State: <NotBest Int Ext Changed>
                Inactive reason: Not Best in its group - Cluster list length
                Local AS: 64512 Peer AS: 64512
                Age: 1d 2:23:22         Metric2: 0
                Validation State: unverified
                Task: BGP_64512.10.255.0.2
                AS path: I  (Originator)
                Cluster list:  10.255.0.2
                Originator ID: 10.255.0.3
                Communities: target:64512:8000009 encapsulation:vxlan(0x8)
                Import Accepted
                Route Label: 9
                ESI: 00:00:00:00:00:00:00:00:00:00
                Localpref: 100
                Router ID: 10.255.0.2
                Secondary Tables: default-switch.evpn.0
                Indirect next hops: 1
                        Protocol next hop: 10.255.0.3
                        Indirect next hop: 0x2 no-forward INH Session ID: 0x0
                        Indirect path forwarding next hops: 1
                                Next hop type: Router
                                Next hop: 10.1.13.2 via xe-0/0/0.0
                                Session Id: 0x0
                                10.255.0.3/32 Originating RIB: inet.0
                                  Node path count: 1
                                  Forwarding nexthops: 1
                                        Nexthop: 10.1.13.2 via xe-0/0/0.0
                                        Session Id: 0





Related content

show commands
show commands
More like this
show evpn mpls mac-table and bgp l2vpn
show evpn mpls mac-table and bgp l2vpn
More like this
finding a interface based on mac address in a VC or Virtual chassis
finding a interface based on mac address in a VC or Virtual chassis
More like this
Example 1: tagged traffic, same vlan both sides
Example 1: tagged traffic, same vlan both sides
More like this
Troubleshooting EVPN
Troubleshooting EVPN
More like this
bridge-group and BVInterface
bridge-group and BVInterface
More like this