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-readvertise statement:
-
static (defaults | route) {
-
no-readvertise;
- }
To mark an IPv6 static route as being ineligible for readvertisement, include the no-readvertise statement:
-
rib inet6.0 static (defaults | route) {
-
no-readvertise;
- }
To explicitly readvertise IPv4 static routes, include the readvertise statement. Include the readvertise statement when configuring an individual route in the route portion of the static statement to override a no-readvertise statement specified in the defaults portion of the statement.
-
static (defaults | route) {
-
readvertise;
- }
To explicitly readvertise IPv6 static routes, include the readvertise statement. Include the readvertise statement when configuring an individual route in the route portion of the static statement to override a no-readvertise option specified in the defaults portion of the statement.
-
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.