IPv4 Static Routing on Juniper

juniper-static-routing

Static Routing on Juniper Routers

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-static-routing

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 complete

To show the configured static route:

Lesson tags: Static Routing, junos, juniper
Back to: JNCIS > Protocol-Independant Routing

Comments are closed.

IPCisco is the Finalist! Kindly Vote For IPCisco..!

ipcisco-cisco-blog-award