2

Consider the following config:

router bgp 2
 address-family ipv4 vrf TEST_VRF     
  redistribute static metric 10
 exit-address-family
Router#

Q1:The above command snippet does the following:

1.I am telling BGP to run inside my vrf TEST_VRF

2.I am redistributing all the static routes present in TEST_VRF routing table into bgp with a metric of 10

Please confirm if my above understanding is correct.

1
  • You have not created any neighbors for your VRF address family.
    – Ron Maupin
    Commented May 20, 2017 at 17:11

1 Answer 1

5
  1. You're not actually telling BGP to run inside VRF. I would say you're activating address family ipv4 vrf inside BGP process. I. e. BGP process is always bgp 2, but it may contain different address families.

  2. Correct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.