Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Aggregated Ethernet Interfaces in a Chassis Cluster

This topic explains how IEEE 802.3ad link aggregation enables you to group multiple Ethernet interfaces into a single logical link‑layer interface, also known as a Link Aggregation Group (LAG) or bundle.

Use Feature Explorer to confirm platform and release support for specific features.

Review the Platform-Specific Link Aggregation Groups Behavior section for notes related to your platform.

See the Additional Platform Information section for more information.

Redundant Ethernet (reth) LAG interfaces combine the characteristics of reth interfaces and LAG interfaces to provide both redundancy and link aggregation.

LACP on Chassis Clusters

You can combine multiple physical Ethernet ports to form a single logical point-to-point link interface, known as a Link Aggregation Group (LAG) or bundle, allowing a Media Access Control (MAC) client to treat the aggregated links as a single interface.

In a chassis cluster, LAGs can span both nodes to provide increasedinterface bandwidth and enhanced link availability.

The Link Aggregation Control Protocol (LACP) adds further functionality to LAGs. LACP is supported in standalone deployments, where aggregated Ethernet interfaces are used, as well as in chassis cluster deployments, where aggregated Ethernet interfaces and redundant Ethernet (reth) interfaces can operate simultaneously.

You configure LACP on a reth interface by setting the LACP mode on the parent interface with the lacp statement. The LACP mode can be off (the default), active, or passive.

This topic contains the following sections:

Chassis Cluster Redundant Ethernet Interface Link Aggregation Groups

A redundant Ethernet (reth) interface consists of active active and standby links distributed across the two nodes in a chassis cluster. All active links reside on one node, while all standby links reside on the peer node. You can configure up to eight active links and eight standby links per node.

When at least two physical child interfaces from each node are included in a redundant Ethernet interface configuration, the interfaces are combined to form a redundant Ethernet link aggregationgroup (LAG).

Using multiple active reth links reduces the likelihood of a failover. For example, if one active link becomes unavailable, traffic is redistributed across the remaining active reth links instead of triggering an active/standby failover.

Aggregated Ethernet (AE) interfaces, also known as local LAGs, are supported on each node of a chassis cluster but cannot be added to a redundant Ethernet interface. Likewise, a child interface that belongs to a local LAG cannot be added to a redundant Ethernet interface, and vice versa. The combined maximum number of local ae interfaces and rethinterfaces per cluster is 128.

Although aggregated Ethernet and and redundant Ethernet interfaces cannot be combined, they can coexist within the same cluster because redundant Ethernet interfaces are implemented using the Junos OS aggregated Ethernet framework. See Understanding Chassis Cluster Redundant Ethernet Interface Link Aggregation Groups.

Minimum Links

A redundant Ethernet interface supports a minimum-links setting that specifies the minimum number of physical child links that must be operational on the primary node for the interface to remain up. The default value of minimum-linksis 1. If the number of active physical links on the primary node falls below this value, the redundant Ethernet interface can go down even if some child links are opbelow the minimum-links value, the interface might be down even if some links are still operational. See Example: Configuring Chassis Cluster Minimum Links.

Sub-LAGs

LACP maintains a point-to-point LAG, and any port connected to a third endpoint is rejected. However, a redundant Ethernet (reth) interface is designed to connect to two different systems or two separate remote aggregated Ethernet interfaces.

To support LACP on redundant Ethernet interface active and standby links, the system automatically creates the redundant Ethernet interface as two distinct sub-LAGs:one sub-LAG consisting of all active links and another consisting of all standby links. LACP selection logic is applied to only one sub-LAG at a time. This design allows both sub‑LAGs to be maintained simultaneously while preserving all LACP benefits for each sub‑LAG

The switches used to connect the cluster nodes must have LAGs configured with IEEE 802.3ad enabled for each LAG on both nodes so that the aggregated links are correctly recognized and traffic is forwarded properly.

The redundant Ethernet interface LAG child links from each node must connect to separate LAGs on the peer devices. If a single peer switch is used to terminate the redundant Ethernet interface LAG, two separate LAGs must be configured on that switch.

Supporting Hitless Failover

With LACP enabled, a redundant Ethernet interface supports hitless failover between active and standby links during normal operation. Hitless means that the redundant Ethernet interface remains in the up state during a failover.

The lacpd process manages both the active and standby links of the redundant Ethernet interfaces. A redundant Ethernet interface remains up as long as the number of active links is greater than or equal to the configured minimum links value. To support hitless failover, the LACP state of the standby links must be collected and distributed before a failover occurs.

Manage Link Aggregation Control PDUs

Protocol Data Units (PDUs) carry information about the state of a link. By default, aggregated Ethernet and redundant Ethernet links do not exchange Link Aggregation Control Protocol (LACP) PDUs.

You can configure PDUs exchange in the following ways:

  • Configure Ethernet links to actively transmit LACP PDUs.

  • Configure Ethernet links to passively transmit LACP PDUs, sending PDUs only when they are received from the remote end of the link.

In LACP teminology, the local end of a child link is referred to as the actor, and the remote end is referred to as the partner. The actor sends LACP PDUs to the partner to advertise its own state and its view of the partner’s state.

You control the interval at which the remote side transmits LACP PDUs by configuring the periodic statement on the local interface. The local configuration determines the remote behavior. The transmission interval can be configured as fast (every second) or slow (every 30 seconds). See Example: Configuring LACP on Chassis Clusters.

By default, both the actor and partner transmit LACP PDUs every second. You can configure different periodic rates on active and passive interfaces. When the configured rates differ, the transmitting side honors the rate requested by the receiving side.

Example: Configure LACP on Chassis Clusters

This example shows how to configure LACP on chassis clusters.

Requirements

Before you begin:

Complete the tasks such as enabling the chassis cluster, configuring interfaces and redundancy groups. See SRX Series Chassis Cluster Configuration Overview and Example: Configuring Chassis Cluster Redundant Ethernet Interfaces for more details.

Overview

You can combine multiple physical Ethernet ports to form a logical point-to-point link, known as a link aggregation group (LAG) or bundle. In a chassis cluster, LACP is configuredon a redundant Ethernet (reth) interface.

In this example, LACP is configured in active mode on the reth1 interface, and the link aggregation control PDU transmit interval is set to to slow (30 seconds).

When LACP is enabled, the local and remote ends of the aggregated Ethernet links exchange protocol data units (PDUs), that convey link state information. Interfaces can be configured to actively transmit PDUs or to operate in passive mode, in which PDUs are sent only when received from the remote peer. At least one side of the link must be configured in active mode for the aggregated link to become operational.

Figure 1 shows the topology used in this example.

Figure 1: Topology for LAGs Connecting SRX Series Firewalls in Chassis Cluster to an EX Series Switch Juniper SRX Series HA cluster with EX Series switch; SRX nodes connect via interfaces like ge-0/0/4. Reth1 IP: 192.168.2.1/24.

In the Figure 1, SRX1500 devices are used to configure the interfaces on node0 and node1. For more information on EX Series switch configuration, see Configuring Aggregated Ethernet LACP (CLI Procedure).

Configuration

Configure LACP on Chassis Cluster

Step-by-Step Procedure

To configure LACP on chassis clusters:

  1. Specify the number of redundant Ethernet interfaces.

  2. Specify a redundancy group's priority for primacy on each node of the cluster. The higher number takes precedence.

  3. Create security zone and assign interfaces to zone.

  4. Bind redundant child physical interfaces to reth1.

  5. Add reth1 to redundancy group 1.

  6. Set the LACP on reth1.

  7. Assign an IP address to reth1.

  8. Configure LACP on aggregated Ethernet interfaces (ae1).

  9. Configure LACP on aggregated Ethernet interfaces (ae2).

  10. If you are done configuring the device, commit the configuration.

Results

From configuration mode, confirm your configuration by entering the show chassis, show security zones, and show interfaces commands. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

Configure LACP on EX Series Switch

Step-by-Step Procedure

Configure LACP on EX Series switch.

  1. Set the number of aggregated Ethernet interfaces.

  2. Associate physical interfaces with aggregated Ethernet interfaces.

  3. Configure LACP on aggregated Ethernet interfaces (ae1).

  4. Configure LACP on aggregated Ethernet interfaces (ae2).

  5. Configure VLAN.

Results

From configuration mode, confirm your configuration by entering the show chassis and show interfaces commands. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

Verification

Verify LACP on Redundant Ethernet Interfaces

Purpose

Display LACP status information for redundant Ethernet interfaces.

Action

From operational mode, enter the show chassis cluster status command.

From operational mode, enter the show lacp interfaces reth1 command.

The output shows redundant Ethernet interface details, including the following information:

  • LACP state—Indicates whether a link in the bundle is acting an the actor (local or near end) or the partner (remote or far end).

  • LACP mode—Indicates whether link aggregation is enabled on both ends of the aggregated Ethernet interface (active or passive). At least one end of the bundle must be configured as active.

  • PDU transmission interval—Shows the periodic rate at which Link Aggregation Control Protocol (LACP) PDUs are transmitted.

  • LACP protocol state—Indicates that the link is operational when it is in the collecting and distributing state.

Understand VRRP on SRX Series Firewalls

Firewalls support the Virtual Router Redundancy Protocol (VRRP) and VRRP for IPv6.

Overview of VRRP on SRX Series Firewalls

Configuring end hosts with static default routes simplifies network configuration, reduces complexity, and minimizes processing overhead on the hosts. However, if the default gateway fails, hosts that cannot detect alternate paths become isolated. VRRP addresses this limitation by providing dynamic default gateway redundancy. If the primary gateway fails, VRRP enables an alternate gateway to take over automatically.

You can configure VRRP and VRRP for IPv6 on Gigabit Ethernet interfaces, 10-Gigabit Ethernet interfaces, and logical interfaces on Firewalls. VRRP allows hosts on a LAN to use redundant gateway devices without requiring more than a single static default route configuration.

Devices participating in VRRP share a virtual IP address that corresponds to the default gateway configured on the hosts. At any given time, one device acts as the primary (active) router, while the others function as backups. If the primary device fails, one of the backup devices assumes the primary role, maintaining uninterrupted traffic forwarding on the LAN. With VRRP, a backup Firewall can take over a failed default gateway within a few seconds, with minimal traffic distribution and no interaction required from the hosts. VRRP is not supported on management interfaces.

VRRP for IPv6 provides faster switchover to an alternate default gateway than IPv6 Neighbor Discovery (ND) mechanisms. VRRP for IPv6 does not support the authentication-type or authentication-key statements.

Devices running VRRP dynamically elect primary and backup routers. You can also explicitly control this behavior by assigning priorities from 1 through 255, where 255 is the highest priority. During normal operation, the primary device sends VRRP advertisements to backup devices at regular intervals; the default interval is 1 second. If a backup device does not receive advertisement for a specified period, the backup device with the highest priority assumes the primary role and begins forwarding traffic.

Backup devices do not preempt the primary device unless they have a higher priority, which helps prevent unnecessary service disruption. You can also administratively disable all preemption attempts, except when a VRRP device becomes primary for IP addresses that it owns.

VRRP does not support session synchronization between members. If the primary device fails, the backup device with the highest priority takes over and begins forwarding packets, but any existing sessions are dropped because they are out of state.

Priority 255 cannot be configured on routed VLAN interfaces (RVIs).

VRRP is defined in RFC 3768, Virtual Router Redundancy Protocol.

Benefits of VRRP

  • VRRP provides dynamic failover of IP addresses from one device to another in the event of failure.

  • You can implement VRRP to provide a highly available default path to a gateway without needing to configure dynamic routing or router discovery protocols on end hosts.

Sample VRRP Topology

Figure 2 illustrates a basic VRRP topology with SRX Series Firewalls. In this example, Devices A and B are running VRRP and share the virtual IP address 192.0.2.1. The default gateway for each of the clients is 192.0.2.1.

Figure 2: Basic VRRP on SRX Series Switches VRRP network setup with virtual IP 192.0.2.1 for high availability. Device A is Master with IP 192.0.2.251, Device B is Backup with IP 192.0.2.252.

The following illustrates basic VRRP behavior using Figure 2 for reference:

  1. When any of the servers wants to send traffic out of the LAN, it sends the traffic to the default gateway address of 192.0.2.1. This is a virtual IP address (VIP) owned by VRRP group 100. Because Device A is the primary of the group, the VIP is associated with the “real” address 192.0.2.251 on Device A, and traffic from the servers is actually sent to this address. (Device A is the primary because it has been configured with a higher priority value.)

  2. If there is a failure on Device A that prevents it from forwarding traffic to or from the servers—for example, if the interface connected to the LAN fails—Device B becomes the primary and assumes ownership of the VIP. The servers continue to send traffic to the VIP, but because the VIP is now associated with the “real” address 192.0.2.252 on Device B (because of change of primary), the traffic is sent to Device B instead of Device A.

  3. If the problem that caused the failure on Device A is corrected, Device A becomes the primary again and reasserts ownership of the VIP. In this case, the servers resume sending traffic to Device A.

Note that no configuration changes are required on the servers to switch traffic between Device A and Device B. When the VIP moves between 192.0.2.251 and 192.0.2.252, the transition is handled automatically by standard TCP/IP behavior, requiring no server-side configuration or manual intervention.

Firewalls Support for VRRPv3

The primary advantage of using VRRPv3 is that it supports both IPv4 and IPv6 address families, whereas earlier versions of VRRP supports only IPv4.

Enable VRRPv3 only if it can be enabled on all devices in the network that participate in VRRP. VRRPv3 for IPv4 does not interoperate with earlier VRRP versions. For example, if a device VRRPv3 enabled receives VRRP IPv4 advertisement packets from a device running an earlier VRRP version, it transitions to the backup state to prevent the creation of multiple primary routers in the network.

You can enable VRRPv3 by configuring the version-3 statement at the [edit protocols vrrp] hierarchy level for either IPv4 or IPv6 networks. Ensure that the same VRRP version is configured on all VRRP devices on the LAN.

Limitations of VRRPv3 Features

Below are some VRRPv3 features limitations.

VRRPv3 Authentication

When VRRPv3 (for IPv4) is enabled, it does not allow authentication.

  • The authentication-type and authentication-key statements cannot be configured for any VRRP groups.

  • You must use non-VRRP authentication.

VRRPv3 Advertisement Intervals

VRRPv3 (for IPv4 and IPv6) advertisement intervals must be set with the fast-interval statement at the [edit interfaces interface-name unit 0 family inet address ip-address vrrp-group group-name] hierarchy level.

  • Do not use the advertise-interval statement (for IPv4).

  • Do not use the inet6-advertise-interval statement (for IPv6).

VRRP failover-delay Overview

Failover is a backup operational mode in which the functions of a network device are assumed by a secondary device when the primary device becomes unavailable because of a failure or a scheduled down time. Failover is typically an integral part of mission-critical systems that must be constantly available on the network.

VRRP does not support session synchronization between members. If the primary device fails, the backup device with the highest priority takes over as primary and will begin forwarding packets. Any existing sessions will be dropped on the backup device as out-of-state.

A fast failover requires a short delay. Thus, failover-delay configures the failover delay time, in milliseconds, for VRRP and VRRP for IPv6 operations. Junos OS supports a range of 50 through 100000 milliseconds for delay in failover time.

The VRRP process (vrrpd) running on the Routing Engine communicates a VRRP primary role change to the Packet Forwarding Engine for every VRRP session. Each VRRP group can trigger such communication to update the Packet Forwarding Engine with its own state or the state inherited form an active VRRP group. To avoid overloading the Packet Forwarding Engine with such messages, you can configure a failover-delay to specify the delay between subsequent Routing Engine to Packet Forwarding Engine communications.

The Routing Engine communicates a VRRP primary role change to the Packet Forwarding Engine to facilitate necessary state change on the Packet Forwarding Engine, such as reprogramming of Packet Forwarding Engine hardware filters, VRRP sessions and so on. The following sections elaborate the Routing Engine to Packet Forwarding Engine communication in two scenarios:

When failover-delay Is Not Configured

Without failover-delay configured, the sequence of events for VRRP sessions operated from the Routing Engine is as follows:

  1. When the first VRRP group detected by the Routing Engine changes state, and the new state is primary, the Routing Engine generates appropriate VRRP announcement messages. The Packet Forwarding Engine is informed about the state change, so that hardware filters for that group are reprogrammed without delay. The new primary then sends gratuitous ARP message to the VRRP groups.

  2. The delay in failover timer starts. By default, failover-delay timer is:

    • 500 miliseconds—when the configured VRRP announcement interval is less than 1 second.

    • 2 seconds—when the configured VRRP announcement interval is 1 second or more, and the total number of VRRP groups on the router is 255.

    • 10 seconds—when the configured VRRP announcement interval is 1 second or more, and the number of VRRP groups on the router is more than 255.

  3. The Routing Engine performs one-by-one state change for subsequent VRRP groups. Every time there is a state change, and the new state for a particular VRRP group is primary, the Routing Engine generates appropriate VRRP announcement messages. However, communication toward the Packet Forwarding Engine is suppressed until the failover-delay timer expires.

  4. After failover-delay timer expires, the Routing Engine sends message to the Packet Forwarding Engine about all VRRP groups that managed to change the state. As a consequence, hardware filters for those groups are reprogrammed, and for those groups whose new state is primary, gratuitous ARP messages are sent.

This process repeats until state transition for all VRRP groups is complete.

Thus, without configuring failover-delay, the full state transition (including states on the Routing Engine and the Packet Forwarding Engine) for the first VRRP group is performed immediately, while state transition on the Packet Forwarding Engine for remaining VRRP groups is delayed by at least 0.5-10 seconds, depending on the configured VRRP announcement timers and the number of VRRP groups. During this intermediate state, receiving traffic for VRRP groups for state changes that were not yet completed on the Packet Forwarding Engine might be dropped at the Packet Forwarding Engine level due to deferred reconfiguration of hardware filters.

When failover-delay Is Configured

When failover-delay is configured, the sequence of events for VRRP sessions operated from the Routing Engine is modified as follows:

  1. The Routing Engine detects that some VRRP groups require a state change.

  2. The failover-delay starts for the period configured. The allowed failover-delay timer range is 50 through 100000 miliseconds.

  3. The Routing Engine performs one-by-one state change for the VRRP groups. Every time there is a state change, and the new state for a particular VRRP group is primary, the Routing Engine generates appropriate VRRP announcement messages. However, communication toward the Packet Forwarding Engine is suppressed until the failover-delay timer expires.

  4. After failover-delay timer expires, the Routing Engine sends message to the Packet Forwarding Engine about all VRRP groups that managed to change the state. As a consequence, hardware filters for those groups are reprogrammed, and for those groups whose new state is primary, gratuitous ARP messages are sent.

This process repeats until state transition for all VRRP groups is complete.

Thus, when failover-delay is configured even the Packet Forwarding Engine state for the first VRRP group is deferred. However, the network operator has the advantage of configuring a failover-delay value that best suits the need of the network deployment to ensure minimal outage during VRRP state change.

failover-delay influences only VRRP sessions operated by the VRRP process (vrrpd) running on the Routing Engine. For VRRP sessions distributed to the Packet Forwarding Engine, failover-delay configuration has no effect.

Example: Configure VRRP/VRRPv3 on Chassis Cluster Redundant Ethernet Interfaces

When Virtual Router Redundancy Protocol (VRRP) is configured, multiple devices are grouped into a single virtual router. At any given time, one device operates as the primary (active) router, while the remaining devices function as backups. If the primary device fails, one of the backup devices assumes the primary device.

This example describes how to configure VRRP on a redundant Ethernet interface:

Requirements

This example uses the following hardware and software components:

  • Junos OS Release 18.1 R1 or later for Firewalls.

  • Two Firewalls connected in a chassis cluster.

  • One Firewall connected as standalone device.

Overview

You configure VRRP by creating VRRP groups on redundant Ethernet interfaces on chassis cluster devices and on Gigabit Ethernet interface on standalone devices. A redundant Ethernet interface on a chassis cluster device or a Gigabit Ethernet interface on a standalone device can participate in one or more VRRP groups. Within a VRRP group, the primary redundant Ethernet interface on the chassis cluster device and the backup Gigabit Ethernet interface on the standalone device must be configured.

To configure a VRRP group, you must specify a group identifier and a virtual IP address on all member interfaces. The virtual IP address must be identical across all interfaces in the VRRP group. You then assign priorities to the redundant Ethernet and Gigabit Ethernet interfaces to determine which interface becomes the primary.

You can explicitly control primary and backup roles by configuring priorities from 1 through 255, where 255 represents the highest priority.

Topology

Figure 3 shows the topology used in this example.

Figure 3: VRRP on Redundant interface Network topology with Juniper SRX devices in high availability setup showing end user devices, switches, SRX nodes 0 and 1 in HA cluster with control and fabric links, standalone SRX device, redundant interfaces RETH0 and RETH1, and VRRP group for failover.

Configuration VRRP

Configure VRRPv3, VRRP Groups, and Priority on Redundant Ethernet Interfaces

CLI Quick Configuration

To quickly configure this example, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your network configuration, copy and paste the commands into the CLI at the [edit] hierarchy level, and then enter commit from configuration mode.

Step-by-Step Procedure

To configure VRRPv3, VRRP Groups, and priority on chassis cluster devices:

  1. Configure a filename to the traceoptions to trace VRRP protocol traffic.

  2. Specify the maximum trace file size.

  3. Enable vrrp traceoptions.

  4. Set vrrp version to 3.

  5. Configure this command to support graceful Routing Engine switchover (GRES) for VRRP and for nonstop active routing when there is VRRP reth failover. Using vrrp, a secondary node can take over a failed primary node within a few seconds and this is done with minimum VRRP traffic and without any interaction with the hosts

  6. Set up the redundant Ethernet (reth) interfaces and assign the redundant interface to a zone.

  7. Configure the family inet address and virtual address for the redundant interface 0 unit 0.

  8. Configure the family inet address and virtual address for the redundant interface 1 unit 0.

  9. Set the priority of the redundant interface 0 unit 0 to 255.

  10. Set the priority of the redundant interface 1 unit 0 to 150.

  11. Configure the redundant interface 0 unit 0 to accept all packets sent to the virtual IP address.

  12. Configure the redundant interface 1 unit 0 to accept all packets sent to the virtual IP address.

Results

From configuration mode, confirm your configuration by entering the show interfaces reth0 and show interfaces reth1 commands. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

If you are done configuring the device, enter commit from configuration mode.

Configuring VRRP Groups on Standalone Device

CLI Quick Configuration

To quickly configure this example, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your network configuration, copy and paste the commands into the CLI at the [edit] hierarchy level, and then enter commit from configuration mode.

Step-by-Step Procedure

To configure VRRP groups on standalone device:

  1. Set vrrp version to 3.

  2. Configure the family inet address and virtual address for the Gigabit Ethernet interface unit 0.

  3. Set the priority of the Gigabit Ethernet interface unit 0 to 50.

  4. Configure the Gigabit Ethernet interface unit 0 to accept all packets sent to the virtual IP address.

Results

From configuration mode, confirm your configuration by entering the show interfaces xe-5/0/5 and show interfaces xe-5/0/6 commands. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

If you are done configuring the device, enter commit from configuration mode.

Verification

Confirm that the configuration is working properly.

Verifying the VRRP on Chassis Cluster Devices

Purpose

Verify that VRRP on chassis cluster devices has been configured properly.

Action

From operational mode, enter the show vrrp brief command to display the status of VRRP on chassis cluster devices.

Meaning

The sample output shows that all four VRRP groups are active and that the redundant interfaces has assumed the correct primary roles. The lcl address represents the physical IP address of the interface, while the vip address represents the virtual IP address shared by redundant interfaces.

The Timer values (A 0.149, A 0.155, A 0.445, and A 0.414) indicate the remaining time, in seconds, within which the redundant interfaces expect to receive a VRRP advertisement from the Gigabit Ethernet interfaces. If an advertisement for VRRP groups 0, 1, 2, and 3 is not received before the timer expires, the chassis cluster device declares itself the primary for the corresponding group.

Verify the VRRP on standalone device

Purpose

Verify that VRRP has been configured properly on a standalone device.

Action

From operational mode, enter the show vrrp brief command to display the status of VRRP on standalone device.

Meaning

The sample output shows that all four VRRP groups are active and that the Gigabit Ethernet interfaces have assumed the correct backup roles. The lcl address represents the physical interface address, while thevip address represents the virtual IP address shared by the Gigabit Ethernet interfaces. The Timer values (D 3.093, D 3.502, D 3.499, and D 3.282) indicates the remaining time, in seconds, within which the Gigabit Ethernet interfaces expect to receive a VRRP advertisement from the redundant interfaces. If an advertisement for VRRP groups 0, 1, 2, or 3 is not received before the timer expires, the standalone device remains in the backup state.

Example: Configuring VRRP for IPv6

This example shows how to configure VRRP properties for IPv6.

Requirements

This example uses the following hardware and software components:

  • Three routers

  • Junos OS Release 11.3 or later

    • This example has been recently updated and revalidated on Junos OS Release 21.1R1.
    • For details on VRRP support for specific platform and Junos OS release combinations, see Feature Explorer.

Overview

This example uses a VRRP group, which has a virtual address for IPv6. Devices on the LAN use this virtual address as their default gateway. If the primary router fails, the backup router takes over for it.

Configuring VRRP

Configuring Router A

CLI Quick Configuration

To quickly configure this example, copy the following commands, paste into a text file, remove any line breaks, change any details necessary to match your network configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy level.

Step-by-Step Procedure

To configure this example:

  1. Configure the interfaces.

  2. Configure the IPv6 VRRP group identifier and the virtual IP address.

  3. Configure the priority for RouterA higher than RouterB to become the primary virtual router. RouterB is using the default priority of 100.

  4. Configure track interface to track whether the interface connected to the Internet is up, down, or not present to change the priority of the VRRP group.

  5. Configure accept-data to enable the primary router to accept all packets destined for the virtual IP address.

  6. Configure a static route for traffic to the Internet.

  7. For VRRP for iPv6, you must configure the interface on which VRRP is configured to send IPv6 router advertisements for the VRRP group. When an interface receives an IPv6 router solicitation message, it sends an IPv6 router advertisement to all VRRP groups configured on it.

  8. Configure router advertisements to be sent only for VRRP IPv6 groups configured on the interface if the groups are in the primary state.

Results

From configuration mode, confirm your configuration by entering the show interfaces, show protocols router-advertisement and show routing-options commands. If the output does not display the intended configuration, repeat the instructions in this example to correct the configuration.

If you are done configuring the device, enter commit from configuration mode.

Configuring Router B

CLI Quick Configuration

To quickly configure this example, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your network configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy level.

Step-by-Step Procedure

To configure this example:

  1. Configure the interfaces.

  2. Configure the IPv6 VRRP group identifier and the virtual IP address.

  3. Configure accept-data to enable the backup router to accept all packets destined for the virtual IP address in the event the backup router becomes primary.

  4. Configure a static route for traffic to the Internet.

  5. Configure the interface on which VRRP is configured to send IPv6 router advertisements for the VRRP group. When an interface receives an IPv6 router solicitation message, it sends an IPv6 router advertisement to all VRRP groups configured on it.

  6. Configure router advertisements to be sent only for VRRP IPv6 groups configured on the interface if the groups are in the primary state.

Results

From configuration mode, confirm your configuration by entering the show interfaces, show protocols router-advertisement and show routing-options commands. If the output does not display the intended configuration, repeat the instructions in this example to correct the configuration.

If you are done configuring the device, enter commit from configuration mode.

Configuring Router C

CLI Quick Configuration

To quickly configure this example, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your network configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy level.

Verification

Verifying That VRRP Is Working on Router A

Purpose

Verify that VRRP is active on Router A and that its role in the VRRP group is correct.

Action

Use the following commands to verify that VRRP is active on Router A, that the router is primary for group 1 and the interface connected to the Internet is being tracked.

Meaning

The show vrrp command displays fundamental information about the VRRP configuration. This output shows that the VRRP group is active and that this router has assumed the primary role. The lcl address is the physical address of the interface and the vip address is the virtual address shared by both routers. The Timer value (A 0.690) indicates the remaining time (in seconds) in which this router expects to receive a VRRP advertisement from the other router.

Verifying That VRRP Is Working on Router B

Purpose

Verify that VRRP is active on Router B and that its role in the VRRP group is correct.

Action

Use the following command to verify that VRRP is active on Router B and that the router is backup for group 1.

Meaning

The show vrrp command displays fundamental information about the VRRP configuration. This output shows that the VRRP group is active and that this router has assumed the backup role. The lcl address is the physical address of the interface and the vip address is the virtual address shared by both routers. The Timer value (D 2.947) indicates the remaining time (in seconds) in which this router expects to receive a VRRP advertisement from the other router.

Verifying Router C Reaches the Internet Transiting Router A

Purpose

Verify connectivity to the Internet from Router C.

Action

Use the following commands to verify that Router C can reach the Internet.

Meaning

The ping command shows reachabilty to the Internet and the traceroute command shows that Router A is being transited.

Verifying Router B Becomes Primary for VRRP

Purpose

Verify that Router B becomes primary for VRRP when the interface between Router A and the Internet goes down.

Action

Use the following commands to verify that Router B is primary and that Router C can reach the Internet transiting Router B.

Meaning

The show vrrp track detail command shows the tracked interface is down on Router A, that the priority has dropped to 90, and that Router A is now the backup. The show vrrp command shows that Router B is now the primary for VRRP and the traceroute command shows that Router B is now being transited.

Platform-Specific Link Aggregation Groups Behavior

Use Feature Explorer to confirm platform and release support for specific features.

Use the following table to review platform-specific behaviors for your platform.

Platform

Difference

SRX Series

  • SRX300, SRX320, SRX340, SRX345, and SRX380 Firewalls that support link aggregation behavior, speed mode and link mode configurations are available for member interfaces of a reth.

Additional Platform Information

Use Feature Explorer to confirm platform and release support for specific features.

Platform

Redundant Ethernet LAG interfaces

SRX4600 and SRX5000 line of Firewalls

Each reth interface can have up to eight links per node, for a total of 16 links per interface.

SRX300, SRX320, SRX340, SRX345, SRX380, SRX1500, SRX1600, SRX2300, SRX4120, SRX4100, SRX4200, and SRX4300

Each reth interface can have up to four links per node, for a total of eight links per interface.