weight
Syntax
weight number;
Hierarchy Level
[edit chassis clusterredundancy-group
group-number
interface-monitorinterface
] [edit chassis clusterredundancy-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.