cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4413
Views
10
Helpful
9
Replies

Static route deletion impossible on Nexus 7010

Thibault BRISSE
Level 1
Level 1

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

9 Replies 9

Reza Sharifi
Hall of Fame
Hall of Fame

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

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

This command should show only global routing table. what does your show run says ?

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

Hi,

I think vrf default is global. In either case  it doesn't work

Thank you

Thibault

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

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

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

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

Review Cisco Networking for a $25 gift card