Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell EMC SmartFabric OS10 User Guide Release 10.5.1

PDF

Peer templates for a nondefault VRF instance

You can create peer templates to add multiple neighbors at a time to the nondefault VRF instance that you create.

  1. Enable BGP, and assign the AS number to the local BGP speaker in CONFIGURATION mode, from 1 to 65535 for 2 bytes, 1 to 4294967295 | 0.1 to 65535.65535 for 4 bytes, or 0.1 to 65535.65535, in dotted format.
    router bgp as-number
  2. Enter CONFIG-ROUTER-VRF mode to create a peer template for the nondefault VRF instance that you create.
    vrf vrf-name
  3. Create a peer template by assigning a neighborhood name to it in CONFIG-ROUTER-VRF mode.
    template template-name
  4. Add a neighbor as a remote AS in ROUTER-TEMPLATE mode, from 1 to 65535 for 2 bytes, 1 to 4294967295 | 0.1 to 65535.65535 for 4 bytes, or 0.1 to 65535.65535, in dotted format.
    neighbor ip-address
  5. Add a remote neighbor, and enter the AS number in ROUTER-TEMPLATE mode.
    remote-as as-number
    • To add an EBGP neighbor, configure the as-number parameter with a number different from the BGP as-number configured in the router bgp as-number command.
    • To add an IBGP neighbor, configure the as-number parameter with the same BGP as-number configured in the router bgp as-number command.
  6. (Optional) Add a text description for the template in ROUTER-TEMPLATE mode.
    description text
  7. Assign a peer-template with a peer-group name from which to inherit to the neighbor in ROUTER-NEIGHBOR mode.
    • For peers with an IP address:
      inherit template template-name
    • For peers with unnumbered interfaces:
      inherit template template-name inherit-type {ebgp | ibgp}
  8. Enable the neighbor in ROUTER-BGP mode.
    neighbor ip-address
  9. Enable the peer-group in ROUTER-NEIGHBOR mode.
    no shutdown

A neighbor may keep its configuration after it is added to a peer group if the neighbor configuration is more specific than the peer group and if the neighbor configuration does not affect outgoing updates.

To display the peer-group configuration that is assigned to a BGP neighbor, use the show ip bgp peer-group peer-group-name command. The show ip bgp neighbor command output does not display peer-group configurations.

Configure peer templates

OS10(config)# router bgp 300
OS10(config-router-bgp-300) vrf blue
OS10(config-router-vrf)# template ebgppg
OS10(config-router-template)# remote-as 100
OS10(config-router-template)# description peer_template_1_abcd
OS10(config-router-template)# exit
OS10(config-router-vrf)# neighbor 3.1.1.1
OS10(config-router-neighbor)# inherit template ebgppg
OS10(config-router-neighbor)# no shutdown

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\