question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Peer group support in vrf context

See original GitHub issue

Issue Type

  • Template enhancement
  • Role enhancement
  • Documentation enhancement (avd.sh)

Is your feature request related to a problem? Please describe. I would like to use peer groups for BGP peerings in a VRF.

Describe the solution you’d like An update to the tenant vrf model in eos_designs:

tenants:
  < tenant_a >:
    vrfs:
      < tenant_a_vrf_1 >:
        bgp_peer_groups:
          < peer_group_name >:
            remote_as: < remote ASN >
            description: < description >
            password: < encrypted password >
            send_community: < standard | extended | large | all >
            next_hop_self: < true | false >
            maximum_routes: < 0-4294967294 >
            default_originate:
              always: < true | false >
            update_source: < interface >
            bfd: < true | false >
            address_families:
              <address_family>:
                activate: < true | false >
            ebgp_multihop: < 1-255 >
            # Nodes is required to restrict configuration of BGP peer groups to certain nodes in the network.
            nodes: [ < node_1 >, < node_2> ]
            # Next hop settings can be either ipv4 or ipv6 for one neighbor, this will be applied by a uniquely generated route-map per neighbor.
            # Next hop takes precedence over route_map_out.
            set_ipv4_next_hop: < IPv4_address >
            set_ipv6_next_hop: < IPv6_address >
            route_map_out: < route-map name >
            route_map_in: < route-map name >
            local_as: < local BGP ASN >
        bgp_peers:
          < neighbor >:
            peer_group: < peer_group_name >

Describe alternatives you’ve considered

At the moment I’m using per neighbor configuration. But updating multiple sessions that must have the same settings takes a long time and is error prone. This also makes the VRF tenant yaml more readable.

Additional context

Add any other context or screenshots about the feature request here.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
daanvdsandencommented, Apr 16, 2021

@carlbuchmann do you mean, that we should already now be able to reference an existing peer-group in tenant vrf like this? bgp_peers: < neighbor >: peer_group: < peer_group_name >

Yes you can already reference to an existing peer-group.

0reactions
kmueller68commented, Apr 18, 2021

@carlbuchmann @daanvdsanden Thank you for your feedback on this. I have just now successfully used it for 8 BGP peerings on my border leafs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

N5K _ N5K VPC Peer link over vrf - Cisco Community
Guys, I am trying to crate a new Nexus setup which uses the peer link over VRF instead of Management. I am running...
Read more >
VRF Context in NSX Advanced Load Balancer - Avi Networks
Configure Bidirectional Forwarding Detection (BFD) to enable networking peers on each end of a link to quickly detect and recover from a link...
Read more >
BGP Peer session monitoring to support multiple VRFs
SpectroSERVER uses all the VRF contexts to query the "BGP peer table" and monitor the BGP peers if poll-based BGP peer monitoring is...
Read more >
Virtual Routing and Forwarding - VRF | Cumulus Linux 3.7
Under this context, all existing BGP parameters can be configured: neighbors, peer-groups, address-family configuration, redistribution, and so forth. An OSPFv2 ...
Read more >
ARISTA - BGP sessions under VRF - LibreNMS Community
Hi Guys, I've many devices which holds BGP peers under VRF, it's not reflected in ... neighbor x.x.x.x peer-group SPINES-EVPN-TRANSIT
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found