Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

weight

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
weight number;

Hierarchy Level

content_copy zoom_out_map
[edit chassis cluster redundancy-group                     group-number          interface-monitor            interface         ]
[edit chassis cluster redundancy-group                     group-number          ip-monitoring IP–address]

Description

Specify the relative importance of the object to the operation of the redundancy group. This statement is primarily used with interface monitoring and IP address monitoring objects. The failure of an object—such as an interface—with a greater weight brings the group closer to failover. Every monitored object is assigned a weight.

  • interface-monitor objects—If the object fails, its weight is deducted from the threshold of its redundancy group;

  • ip-monitoring objects—If a monitored IP address becomes unreachable for any reason, the weight assigned to that monitored IP address is deducted from the redundancy group’s global-threshold for IP address monitoring.

Every redundancy group has a default threshold of 255. If the threshold reaches 0, a failover is triggered. Failover is triggered even if the redundancy group is in manual failover mode and preemption is not enabled.

Options

number—Weight assigned to the interface or monitored IP address. A higher weight value indicates a greater importance.

  • Range: 0 through 255

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement modified in Junos OS Release 10.1.

footer-navigation