Configure a Default Route
To configure an IPv4 default route, include the
next-hop addressandretainstatements:[edit routing-options static route default]next-hopaddress;retain;To configure an IPv6 static route, include the
next-hop addressandretainstatements:[edit routing-options rib inet6.0 static (default | route)]next-hopaddress;retain;For a list of hierarchy levels at which you can configure these statements, see the statement summary sections for these statements.