Command Line Reference Guide

Open Shortest Path First (OSPFv2 and OSPFv3) | 1043
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
level-1-2 (OPTIONAL) Enter the keyword level-1-2 to redistribute both IS-IS Level-1
and Level-2 routes.
level-2 (OPTIONAL) Enter the keyword level-2 to redistribute only IS-IS Level-2
routes.
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