Default Type; Default-Cost - Huawei Quidway S3900 series Command Manual

Hide thumbs Also See for Quidway S3900 series:
Table of Contents

Advertisement

Command Manual – Routing Protocol
Quidway S3900 Series Ethernet Switches-Release 1510

3.1.9 default type

Syntax
default type { 1 | 2 }
undo default type
View
OSPF view
Parameter
type 1: External routes of type 1.
type 2: External routes of type 2.
Description
Use the default type command to configure the default type when OSPF imports
external routes.
Use the undo default type command to restore the default type when OSPF imports
external routes.
By default, the external routes of type 2 are imported.
OSPF specifies the two types of external routing information. You can use the
command described in this section to specify the default type when external routes are
imported.
Related command: default tag.
Example
# Configure OSPF to import external routes of type 1 by default.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] ospf 1
[Quidway-ospf-1] default type 1

3.1.10 default-cost

Syntax
default-cost value
undo default-cost
View
OSPF Area view
Huawei Technologies Proprietary
3-8
Chapter 3 OSPF Configuration Commands

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

Table of Contents