Example configuration - Cisco IOS


ip prefix-list AS64511 permit 192.0.2.0/24
ipv6 prefix-list AS64511 permit 2001:DB8::/32

ip bgp-community new-format

route-map ROUTESERVER:FIXO-out
set community 61300:61300

route-map PEER:FIXO-in
set local-pref 199

router bgp 64511
 no bgp enforce-first-as
 neighbor 91.198.176.253 remote-as 61300
 neighbor 91.198.176.254 remote-as 61300
 neighbor 2001:7f8:41::1:61:300:1 remote-as 61300
 neighbor 2001:7f8:41::1:61:300:2 remote-as 61300
 address-family ipv4
  neighbor 91.198.176.253 activate
  neighbor 91.198.176.253 soft-reconfiguration inbound
  neighbor 91.198.176.253 route-map ROUTESERVER:FIXO-out out
  neighbor 91.198.176.253 route-map PEER:FIXO-in in
  neighbor 91.198.176.253 prefix-list AS64511 out
  neighbor 91.198.176.254 activate
  neighbor 91.198.176.254 soft-reconfiguration inbound
  neighbor 91.198.176.254 route-map ROUTESERVER:FIXO-out out
  neighbor 91.198.176.254 route-map PEER:FIXO-in in
  neighbor 91.198.176.254 prefix-list AS64511 out
 address-family ipv6
  neighbor 2001:7f8:41::1:61:300:1 activate
  neighbor 2001:7f8:41::1:61:300:1 soft-reconfiguration inbound
  neighbor 2001:7f8:41::1:61:300:1 route-map ROUTESERVER:FIXO-out out
  neighbor 2001:7f8:41::1:61:300:1 route-map PEER:FIXO-in in
  neighbor 2001:7f8:41::1:61:300:1 prefix-list AS64511 out
  neighbor 2001:7f8:41::1:61:300:2 activate
  neighbor 2001:7f8:41::1:61:300:2 soft-reconfiguration inbound
  neighbor 2001:7f8:41::1:61:300:2 route-map ROUTESERVER:FIXO-out out
  neighbor 2001:7f8:41::1:61:300:2 route-map PEER:FIXO-in in
  neighbor 2001:7f8:41::1:61:300:2 prefix-list AS64511 out

Example configuration - Cisco IOS XR


route-policy FIXO-outbound
  
set community (61300:61300)
end-policy

route-policy FIXO-inbound
 set local-preference 199
end-policy

route-policy FIXO-outbound-ipv6
  
set community (61300:61300)
end-policy

route-policy FIXO-inbound-ipv6
 set local-preference 199
end-policy


neighbor-group FIXO-RS
  remote-as 61300
  enforce-first-as disable
  address-family ipv4 unicast
   route-policy fixo-inbound in
   route-policy fixo-outbound out
   next-hop-self
   soft-reconfiguration inbound

neighbor-group FIXO-RS-IPv6
  remote-as 61300
  enforce-first-as disable
  address-family ipv6 unicast
   route-policy fixo-inbound-ipv6 in
   route-policy fixo-outbound-ipv6 out
   next-hop-self
   soft-reconfiguration inbound always


neighbor 91.198.176.253
  use neighbor-group FIXO-RS
  description FIXO Routeserver-1

neighbor 91.198.176.254
  use neighbor-group FIXO-RS
  description FIXO Routeserver-2

neighbor 2001:7f8:41:0:1:61:300:1
  use neighbor-group FIXO-RS-IPv6
  description FIXO Routeserver-1 IPv6

neighbor 2001:7f8:41:0:1:61:300:2
  use neighbor-group FIXO-RS-IPv6
  description FIXO Routeserver-2 IPv6