in
IEOC CCIE Forums

IEOC - INE's Online Community

Welcome to INE's Online Community - IEOC - a place for CCIE and CCENT candidates to connect, share, and learn. Our Online Community features CCIE forums and discussions for all tracks including Routing & Switching, Voice, Security, Service Provider, Wireless,, and Storage. Through these online communities you can discuss your questions with thousands of your peers, hundreds of CCIE's and INE's own team of world renowned CCIE instructors and authors, Brian Dennis - Quintuple CCIE #2210, Brian McGahan – Triple CCIE #8593, Petr Lapukhov - Quad CCIE #16379, and Mark Snow - Dual CCIE #14073.
Latest post 02-12-2015 7:14 PM by nathanieljhnsn. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 02-12-2015 1:00 PM

    Task 3.2 VRF Question

    So I'm confused on this...

    When you enter vrf definiton from global config to create a VRF, why are you required to enter address-family ipv6 mode if you already ran the command vrf definition to begin with?  I was under the impression that the difference between ip vrf and vrf definition was IPV4 and IPV6 respectively?

    Also, what is the purpose of the below if you already said vrf definition <name> to begin with?

    address-family ipv4
    exit-address-family
    !
    address-family ipv6
    exit-address-family

    Thanks all!

    • Post Points: 20
  • 02-12-2015 6:50 PM In reply to

    • plucena24
    • Top 25 Contributor
    • Joined on 03-10-2012
    • Mountain View, CA
    • Elite
    • Points 16,865

    Re: Task 3.2 VRF Question

    The legacy "ip vrf XXX" mechanism only supported IPv4 - you did not need to specify which address family it was for due to this reason. The newer VRF syntax allows you to select which address family you want to use it for - by default no address families are activated. If the interface is running v6, and you need that v6 link to belong to a vrf, then you need to ensure that the vrf has the address family activated. 

    You will get errors such as these if the address family is not first activated: 

     

    vrf definition TEST

    !

    interface loop 100

    ip add 1.1.1.1 255.255.255.255

    %Loopback100 is linked to a VRF. Enable IPv4 on that VRF first.

     

    ipv6 add 2001::/128

    %Loopback100 is linked to a VRF. Enable IPv6 on that VRF first.

     

    Hope this helps

    2xCCIE #38211 (RS/SP)

    • Post Points: 20
  • 02-12-2015 7:14 PM In reply to

    Re: Task 3.2 VRF Question

    I think I get it now.  Specify af within the vrf to prepare it for ipv4 and or ipv6 or it won't work.  I was thrown off by the immediate exit family after each af within the vrf but now I understand.  Thanks!

    • Post Points: 5
Page 1 of 1 (3 items)
IEOC CCIE Forums Internetwork Expert CCIE Training
About IEOC | Terms of Use | RSS | Privacy Policy
© 2010 Internetwork Expert, Inc. All Rights Reserved