Skip to main content

network interface lif-weights show

Contributors
Suggest changes

Show the load-balancer LIF weights

Availability: This command is available to cluster and Vserver administrators at the advanced privilege level.

Description

The network interface lif-weights show command displays the weights assigned to each LIF in a DNS load-balancing zone in a Vserver.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

[-vserver <vserver>] - Vserver (privilege: advanced)

Use this parameter to display information only for the specified Vservers.

[-zone <text>] - DNS Zone (privilege: advanced)

Use this parameter to display information only for the specified DNS zones.

[-address <IP Address>] - Network Address (privilege: advanced)

Use this parameter to display information only for the specified IP addresses.

[-weight <double>] - Load Balancer Weight (privilege: advanced)

Use this parameter to display information only for the specified load balancer weights

Examples

The following example displays LIF weights for vserver "vs1".

cluster1::> network interface lif-weights show -vserver vs1
                               Network
Vserver    DNS Zone            Address        Weight
---------  ------------------  ------------  -------
vs1
           a.com               4.4.4.4       12.4206
           x.com               1.1.1.1       12.4206
           x.com               10.72.46.236  12.4206
3 entries were displayed.