Connectivity Guide
no switchport
3 Assign the interface to a non-default VRF.
INTERFACE CONFIGURATION
ip vrf forwarding vrf-test
Before assigning an interface to a VRF instance, ensure that no IP address is congured on the interface.
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 congure an IPv6 address using the ipv6 address autoconfig command.
NOTE: Before conguring any routing protocol in a VRF instance, you need to rst assign an IP address to at least one
of the interfaces assigned to the VRF instance on which you want to congure routing protocols.
Assigning a loopback interface to a non-default VRF instance
After creating a non-default VRF instance you can associate a loopback interface to the VRF instance that you created.
To assign a loopback interface to a non-default VRF, perform the following steps:
1 Enter the loopback interface that you want to assign to a non-default VRF instance.
CONFIGURATION
interface loopback 5
2 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 congured on the interface.
3 Assign an IPv4 address to the interface.
INTERFACE CONFIGURATION
ip address 10.1.1.1/24
4 Assign an IPv6 address to the interface.
INTERFACE CONFIGURATION
ipv6 address 1::1/64
You can also auto congure an IPv6 address using the ipv6 address autoconfig command.
Layer 3
389