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

request chassis sfm master switch

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
request chassis sfm master switch
 <no-confirm>

Description

(M40e and M160 routers only) Control which Switching and Forwarding Module (SFM) is primary.

Options

no-confirm

(Optional) Do not display a switch warning or query.

Additional Information

By default, the SFM in slot 0 (SFM0) is the primary and the SFM in slot 1 (SFM1) is the backup. If you use this command to change the primary, and then restart the chassis software for any reason, the primary reverts to the default setting. To change the default primary SFM, include the sfm statement at the [edit chassis redundancy] hierarchy level in the configuration. For more information, see the Junos OS Administration Library for Routing Devices.

All installed SFMs are always working together to forward packets. If an SFM fails, the other SFMs take over and traffic continues to flow uninterrupted.

Required Privilege Level

maintenance

Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

request chassis sfm primary switch

content_copy zoom_out_map
user@host> request chassis sfm master switch 
warning: Traffic will be interrupted while the PFE is re-initialized
Toggle mastership between system forwarding module? [yes,no] (no) yes 

Switch initiated, use “show chassis sfm” to verify

request chassis sfm primary switch no-confirm

content_copy zoom_out_map
user@host> request chassis sfm master switch no-confirm 
Switch initiated, use “show chassis sfm” to verify

Release Information

Command introduced before Junos OS Release 7.4.

footer-navigation