Siemens S323, S223 Ospf Distance, To delete the default metric, use the following command

Models: S323 S223

1 381
Download 381 pages 49.11 Kb
Page 354
Image 354

UMN:CLI

User Manual

 

SURPASS hiD 6615 S223/S323 R1.5

 

 

 

The following example shows how to configure it with more than 2 options:

redistribute {bgp connected kernel rip static} metric <0-16777214>tag <0- 4294967295>

redistribute {bgp connected kernel rip static} tag <0-4294967295>metric- type <1-2>

For efficient transmission of routing information, and to avoid non-matching between met- ric and OSPF routing protocol, use the default matric command to assign metric about redistribute route.

To configure the default metric, use the following command.

Command

Mode

Description

 

 

 

default-metric <0-16777214>

Router

Configures the default metric.

 

 

 

To delete the default metric, use the following command.

Command

Mode

Description

 

 

 

no default-metric [<0-16777214>]

Router

Deletes the default metric.

 

 

 

10.2.13OSPF Distance

An administrative distance is a rating of the trustworthiness of a routing information source, such as an individual router or a group of routers. Numerically, an administrative distance is an integer between 0 and 255. In general, the higher the value is, the lower the trust rating is. An administrative distance of 255 means the routing information source cannot be trusted at all and should be ignored.

OSPF uses three different administrative distances: intra-area, inter-area, and external. Routes learned through other domain are external, routes to another area in OSPF do- main are inter-area, and routes inside an area are intra-area. The default distance for each type of route is 110. In order to change any of the OSPF distance values, use the following commands.

The following is explaining 3 options of command.

external <1-255>

inter-area <1-255>

intra-area <1-255>

To configure the distance with 1 option, use the following command.

Command

Mode

Description

 

 

 

distance ospf external <1-255>

 

Configures the distance of OSPF route.

 

Router

distance ospf inter-area <1-255>

(default: 110)

 

 

distance ospf intra-area <1-255>

 

 

 

 

 

 

354

A50010-Y3-C150-2-7619

Page 354
Image 354
Siemens S323, S223 Ospf Distance, To delete the default metric, use the following command, External Inter-area Intra-area