Celestica Documentation Portal

Find your product documents here

Show bgp l2vpn evpn neighbors routes

Displays the routes learned from a given neighbor.

Syntaxshow bgp l2vpn evpn neighbors <neighbor-ip> routes [json]
Command modeEXEC
Parameters
  • neighbor-ip – Neighbor-IP could be IPv4 (A.B.C.D) or IPv6 (A::B) address.

  • json – To get output in JavaScript Object Notation.

UsageUse json option to get output in json format.
Supported Releases 1.1.0 or later
Click commandNone
Example
sonic# show bgp l2vpn evpn neighbors 30.1.1.2 routes
BGP table version is 1, 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
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 1 out of 5 total prefixes

sonic#