Default-Cost (Ospf Area View); Default-Route-Advertise (Ospf View) - 3Com S7906E Command Reference Manual

6300 series
Hide thumbs Also See for S7906E:
Table of Contents

Advertisement

[Sysname-ospf-100] default cost 10 limit 20000 tag 100 type 2

default-cost (OSPF area view)

Syntax
default-cost cost
undo default-cost
View
OSPF area view
Default Level
2: System level
Parameters
cost: Specifies a cost for the default route advertised to the Stub or NSSA area, in the range 0 to
16777214.
Description
Use the default-cost command to configure a cost for the default route advertised to the stub or NSSA
area.
Use the undo default-cost command to restore the default value.
The cost defaults to 1.
This command is only applicable to the ABR of a stub area or the ABR/ASBR of an NSSA area.
Related commands: stub, nssa.
Examples
# Configure Area 1 as a stub area, and specify the cost of the default route advertised to the stub area
as 20.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] area 1
[Sysname-ospf-100-area-0.0.0.1] stub
[Sysname-ospf-100-area-0.0.0.1] default-cost 20

default-route-advertise (OSPF view)

Syntax
default-route-advertise [ [ always | cost cost | type type | route-policy route-policy-name ] * |
summary cost cost ]
undo default-route-advertise
View
OSPF view
1-6

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

S7910eS7906e-vS7903eS7903e-sS7902e

Table of Contents