BGP AS-Path & Community Policy Checklist

Cisco IOS-XE · FRRouting

When managing multi-homed edge prefixes, deterministic outbound selection relies on clean local-preference tiers combined with RPKI origin validation.

IOS-XE Route-Map Template

ip bgp-community new-format
route-map TRANSIT-OUT permit 10
 match ip address prefix-list ANNOUNCE-V4
 set community 65010:200 additive
!
router bgp 65010
 bgp log-neighbor-changes
 neighbor 198.51.100.1 remote-as 2914
 neighbor 198.51.100.1 description UPSTREAM-TRANSIT
 address-family ipv4 unicast
  neighbor 198.51.100.1 prefix-list BOGON-IN in
  neighbor 198.51.100.1 route-map TRANSIT-OUT out
 exit-address-family

Operational Notes

Avoid excessive AS-path prepending beyond 3x unless paired with upstream selective-prepend communities; otherwise distant peers still prefer shorter congested transit paths.