4.3.4. router-id

Syntax

router-id A.B.C.D

no router-id

Parameter


A.B.C.D OSPF router ID in IP address format


Default

Mode

OSPF configuration mode

Usage

use Configure OSPF router ID with the command “router ID”

Example

Configure OSPF router ID.

Switch(config)# ospf 1
Switch(config-ospf-1)# router-id 1.1.1.1