Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All
     

    Related Documentation

     

    Control Redundant SFMs

    To control the operation of an SFM:

    1. Take an SFM Offline
    2. Bring an SFM Online
    3. Switch SFM Mastership

    Take an SFM Offline

    To take an SFM offline, use the following command:

    user@host> request chassis sfm slot slot-number offline
    user@host> request chassis sfm slot 0 offline
    Offline initiated, use "show chassis sfm" to verify
    

    For M40e routers:

    user@host> show chassis sfm
    Temp  CPU Utilization (%)   Memory    Utilization (%)
    Slot State            (C)  Total  Interrupt      DRAM (MB) Heap     Buffer
      0  Offline         --- Offlined by cli command ---
      1  Online - Standby  41      4          0        64        16         46
    

    For M160 routers:

    user@host> show chassis sfm
    Temp  CPU Utilization (%)   Memory    Utilization (%)
    Slot State            (C)  Total  Interrupt      DRAM (MB) Heap     Buffer
      0  Online            41      3          0        64        17         46
      1  Online            44      4          0        64        17         46
      2  Online            44      4          0        64        17         46
      3  Offline         --- Offlined by cli command ---
    Packet scheduling mode: Disabled
    

    The sample output confirms that the SFM offline command has been initiated and specifies to use the show chassis sfm command to verify that the SFM is offline. The command output for both the M40e and M160 routers shows that the SFM is offline and that this state was generated by running the command.

    Bring an SFM Online

    To bring an SFM online, use the following command:

    user@host> request chassis sfm slot slot-number online
    user@host> request chassis sfm slot 0 online
    Online initiated, use "show chassis sfm" to verify
    

    For M40e routers:

    user@host> show chassis sfm
    Slot State            (C)  Total  Interrupt      DRAM (MB) Heap     Buffer
      0  Present            0      0          0         0         0          0
      1  Online - Standby  41      4          0        64        16         46
    

    For M160 routers:

    user@host> show chassis sfm
    Temp  CPU Utilization (%)   Memory    Utilization (%)
    Slot State            (C)  Total  Interrupt      DRAM (MB) Heap     Buffer
      0  Online            41      3          0        64        17         46
      1  Online            44      3          0        64        17         46
      2  Online            44      3          0        64        17         46
      3  Present            0      0          0         0         0          0
    Packet scheduling mode: Disabled
    

    The sample output confirms that the SFM online command has been initiated and specifies to use the show chassis sfm command to verify that the SFM is online. The command output shows that the SFM is present and that the values for the SFM status are 0 for approximately 5 seconds until the SFM is active.

    Switch SFM Mastership

    To switch SFM mastership on M40e routers only. By default, the SFM in slot 0 (SFM0) is the master and the SFM in slot 1 (SFM1) is the backup.

    To change the default master SFM, include the sfm statement at the [edit chassis redundancy] hierarchy level in the configuration. For more information, see the Junos OS System Basics Configuration Guide.

    To switch SFM mastership, use the following command:

    user@host> request chassis sfm master switch <no-confirm>

    Sample Output

    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
    

    The following command output displays if you use the no-confirm option:

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

    Related Documentation

     

    Published: 2012-08-20