ONTAP Discussions

How to change a metric value in routing table?

heightsnj
4,989 Views

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 ?

 

Thanks!

2 REPLIES 2

mikkisse
4,981 Views

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 192.0.2.165/24 -role data -metric 20

 

Perhaps there is another way.

heightsnj
4,909 Views

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...

Public