Command Line Reference Guide

Open Shortest Path First (OSPFv2 and OSPFv3) | 985
Defaults
Not configured.
Command Modes
ROUTER OSPF
Command
History
Usage
Information
IS-IS is not supported on S-Series platforms.
router-id
c e s
Use this command to configure a fixed router ID.
Syntax
router-id ip-address
To remove the fixed router ID, use the no router-id ip-address command.
Parameters
Defaults
This command has no default behavior or values.
Command Modes
ROUTER OSPF
Command
History
Example FTOS(conf)#router ospf 100
FTOS(conf-router_ospf)#router-id 1.1.1.1
Changing router-id will bring down existing OSPF adjacency [y/n]:
FTOS(conf-router_ospf)#show config
!
router ospf 100
router-id 1.1.1.1
FTOS(conf-router_ospf)#no router-id
Changing router-id will bring down existing OSPF adjacency [y/n]:
FTOS#
metric metric-value (OPTIONAL) Enter the keyword metric followed by a number.
Range: 0 (zero) to 4294967295.
metric-type type-value (OPTIONAL) Enter the keyword metric-type followed by one of the following:
1 = for OSPF External type 1
2 = for OSPF External type 2
route-map map-name
(OPTIONAL) Enter the keyword
route-map
followed by the name of the route map.
tag tag-value (OPTIONAL) Enter the keyword tag followed by a number.
Range: 0 to 4294967295
Version 7.8.1.0 Introduced support for Multi-Process OSPF.
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series
pre-Version 6.1.1.1 Introduced on E-Series
ip-address
Enter the router ID in the IP address format
Version 7.8.1.0 Introduced support for Multi-Process OSPF.
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series
pre-Version 6.1.1.1 Introduced on E-Series