Deployment Guide

Default Enabled
Command Mode ROUTER-BGP-NEIGHBOR-AF
Usage Information This command helps detect routing loops, based on the AS path before it starts advertising routes. To configure a
neighbor to accept routes use the neighbor allowas-in command. The no version of this command
disables sender-side loop detection for that neighbor.
Example (IPv4)
OS10(conf-router-bgp-102)# neighbor 3.3.3.1
OS10(conf-router-neighbor)# address-family ipv4 unicast
OS10(conf-router-bgp-neighbor-af)# sender-side-loop-detection
Example (IPv6)
OS10(conf-router-bgp-102)# neighbor 32::1
OS10(conf-router-neighbor)# address-family ipv6 unicast
OS10(conf-router-bgp-neighbor-af)# no sender-side-loop-detection
Supported
Releases
10.3.0E or later
show ip bgp l2vpn evpn
Displays the internal BGP routes in the L2VPN EVPN address family in EVPN instances.
Syntax
show ip bgp l2vpn evpn [summary | neighbors]
Parameters
summary
Display a summary of the BGP routes in the L2VPN address family that exchange with
remote VTEPs.
neighbors
Display the remote VTEPs with whom BGP routes in the L2VPN address family exchange.
Default Not configured
Command mode EXEC
Usage information Use this command to display the BGP routes used for the L2VPN EVPN address family in EVPN instances on the
switch.
Examples
OS10# show ip bgp l2vpn evpn
BGP local RIB : Routes to be Added , Replaced , Withdrawn
BGP local router ID is 110.111.170.102
Status codes: s suppressed, S stale, d dampened, h history, * valid, > best
Path source: I - internal, a - aggregate, c - confed-external,
r - redistributed/network, S - stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf
Weight Path
*>r Route distinguisher: 110.111.170.102:65447
[3]:[0]:[32]:[110.111.170.102]/152 110.111.170.102 0 100
32768 ?
*> Route distinguisher: 110.111.170.107:64536
[3]:[0]:[32]:[110.111.170.107]/152 110.111.170.107 0 100
0 100 101 ?
OS10# show ip bgp l2vpn evpn summary
BGP router identifier 2.2.2.2 local AS number 4294967295
Neighbor AS MsgRcvd MsgSent Up/Down State/Pfx
3.3.3.3 4294967295 2831 9130 05:57:27 504
4.4.4.4 4294967295 2364 9586 05:56:43 504
5.5.5.5 4294967295 4947 8399 01:10:39 11514
6.6.6.6 4294967295 2413 7310 05:51:56 504
OS10# show ip bgp l2vpn evpn neighbors
BGP neighbor is 3.3.3.3, remote AS 4294967295, local AS 4294967295 internal
link
74
BGP EVPN for VXLAN