Supported Platforms
Related Documentation
- EX Series
- Understanding Nonstop Bridging on EX Series Switches
- EX, MX Series, QFX Series standalone switches
- Nonstop Bridging Concepts
- QFX Series standalone switches
- Performing an In-Service Software Upgrade (ISSU)
- Understanding In-Service Software Upgrade (ISSU)
Configuring Nonstop Bridging on Switches (CLI Procedure)
![]() | Note: This task uses switches with support for the Enhanced Layer 2 Software (ELS) configuration style. If your switch runs software that does not support ELS, see Configuring Nonstop Bridging on EX Series Switches (CLI Procedure). For ELS details, see Getting Started with Enhanced Layer 2 Software. |
You can configure nonstop bridging (NSB) to provide resilience for Layer 2 protocol sessions on a Juniper Networks EX Series switch with multiple Routing Engines or an EX Series or QFX Series switch in a Virtual Chassis or Virtual Chassis Fabric configuration. Limited support for NSB is also provided on a QFX5100 standalone switch, but NSB is enabled only during an ISSU.
NSB operates by synchronizing all protocol information for NSB-supported Layer 2 protocols between the master and backup Routing Engines. If the switch has a Routing Engine switchover, the NSB-supported Layer 2 protocol sessions remain active because they are already synchronized on the backup Routing Engine. The Routing Engine switchover is transparent to neighbor devices, which do not detect any changes related to the Layer 2 protocol sessions. The neighboring devices and other devices on the network do not, therefore, have to resynchronize their Layer 2 protocol states to respond to the downtime on the switch—a process that adds network overhead and risks disrupting network performance—when a Routing Engine switchover occurs when NSB is enabled.
![]() | Note: If you are using a QFX5100 standalone switch and you want to use ISSU, configure Graceful Routing Engine switchover (GRES), NSB and nonstop active routing (NSR). You must configure NSB, GRES, and NSR in order to run ISSU. However, GRES, NSB and NSR are enabled only during the upgrade. During an ISSU, the Junos OS runs in two separate virtual machines (VMs)—one VM is in the master role acting as the master Routing Engine, and the other VM is in the backup role acting as the backup Routing Engine. The Junos OS is upgraded on the backup VM. After a successful software upgrade, the backup VM then becomes the master VM, and the original master VM is no longer needed and is shut down. |
To configure NSB:
- Enable graceful Routing Engine switchover (GRES):
[edit chassis redundancy]
user@switch# set graceful-switchover - Enable NSB:
[edit protocols layer2-control]
user@switch# set nonstop-bridging - Synchronize configuration changes between the Routing
Engines:
[edit system]
user@switch# set commit synchronizeIf you try to commit a configuration that includes NSB without including the commit synchronize statement, the commit fails.
![]() | Note: There is no requirement to start the two Routing Engines simultaneously. If the backup Routing Engine is not up when you use the commit synchronize statement, the candidate configuration is committed in the master Routing Engine. When the backup Routing Engine comes online, its configuration is automatically synchronized with that of the master. |
![]() | Best Practice: After a graceful Routing Engine switchover, we recommend that you issue the clear interface statistics (interface-name | all) command to reset the cumulative values for local statistics on the new master Routing Engine. |
Related Documentation
- EX Series
- Understanding Nonstop Bridging on EX Series Switches
- EX, MX Series, QFX Series standalone switches
- Nonstop Bridging Concepts
- QFX Series standalone switches
- Performing an In-Service Software Upgrade (ISSU)
- Understanding In-Service Software Upgrade (ISSU)
Published: 2014-06-02
Supported Platforms
Related Documentation
- EX Series
- Understanding Nonstop Bridging on EX Series Switches
- EX, MX Series, QFX Series standalone switches
- Nonstop Bridging Concepts
- QFX Series standalone switches
- Performing an In-Service Software Upgrade (ISSU)
- Understanding In-Service Software Upgrade (ISSU)