Celestica Documentation Portal

Find your product documents here

Show bgp l2vpn evpn route

Displays the BGP EVPN route information.

Syntaxshow bgp l2vpn evpn route [type <route-type> [json]] | [json]
Command modeEXEC
Parameters
  • route-type – Type of the route queried. It can any one of the values among 1 or EAD, 2 or macip, 3 or multicast, 4 or es, 5 or prefix.

  • json – To get output in JavaScript Object Notation.

UsageUse route-type filter to get a specific route type information.
Supported Releases 1.1.0 or later
Click commandNone
Example
sonic# show bgp l2vpn evpn route
BGP table version is 350, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
EVPN type-1 prefix: [1]:[ESI]:[EthTag]:[IPlen]:[VTEP-IP]
EVPN type-2 prefix: [2]:[EthTag]:[MAClen]:[MAC]:[IPlen]:[IP]
EVPN type-3 prefix: [3]:[EthTag]:[IPlen]:[OrigIP]
EVPN type-4 prefix: [4]:[ESI]:[IPlen]:[OrigIP]
EVPN type-5 prefix: [5]:[EthTag]:[IPlen]:[IP]

   Network          Next Hop            Metric LocPrf Weight Path
                    Extended Community
Route Distinguisher: 2.2.2.2:2
*> [2]:[0]:[48]:[00:00:01:10:01:01]
                    2.2.2.2                            32768 i
                    ET:8 RT:65100:100010
*> [2]:[0]:[48]:[00:00:01:10:01:02]
                    2.2.2.2                            32768 i
                    ET:8 RT:65100:100010
*> [3]:[0]:[32]:[2.2.2.2]
                    2.2.2.2                            32768 i
                    ET:8 RT:65100:100010
Route Distinguisher: 2.2.2.2:3
*> [3]:[0]:[32]:[2.2.2.2]
                    2.2.2.2                            32768 i
                    ET:8 RT:65100:100020
Route Distinguisher: 3.3.3.3:2
*>i[3]:[0]:[32]:[3.3.3.3]
                    3.3.3.3                       100      0 i
                    RT:65100:100010 ET:8

Displayed 5 prefixes (5 paths)

sonic#