Default Cost - Huawei quidway s3526 series Getting Started

Hide thumbs Also See for quidway s3526 series:
Table of Contents

Advertisement

Command Manual - Routing Protocol
Quidway S3500 Series Ethernet Switches
By default, an area does not support authentication attribute.
All the routers in one area must use the same authentication mode (no authentication,
simple text authentication or MD5 cipher text authentication). If the mode of supporting
authentication is configured, all routers on the same segment must use the same
authentication key. To configure a simple text authentication key, use the ospf
authentication-mode simple command. And, use the ospf authentication-mode
md5 command to configure the MD5 cipher text authentication key if the area is
configured to support MD5 cipher text authentication mode.
For the related commands, see ospf authentication-mode.
Example
# Specify the OSPF area 0 to support MD5 cipher text authentication:
[Quidway-ospf] area 0
[Quidway-ospf-area-0.0.0.0] authentication-mode md5

3.1.5 default cost

Syntax
default cost value
undo default cost
View
OSPF view
Parameter
value: Default routing cost of external route imported by OSPF, ranging from 0 to
16777214. By default, its value is 1.
Description
Using default cost command, you can configure the default cost for OSPF to import
external routes. Using undo default cost command, you can restore the default value
of the default routing cost configured for OSPF to import external routes.
Since OSPF can import external routing information, whose routing cost can influence
routing selection and calculation, and propagate it to the entire autonomous system, it
is necessary to specify the default routing cost for the protocol to import external routes.
Example
# Specify the default routing cost for OSPF to import external routes as 10.
[Quidway-ospf] default cost 10
Huawei Technologies Proprietary
3-4
Chapter 3 OSPF Configuration Commands

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents