Skip to content

Instantly share code, notes, and snippets.

@Alxandr
Last active June 19, 2025 18:49
Show Gist options
  • Select an option

  • Save Alxandr/a505f66f1d5b0f9fadcb1499ccb2f51e to your computer and use it in GitHub Desktop.

Select an option

Save Alxandr/a505f66f1d5b0f9fadcb1499ccb2f51e to your computer and use it in GitHub Desktop.
! BGP
router bgp 65002
no bgp default ipv4-unicast
bgp router-id 192.168.30.1
bgp fast-convergence
!
! Peer group for Talos nodes
neighbor talos peer-group
neighbor talos remote-as 65001
neighbor talos soft-reconfiguration inbound
!
! Neighbors for Talos nodes
neighbor 192.168.30.61 peer-group talos
neighbor 192.168.30.71 peer-group talos
neighbor 192.168.30.72 peer-group talos
neighbor 192.168.30.73 peer-group talos
neighbor 192.168.30.74 peer-group talos
neighbor 192.168.30.75 peer-group talos
!
! Peer group for NAS
neighbor nas peer-group
neighbor nas remote-as 65019
neighbor nas soft-reconfiguration inbound
!
! Neighbors for NAS
neighbor 192.168.20.10 peer-group nas
address-family ipv4 unicast
! redistribute connected
! redistribute static
!
neighbor talos activate
! neighbor talos route-map ALLOW-ALL in
! neighbor talos route-map ALLOW-ALL out
! neighbor talos next-hop-self
!
neighbor nas activate
neighbor nas route-map ALLOW-ALL in
neighbor nas route-map ALLOW-ALL out
exit-address-family
!
route-map ALLOW-ALL permit 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment