OS10 Enterprise Edition User Guide Release 10.4.1.0

PDF

Assigning an interface to a non-default VRF instance

After creating a non-default VRF instance you can associate a n interface to the VRF instance that you created.

To assign an interface to a non-default VRF, perform the following steps:

  1. Enter the interface that you want to assign to a non-default VRF instance. CONFIGURATION interface ethernet 1/1/1
  2. Remove the interfacet from L2 switching. INTERFACE no switchport
  3. Assign the interface to a non-default VRF. INTERFACE CONFIGURATION ip vrf forwarding vrf-test Before assigning a n interface to a VRF instance, ensure that no IP address is configured on the interface.
    • NOTE: In the default configuration, the interface is in L3 mode and it does not have an IP address. You can associate an interface in L3 mode and with default configuration to a VRF. You can associate an interface only with one VRF instance. Overwriting associations between interfaces and VRFs is not allowed, until all the interface configurations including the previous VRF associations are deleted.
  4. Assign an IPv4 address to the interface. INTERFACE CONFIGURATION ip address 10.1.1.1/24
  5. Assign an IPv6 address to the interface. INTERFACE CONFIGURATION ipv6 address 1::1/64 You can also auto configure an IPv6 address using the ipv6 address autoconfig command.
    • NOTE: Before configuring any routing protocol in a VRF instance, you need to first assign an IP address to at least one of the interfaces assigned to the VRF instance on which you want to configure routing protocols.

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