Configuring Uplink Failure Detection on a Junos Fusion
The uplink failure detection feature on a Junos Fusion enables satellite devices to detect link failures on the uplink interfaces used to connect to aggregation devices. When uplink failure detection detects uplink failure on a satellite device, all of the device’s extended ports (which connect to host devices) are shut down.
The following topics describe how to configure uplink failure detection on a Junos Fusion:
Enabling Uplink Failure Detection on a Junos Fusion
You can enable uplink failure detection on a Junos Fusion at the following levels in the configuration hierarchy:
To enable uplink failure detection globally, for all satellite devices in the Junos Fusion, include the uplink failure detection configuration at the
[edit chassis satellite-management]
level.To enable uplink failure detection on a specific satellite device, include the uplink failure detection configuration at the
[edit chassis satellite-management fpc slot-id]
level. Uplink failure detection configuration applied to a satellite device overrides the global uplink failure detection configuration.
Uplink failure detection configuration syntax is the same at all hierarchy levels. This topic shows how to configure uplink failure detection at the global level, but you can also apply uplink failure detection configuration at the satellite device level.
To enable uplink failure detection on a Junos Fusion, do the following on the fabric’s aggregation device:
Configuration Parameter |
Description |
Default |
---|---|---|
|
Configures the interval of time uplink failure detection waits before trying to re-enable a satellite device’s extended ports after shutting them down due to an uplink port failure. |
6 seconds |
|
Configures the minimum number of active uplink ports a satellite device must have. If a satellite device has fewer than this number of active uplink ports, uplink failure detection shuts down its extended ports. |
1 link |
|
Defines a set of candidate uplink ports to assign to satellite devices. |
Each satellite device model has a set of default uplink ports. You only need to assign uplink ports if you do not want to use the default ports. See UFD Default Uplink Interfaces for Satellite Devices for the default uplink ports by device. |
Configuring a Candidate Uplink Port Policy
A candidate uplink port policy contains uplink failure detection uplink port configuration that you can apply to satellite devices to override the default uplink failure detection behavior.
You can enter configuration statements in a candidate uplink port policy at these levels of the hierarchy:
Enter configuration statements at the level
[edit policy-options satellite-policies candidate-uplink-port-policy policy-name]
to override the default uplink failure detection behavior. Statements configured at this level are applied if the policy is applied to a satellite device that does not match aproduct-model
statement in any term in the policy. If the policy contains no terms, the statements at this level are applied to every satellite device to which the policy is applied.Create terms within the candidate uplink port policy at the level
[edit policy-options satellite-policies candidate-uplink-port-policy policy-name term term-name]
. Use terms to apply different uplink failure detection configurations to certain satellite devices, based on their product model. Each term contains match criteria that is compared against the model name of each satellite device to which the policy is applied. If the criteria matches the device model, the configuration specified in the term is applied to the device. Terms are evaluated in the order they appear in the configuration. The first term that matches a satellite device is applied to the device.
Configuring a candidate uplink port policy is described in the following sections:
- Configuring Candidate Uplink Port Policy Default Configuration
- Configuring Candidate Uplink Port Policy Terms
Configuring Candidate Uplink Port Policy Default Configuration
Uplink failure detection has the following default configuration parameters that apply if you enable uplink failure detection with no additional configuration:
The default configuration settings are described in Table 1.
The default uplink ports that are assigned to each satellite device type are described in Overview of Uplink Failure Detection on a Junos Fusion.
A candidate uplink port policy can contain configuration statements that override the defaults if the policy is applied to a satellite device that does not match a product-model
statement in any term in the policy.
To configure a candidate uplink port policy default configuration:
Configuring Candidate Uplink Port Policy Terms
You can configure terms in a candidate uplink port policy to apply uplink failure detection configuration to certain satellite devices, based on their device model. For example, you can create a term that matches all QFX 5100 Series switches. When the policy is applied to a QFX 5100 Series switch, the other configuration statements in the term are applied to the switch. If the policy is applied to satellite devices that are not QFX 5100 Series switches, the configuration statements in the term are not applied. When a candidate uplink port policy has multiple terms, the terms are evaluated in the order they appear in the configuration. The first term that matches a satellite device is applied to that satellite device.
To configure a candidate uplink port policy term:
Configuring an Uplink Port Group
An uplink port group defines a set of candidate uplink ports on a satellite device. Uplink port groups are assigned to candidate uplink port policies, which are assigned to satellite devices. Every satellite device type has default candidate uplink ports, which are described in Overview of Uplink Failure Detection on a Junos Fusion. You do not need to create uplink ports groups if you want to use the default candidate uplink ports on satellite devices.
The physically connected uplink ports on a satellite device must be defined as candidate uplink ports in the Junos Fusion configuration. If the uplink ports on a satellite device are not configured as candidate uplink ports, uplink failure detection cannot be enabled on the device, and a system log message is generated.
To create an uplink port group: