Default-Route - H3C S6550X-HI Series Command Reference Manual

Table of Contents

Advertisement

Examples
# Configure a default metric of 3 for redistributed routes.
<Sysname> system-view
[Sysname] rip 1
[Sysname-rip-1] default cost 3
Related commands
import-route

default-route

Use
default-route
with a specified metric to RIP neighbors.
Use
undo default-route
Syntax
default-route { only | originate } [ cost cost-value | route-policy
route-policy-name ] *
undo default-route
Default
No default route is sent to RIP neighbors.
Views
RIP view
Predefined user roles
network-admin
Parameters
: Advertises only a default route.
only
originate
cost-value
route-policy route-policy-name
string of 1 to 63 characters. If you specify this option, the command advertises a default route only
when a route in the routing table matches the routing policy.
Usage guidelines
A RIP router configured with this feature does not receive any default route from RIP neighbors.
Examples
# Configure all interfaces running RIP process 100 to send only a default route with a metric of 2 to
RIP neighbors.
<Sysname> system-view
[Sysname] rip 100
[Sysname-rip-100] default-route only cost 2
Related commands
rip default-route
to configure all interfaces running a RIP process to advertise a default route
to restore the default.
: Advertises both a default route and other routes.
: Specifies a cost for the default route, in the range of 1 to 15. The default is 1.
: Specifies a routing policy by its name, a case sensitive
3

Advertisement

Table of Contents
loading

Table of Contents