01-04-2012 08:56 AM - edited 03-07-2019 04:10 AM
Hi,
I am working on Nexus 7010 with NX-OS 5.1.5. I have to delete the static route 10.10.0.0/16 via 10.16.0.21
####################################################
FRLNCSNEX1# sh ip route static
IP Route Table for VRF "default"
'*' denotes best ucast next-hop
'**' denotes best mcast next-hop
'[x/y]' denotes [preference/metric]
10.10.0.0/16, ubest/mbest: 2/0
*via 10.10.16.1, Vlan750, [1/0], 00:44:42, static
*via 10.16.0.21, Vlan3, [1/0], 02:23:44, static
####################################################
I try to remove the route with the command "no ip route 10.10.0.0/16 10.16.0.21" and I have the message below :
% Route not deleted, it does not exist
I don't understand why I have this message because the static route exist.
Do you have an idea ?
Thank you,
Thibault
01-04-2012 09:34 AM
Hi,
Try deleing it from the vrf
vrf context vrf-name
then
no ip route 10.10.0.0/16 10.16.0.21
HTH
01-04-2012 09:39 AM
Hi,
This static route isn't part of any vrf but I also try with the default vrf and I have the same message.
Thank you,
Thibault
01-04-2012 09:50 AM
This command should show only global routing table. what does your show run says ?
01-04-2012 10:34 AM
Hi,
the reason I said use the vrf because I see vrf default in your sh ip route static output:
IP Route Table for VRF "default"
or vrf default is global?
HTH
01-04-2012 11:19 AM
Hi,
I think vrf default is global. In either case it doesn't work
Thank you
Thibault
01-04-2012 08:50 PM
Can you post the following output:
show run | i route
I just want to verify if your static route is configured with outgoing interface first. If yes, you have to remove the static route like the following:
no ip route x.x.x.x/x intf x.x.x.x
HTH,
jerry
01-04-2012 10:27 PM
Hi,
Ok I give you the output very soon but it's me who added the static route with classical command ip route x.x.x.x/x x.x.x.x.
Thank you,
Thibault
01-04-2012 11:56 PM
Hi,
The output of the sh run | inc route command is :
ip route 10.10.0.0/16 10.10.16.1
ip route 10.10.0.0/16 10.16.14.6
Thank you,
Thibault
01-05-2012 12:07 AM
Hi,
I succeeded to delete the static route 10.10.0.0/16 10.16.14.6.
To do this I execute the following command :
ip route 10.10.0.0/16 10.10.16.1
ip route 10.10.0.0/16 10.16.14.6
!
no ip route 10.10.0.0/16 10.10.16.1
no ip route 10.10.0.0/16 10.16.14.6
Thank you for your help.
Thibault
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide