Celestica Documentation Portal

Find your product documents here

Show bgp l2vpn evpn neighbors advertised-routes

Displays the routes advertised to a given BGP EVPN neighbor.

Syntaxshow bgp l2vpn evpn neighbors <neighbor-ip> advertised-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 advertised-routes
BGP table version is 0, local router ID is 2.2.2.2
Default local pref 100, local AS 65100
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 2.2.2.2:2
*> [2]:[0]:[48]:[00:00:01:10:01:01]
                                  100  32768 i
*> [2]:[0]:[48]:[00:00:01:10:01:02]
                                  100  32768 i
*> [3]:[0]:[32]:[2.2.2.2]
                                  100  32768 i
Route Distinguisher: 2.2.2.2:3
*> [3]:[0]:[32]:[2.2.2.2]
                                  100  32768 i

Total number of prefixes 4

sonic#