
Chapter 29
| IP Routing Commands
Open Shortest Path First (OSPFv2)
– 842 –
routes, the internal cost is only used as a tie-breaker if several Type 2 routes
have the same cost.
◆
This command should not be used to generate a default route for a stub or
NSSA. To generate a default route for these area types, use the
commands.
Example
This example assigns a metric of 20 to the default external route advertised into an
autonomous system, sending it as a Type 2 external metric.
Console(config-router)#default-information originate metric 20 metric-type 2
Console(config-router)#
Related Commands
ip route (803)
redistribute (889)
router-id
This command assigns a unique router ID for this device within the autonomous
system for the current OSPF process. Use the
no
form to use the default router
identification method (i.e., the highest interface address).
Syntax
router-id
ip-address
no router-id
ip-address
- Router ID formatted as an IPv4 address.
Command Mode
Router Configuration
Default Setting
Highest interface address
Command Usage
◆
This command sets the router ID for the OSPF process specified in the
command.
◆
The router ID must be unique for every router in the autonomous system. Using
the default setting based on the highest interface address ensures that each
router ID is unique. (Note that the router ID cannot be set to 0.0.0.0).
◆
If this router already has registered neighbors, the new router ID will be used
when the router is rebooted, or manually restarted by entering the
no router
ospf
followed by the
router ospf
command.
Summary of Contents for AS5700-54X
Page 42: ...Contents 42...
Page 44: ...Figures 44...
Page 52: ...Tables 52...
Page 54: ...Section I Getting Started 54...
Page 80: ...Chapter 1 Initial Switch Configuration Setting the System Clock 80...
Page 210: ...Chapter 6 Remote Monitoring Commands 210...
Page 358: ...Chapter 9 Access Control Lists ACL Information 358...
Page 418: ...Chapter 12 Port Mirroring Commands RSPAN Mirroring Commands 418...
Page 436: ...Chapter 15 UniDirectional Link Detection Commands 436...
Page 442: ...Chapter 16 Address Table Commands 442...
Page 506: ...Chapter 18 VLAN Commands Configuring VXLAN Tunneling 506...
Page 526: ...Chapter 19 Class of Service Commands Priority Commands Layer 3 and 4 526...
Page 544: ...Chapter 20 Quality of Service Commands 544...
Page 652: ...Chapter 22 Multicast Filtering Commands MLD Proxy Routing 652...
Page 680: ...Chapter 23 LLDP Commands 680...
Page 722: ...Chapter 24 CFM Commands Delay Measure Operations 722...
Page 732: ...Chapter 25 Domain Name Service Commands 732...
Page 790: ...Chapter 27 IP Interface Commands ND Snooping 790...
Page 1072: ...Section III Appendices 1072...
Page 1102: ...List of CLI Commands 1102...
Page 1115: ......
Page 1116: ...AS5700 54X AS6700 32X E032016 ST R02 149100000198A...