Cisco IOS-XE
show ip bgp summary
show ip bgp vpnv4 unicast summary
Arista EOS
show bgp summary
show bgp ipv4 unicast summary
State column shows Idle/Active/Connect instead of a prefix count → session is not established.
Cisco IOS-XE
show ip bgp neighbors
Arista EOS
show bgp neighbors
- Remote AS, Local AS, Router ID
- Hold timer / Keepalive timer
- Negotiated capabilities
- Time since established
⇄
Advertised / Received Routes
Cisco IOS-XE
show ip bgp neighbors x.x.x.x advertised-routes
show ip bgp neighbors x.x.x.x received-routes
Received-routes needs soft-reconfiguration inbound, or use routes on Arista instead.
Cisco IOS-XE
show ip bgp
show ip bgp 10.20.30.0/24
Arista EOS
show bgp ipv4 unicast
show bgp ipv4 unicast 10.20.30.0/24
Prefix lookup returns next-hop, AS path, local-pref, MED, and origin for that route.
Cisco IOS-XE
show ip route
show ip cef x.x.x.x
Arista EOS
show ip route 10.20.30.0
Cisco IOS-XE
clear ip bgp x.x.x.x soft in
clear ip bgp x.x.x.x soft out
clear ip bgp x.x.x.x
Arista EOS
clear bgp neighbor x.x.x.x soft in | out
⚠ hard clear (no soft) tears the session down
- ping x.x.x.x
- traceroute x.x.x.x
- telnet x.x.x.x 179 / nc -zv x.x.x.x 179
- show bfd neighbors / show bfd peers
- debug ip bgp (Cisco, use sparingly)
- debug bgp tcp transactions
- Prefix filter: ip prefix-list PL-IN permit 10.10.10.0/24
- Apply: neighbor 192.168.1.2 prefix-list PL-IN in
- Route-map: neighbor 192.168.1.2 route-map LOCALPREF in
Cisco / Arista
router bgp 65001
neighbor 192.168.1.2 remote-as 65002
Cisco
address-family ipv4
neighbor 192.168.1.2 activate
Arista: IPv4 unicast is enabled by default under most configs.
Cisco / Arista
network 10.10.10.0 mask 255.255.255.0
network 10.10.10.0/24
First form = Cisco classic syntax, second = Arista / modern syntax.
neighbor 192.168.1.2 update-source Loopback0
Required for multihop/loopback peering so the source IP matches.
neighbor 192.168.1.2 timers 10 30
Default keepalive = 60s, hold = 180s. Format: keepalive hold.
neighbor 192.168.1.2 ebgp-multihop 2
Needed when eBGP peers aren't directly connected (e.g. loopback peering).
neighbor 192.168.1.2 password MyPassword
MD5 auth on the TCP session — must match exactly on both peers.
Cisco
neighbor 192.168.1.2 fall-over bfd
Arista
neighbor 192.168.1.2 bfd
neighbor 192.168.1.2 send-community
Add extended or both for extended/standard communities.
neighbor 192.168.1.2 maximum-prefix 1000
Session drops (or warns) past the limit — set with a safety margin.
neighbor 192.168.1.2 remove-private-as
Strips private ASNs (64512–65534) before advertising outbound.
neighbor 192.168.1.2 default-originate
Injects a 0.0.0.0/0 toward the peer regardless of local table.
route-map LOCALPREF permit 10
set local-preference 200
neighbor 192.168.1.2 route-map LOCALPREF in
route-map PREPEND permit 10
set as-path prepend 65001 65001 65001
neighbor 192.168.1.2 route-map PREPEND out
set community 65001:100
neighbor 192.168.1.2 weight 500
Weight is Cisco-only, locally significant, default 32768 for locally-originated routes.