Example: Configuring an OSPF Router Identifier
This example shows how to configure an OSPF router identifier.
Requirements
Before you begin:
- Enable OSPF on all interfaces within the network on which OSPF traffic is to travel. See OSPF Configuration Overview.
- Configure network interfaces. See the Junos OS Interfaces Configuration Guide for Security Devices.
- Configure security filters. See the Junos OS Security Configuration Guide.
Overview
In this example, you configure the OSPF router identifier by setting its router ID value to the IP address of the device, which is 177.162.4.24.
Configuration
Step-by-Step Procedure
To configure an OSPF router Identifier:
- Configure the OSPF router identifier.[edit]user@host# set routing-options router-id 177.162.4.24
- If you are done configuring the device,
commit the configuration.[edit]user@host# commit
Verification
To verify the configuration is working properly, enter the show routing-options router-id command.
Related Topics
- Junos OS Feature Support Reference for SRX Series and J Series Devices
- Understanding OSPF Designated Routers on page 41
- OSPF Configuration Overview
- OSPF Overview
- Verifying an OSPF Configuration
Hide Navigation Pane
Show Navigation Pane
Download
SHA1