Subscribe

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 ?

 

Thanks!

Re: How to change a metric value in routing table?

[ Edited ]

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.

Re: How to change a metric value in routing table?

[ Edited ]

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