Default Cost - H3C S7500E Series Command Manual

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches

2.1.2 default cost

Syntax
default cost value
undo default cost
View
RIP view
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
# Set the default metric for redistributed routes to 3.
<Sysname> system-view
[Sysname] rip 100
[Sysname-rip-100] default cost 3
2.1.3 default-route originate
Syntax
default-route originate cost value
undo default-route originate
View
RIP view
Parameters
value: Cost of the default route, in the range of 1 to 15.
Chapter 2 RIP Configuration Commands
2-2

Advertisement

Table of Contents
loading

Table of Contents