Specify When the Route Can Be Readvertised
By default, static routes are eligible to be readvertised (that is, exported) by dynamic routing protocols. To mark an IPv4 static route as being ineligible for readvertisement, include the
no-readvertisestatement:[edit routing-options static (defaults | route)]no-readvertise;To mark an IPv6 static route as being ineligible for readvertisement, include the
no-readvertisestatement:[edit routing-options rib inet6.0 static (defaults | route)]no-readvertise;To explicitly readvertise IPv4 static routes, include the
readvertisestatement. Include thereadvertisestatement when configuring an individual route in therouteportion of thestaticstatement to override aretainstatement specified in thedefaultsportion of the statement.[edit routing-options static (defaults | route)]readvertise;To explicitly readvertise IPv6 static routes, include the
readvertisestatement. Include thereadvertisestatement when configuring an individual route in therouteportion of thestaticstatement to override aretainoption specified in thedefaultsportion of the statement.[edit routing-options rib inet6.0 static (defaults | route)]readvertise;For a list of hierarchy levels at which you can configure these statements, see the statement summary sections for these statements.