[Contents] [Prev] [Next] [Index] [Report an Error]


Configuring a Default Route

To configure an IPv4 default route, include the next-hop address and retain statements:

static route default {
    next-hop address; 
    retain;
}

To configure an IPv6 static route, include the next-hop address and retain statements:

rib inet6.0 static (default | route) {
    next-hop address; 
    retain;
}

For a list of hierarchy levels at which you can configure these statements, see the statement summary sections for these statements.


[Contents] [Prev] [Next] [Index] [Report an Error]