ip ospf router-id

Last Updated : Nov 06, 2012 |

Configures the IP address of the router interface.

Syntax

ip ospf router-id router_id

Parameters

Parameter

Description

Possible Values

Default Value

router_id

The IP address of the router

lowest existing IP interface

User level

read-write

Context

general

Example

To set the IP address of the router interface to 192.168.49.1:

Gxxx-001(super)# ip ospf router-id 192.168.49.1