router-id

This command specifies the router ID (as an IP address)

Syntax

router-id <a.b.c.d> [vrf <vrf name>]
no ip router-id

Command

Description

a.b.c.d

Defines the local IP address

VRF name

Defines the vrf name (up to 64 bytes).

Default

NA

Command Mode

Privileged User

Example

This example specifies the router ID as an IP address.

(config-data)# router-id 10.15.4.12