Supported Platforms
Related Documentation
- ACX, J, M, MX, SRX, T Series
- OSPF Configuration Overview
- ACX, M, MX, T Series
- About OSPF Interfaces
Example: Configuring an OSPFv2 Interface on a Point-to-Multipoint Network
This example shows how to configure an OSPFv2 interface on a point-to-multipoint network.
Requirements
Before you begin:
- Configure the router identifiers for the devices in your OSPF network. See Example: Configuring an OSPF Router Identifier.
- Control OSPF designated router election. See Example: Controlling OSPF Designated Router Election
- Configure a multiarea OSPF network. See Example: Configuring a Multiarea OSPF Network.
Overview
When you configure OSPFv2 on a nonbroadcast multiaccess (NBMA) network, such as a multipoint Asynchronous Transfer Mode (ATM) or Frame Relay, OSPFv2 operates by default in point-to-multipoint mode. In this mode, OSPFv2 treats the network as a set of point-to-point links. Because there is no autodiscovery mechanism, you must configure each neighbor.
When you configure the interface, specify either the IP address or the interface name. Using both the IP address and the interface name produces an invalid configuration.
In this example, you configure ATM interface at-0/1/0 as an OSPFv2 interface in OSPF area 0.0.0.1, and you and specify 192.0.2.1 as the neighbor’s IP address.
Configuration
CLI Quick Configuration
To quickly configure an OSPFv2 interface on a point-to-multipoint network, copy the following commands and paste them into the CLI.
Step-by-Step Procedure
To configure an OSPFv2 interface on a point-to-multipoint network:
- Configure the interface.[edit]user@host# set interfaces at-0/1/0 unit 0 family inet address 192.0.2.2
- Create an OSPF area.[edit]user@host# edit protocols ospf area 0.0.0.1
- Assign the interface to the area and specify the neighbor.[edit protocols ospf area 0.0.0.1]user@host# set interface at-0/1/0 neighbor 192.0.2.1
To configure multiple neighbors, include a neighbor statement for each neighbor.
- If you are done configuring the device, commit the configuration.[edit protocols ospf area 0.0.0.1]user@host# commit
Results
Confirm your configuration by entering the show interfaces and the show protocols ospf commands. If the output does not display the intended configuration, repeat the instructions in this example to correct the configuration.
Verification
Confirm that the configuration is working properly.
Verifying the OSPF Interface
Purpose
Verify the interface configuration. Confirm that the Type field displays P2MP.
Action
From operational mode, enter the show ospf interface detail command.
Related Documentation
- ACX, J, M, MX, SRX, T Series
- OSPF Configuration Overview
- ACX, M, MX, T Series
- About OSPF Interfaces
Published: 2012-12-08
Supported Platforms
Related Documentation
- ACX, J, M, MX, SRX, T Series
- OSPF Configuration Overview
- ACX, M, MX, T Series
- About OSPF Interfaces