32 router-id (ospf) – CANOGA PERKINS 9175 Command Reference User Manual

Page 237

Advertising
background image

CanogaOS Command Reference

15-28

Router configuration


Usage

The metric value specified in the redistribute command supersedes the metric value specified using

the

Default

-metric command.


Examples

The following example redistribute the static routes into OSPF with metric 10:

router ospf 119

network 10.108.0.0/16

redistribute static metric 10

!


Related Commands

default-metric

15.32 router-id (OSPF)

To use a fixed router ID, use the router-id command in router configuration mode. To force Open

Shortest Path First (OSPF) to use the previous OSPF router ID behavior, use the no form of this

command.


Command Syntax

router-id ip-address

no router-id

ip-address

Router ID in IP address format.


Default

No OSPF routing process is defined.


Command Mode

Router configuration


Usage

You can configure an arbitrary value in the IP address format for each router. However, each router ID

must be unique.

If this command is used on an OSPF router process which is already active (has neighbors), the new

router-ID is used at the next reload or at a manual OSPF process restart. To manually restart the OSPF

process, use the clear ip ospf command.


Examples

The following example specifies a fixed router-id:

router ospf 119

router-id 10.1.1.1

Advertising