Static Routing is the manual route configuration on routers. In JUNOS, static route configuration is done similarly with other Network operating systems.
After “static route” command, the destination network is mentioned and then next-hop ip address is given. This static route definition is done under “routing-options” hierarchy in JUNOS.
For our JUNOS Static Route Example, we will use the below simple topology.
juniper-junos@Kosem> configure [edit] juniper-junos@Kosem# edit routing-options [edit routing-options] juniper-junos@Kosem# set static route 10.10.10.0/24 next-hop 172.16.1.1 [edit routing-options] juniper-junos@Kosem# show static { route 10.10.10.0/24 next-hop 172.16.1.1; } [edit routing-options] juniper-junos@Kosem# commit commit completeTo show the configured static route: