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

    Restart a Junos OS Process

    Action

    To restart a Junos OS process, use the following Junos OS CLI operational mode command and include the process you wish to restart. For example:

    user@host> restart routing

    Sample Output

    user@host> restart routing 
    Routing protocol daemon started, pid 751

    Meaning

    The sample output shows that the routing protocol daemon was restarted and the process identification (PID) was changed from 685 in the previous sample output to 751.

    Table 1 lists and describes the options available for the restart command.

    Table 1: Options to Restart a Junos OS Process

    Option

    Description

    class-of-service

    Restart the class-of-service process, which controls the router’s class-of-service configuration.

    gracefully

    Restart the software process by sending the equivalent of a UNIX SIGTERM signal.

    immediately

    Immediately restart the process by sending the equivalent of a UNIX SIGKILL signal.

    interface-control

    Restart the interface process, which controls the router’s physical interface devices and logical interfaces.

    mib-process

    Restart the Management Information Base (MIB) II process, which provides the router’s MIB II agent.

    network-access-service

    Restart the network access process, which provides the router’s Challenge Handshake Authentication Process (CHAP) authentication service.

    remote-operations

    Restart the remote operations process, which provides the ping and traceroute MIBs.

    routing

    Restart the routing protocol process, which controls the routing protocols that run on the router and maintains the routing tables.

    sampling

    Restart the sampling process, which performs packet sampling and cflowd export.

    snmp

    Restart the Simple Network Management Process (SNMP) process, which provides the router’s SNMP master agent.

    soft

    Reread and reactivate the configuration without completely restarting the software processes. For example, Border Gateway Protocol (BGP) peers stay up and the routing table stays constant. This option is the equivalent of a UNIX SIGHUP signal; omitting this option is the equivalent of a UNIX SIGTERM (kill) operation.

    Published: 2012-06-27