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

    Configuring a Static Route to Devices on Other Networks (SRC CLI)

    In some instances, the SRC software might need to connect to devices that reside on networks other than the one that the SRC software accesses directly. You can configure a static route for the software to be able to connect devices on other networks.

    When you specify IP addresses for a static route, include a network mask.

    To configure a static route to another network:

    • From configuration mode, enter the following command at the top level of the hierarchy.
      [edit]user@host# set routing-options static route destination next-hop next-hop

      The next-hop option is required.

    You can also specify that packets to the specified destination be dropped and that an ICMP unreachable message be returned.

    To specify that packets to a specified network be dropped:

    • From configuration mode, enter the following command at the top level of the hierarchy.
      [edit]user@host# set routing-options static route destination next-hop next-hop reject

     

    Modified: 2014-06-10