cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1447
Views
0
Helpful
3
Replies

How to re-enable vrf forwarding

benedicto.rosa
Level 1
Level 1

So I was a given a task to add loopback to our switches. I added the loopback but received an error that vrf forwarding is disabled and the ip address removed. 

How to I fix that.

v/r, Benny

3 Replies 3

Hi

 If the device supports VRF then you dont need to enable it. What happen is that if an interface or interface vlan have Ip address configured on it and you issue the command " ip vrf forwaring" the IP address is removed automatically and you need to re-assign.

In order to enable VRF in a interface  L3, in your case loopback you need to use this:

 

ip routing

ip vrf vrf-name

 

int loopback 1

ip vrf forwarding  vrf-name

ip add  x.x.x.x  x.x.x.x

Ip vrf mhm

Rd 1:100

This need before add 

Ip vrf forwarding mhm under loopback interface.

So what important 

First you must use excat vrf name 

You must config rd to vrf without rd the vrf not run 

shamrozakram18
Level 1
Level 1

To re-enable VRF forwarding, access the device's CLI, enter global configuration mode, locate the VRF configuration section, and check if the VRF is inactive using the "show ip vrf" command. If inactive, use "ip vrf [vrf-name]" to create a new VRF or reactivate the inactive one. If active, use "no ip vrf [vrf-name]" to deactivate the VRF. Verify the VRF forwarding using the "show ip vrf" command.

Review Cisco Networking for a $25 gift card