ONTAP Discussions

How to change a metric value in routing table?

heightsnj

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

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

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

Announcements
Register for Insight 2021 Digital

INSIGHT 2021 Digital: Meet the Specialists 2

On October 20-22, gear up for a fully digital, totally immersive virtual experience with a downright legendary lineup of world-renowned specialists. Tune in for visionary conversations, solution deep dives, technical sessions and more.

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
Public