ONTAP Discussions

How to change a metric value in routing table?


In routing table, currently we have all same metric value to differnt gateways, we should assign a differnt metric value to differnt routing gateway. what is the cli to make such change ?





As i see there is no route modify command, only create and delete. So i think, you must recreate routings with required metrics. 


network routing-groups create -vserver vs1 -routing-group d192.0.2.166 -subnet -role data -metric 20


Perhaps there is another way.


Is there really no way to allow me to just modify the metric's value?


It seems that I have to create a temporary one first, then modify the lif's routing group to the temp one, then delete the existing prod. one, then recreate one with the right metric, then delete the temp one..

It sounds complicaetd...

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner