When a LIF is created, an associated routing group is automatically created. You cannot modify or rename an existing routing group; therefore, you might have to create a routing group.
The following rules apply when creating routing groups:
You can use the optional -metric parameter with this command to specify a hop count for the routing group. The default settings for this parameter are 10 for management interfaces, 20 for data interfaces, and 30 for cluster interfaces.
This parameter is used for source-IP address-selection of user-space applications such as NTP.
For more information about this command, see the man page.
cluster1::> network routing-groups create -vserver vs1 -routing-group d192.0.2.166 -subnet 192.0.2.165/24 -role data -metric 20