How to re-enable vrf forwarding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2023 10:45 AM
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
- Labels:
-
Community Feedback Forum
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2023 10:55 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2023 11:20 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2023 02:36 AM
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.
