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

Dell EMC Configuration Guide for the S3100 Series 9.14.2.4

PDF

Configuring a BGP VRF address family

To perform BGP configuration between two neighbors that must exchange IPv6 or IPv4 VRF information, use the following commands.

Following are the steps to configure BGP VRF address-family between two peers.
  • Configure a VRF routing table.
    CONFIG mode
    ip vrf vrf-name
    For more information on VRF configuration, see Virtual Routing and Forwarding (VRF).
  • Enter the router configuration mode and the AS number.
    CONFIG mode
    router bgp as-number
  • Specify the IPv4 address family configuration.
    CONFIG-ROUTER-BGP mode
    address-family {ipv4 [multicast] | ipv6 unicast} vrf vrf-name
    vrf vrf-name — Specifies the name of VRF instance associated with the IPv4 or IPv6 address-family configuration.
  • Add the IP address of the neighbor in the specified AS to the IPv4 MBGP neighbor table.
    CONFIG-ROUTER-BGP-AF mode
    neighbor {ip-address | ipv6–address | peer-group-name} remote-as as-number
  • Enable the neighbor.
    CONFIG-ROUTER-BGP mode
    neighbor ip-address no shutdown
  • Specify the number of prefixes that can be received from a neighbor.
    CONFIG-ROUTER-BGP-AF mode
    neighbor {ip-address | ipv6–address | peer-group-name} maximum—prefix maximum [threshold] [warning-only]as-number

Example of configuring both IPv4 and IPv6 VRF address families

The following are the sample steps performed to configure a VRF, and VRF address families for IPv4 (unicast and multicast) and IPv6.

DellEMC(conf)# ip vrf vrf1
DellEMC(conf-vrf)# exit
DellEMC(conf)# router bgp 100
DellEMC(conf-router_bgp)# address-family ipv4 vrf vrf1
DellEMC(conf-router_bgp_af)# neighbor 50.0.0.2 remote-as 200
DellEMC(conf-router_bgp_af)# neighbor 50.0.0.2 maximum-prefix 10000 warning-only
DellEMC(conf-router_bgp_af)# neighbor 50.0.0.2 no shutdown
DellEMC(conf-router_bgp_af)# exit
DellEMC(conf-router_bgp)# address-family ipv6 unicast vrf vrf1
DellEMC(conf-router_bgpv6_af)# neighbor 50.0.0.2 activate
DellEMC(conf-router_bgpv6_af)# exit
DellEMC(conf-router_bgp)# address-family ipv4 multicast vrf vrf1
DellEMC(conf-router_bgpv6_af)# neighbor 50.0.0.2 activate
DellEMC(conf-router_bgp)# exit

Following is the output of show ip bgp vrf vrf1 summary command for the above configuration.

DellEMC#show ip bgp vrf vrf1 summary
BGP router identifier 1.1.1.1, local AS number 100
BGP local RIB : Routes to be Added 0, Replaced 0, Withdrawn 0
1 neighbor(s) using 16384 bytes of memory

Neighbor        AS            MsgRcvd  MsgSent     TblVer  InQ  OutQ Up/Down  State/Pfx
50.0.0.2        200                 0        0          0    0     0 00:00:00 0

Following is the output of show running-config bgp command for the above configuration.

DellEMC#show running-config bgp
!
router bgp 10
 bgp router-id 1.1.1.1
 network 10.10.21.0/24
 bgp four-octet-as-support
 neighbor 20.20.20.1 remote-as 65550
 neighbor 20.20.20.1 no shutdown
 !
 address-family ipv4 vrf vrf1
  neighbor 50.0.0.2 maximum-prefix 10000 warning-only
  neighbor 50.0.0.2 remote-as 200
  neighbor 50.0.0.2 no shutdown
  exit-address-family
 !
 address-family ipv4 multicast vrf vrf1
  neighbor 50.0.0.2 activate
  exit-address-family
 !
 address-family ipv6 unicast vrf vrf1
  neighbor 50.0.0.2 activate
  exit-address-family
DellEMC#

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: <>()\