Default Cost (Rip View); Default-Route - HP E4510-48G Command Reference Manual

4510g series
Table of Contents

Advertisement

default cost (RIP view)

Syntax
default cost value
undo default cost
View
RIP view
Default Level
2: System level
Parameters
value: Default metric of redistributed routes, in the range of 0 to 16.
Description
Use the default cost command to configure the default metric for redistributed routes.
Use the undo default cost command to restore the default.
By default, the default metric of redistributed routes is 0.
When you use the import-route command to redistribute routes from other protocols without
specifying a metric, the metric specified by the default cost command applies.
Related command: import-route.
Examples
# Configure the default metric for redistributed routes to 3.
<Sysname> system-view
[Sysname] rip 100
[Sysname-rip-100] default cost 3

default-route

Syntax
default-route { only | originate } [ cost cost ]
undo default-route
View
RIP view
Default Level
2: System level
Parameters
only: Advertises only a default route.
originate: Advertises both a default route and other routes.
cost: Cost of the default route, in the range of 1 to 15.
3-2

Advertisement

Table of Contents
loading

Table of Contents