
Configuring IP, ARP, RARP, RIP, and OSPF Services
6-4
308627-14.20 Rev 00
Supplying an OSPF Router ID
Each router configured with OSPF has an OSPF router ID. This 32-bit value
uniquely identifies this router in the OSPF domain. By convention, and to ensure
uniqueness, use one of the router’s IP interface addresses for the router ID.
In conjunction with the router priority, the router ID determines the designated
router on a broadcast link. If the priority values of the routers being considered are
equal, then the router with the higher router ID is selected.
By default, OSPF uses as the router ID the IP address of the first OSPF interface
configured on this router.
Using the BCC
To change the OSPF router ID, go to the global OSPF prompt (for example,
box;
ip; ospf
) and enter:
router-id
<value>
value
is a 32-bit value in dotted-decimal notation.
For example, the following command specifies IP address 2.2.2.2 for the OSPF
router ID:
ospf#
router-id 2.2.2.2
ospf#
Note:
If both OSPF and BGP are running on the router, the OSPF router ID
and the BGP ID must be identical. In addition, the OSPF router ID must match
one of the IP addresses configured on the router.
Komentarze do niniejszej Instrukcji