Example: Configuring OSPF on the VPLS PE Router
This example shows how to configure OSPF on the VPLS PE router.
Requirements
Before you begin:
- Before you begin, see information on Selective Stateless Packet-based Services in the Junos OS Administration Guide for Security Devices.
- Configure the interfaces that will carry the VPLS traffic between the PE router and the CE devices. See Example: Configuring Routing Interfaces on the VPLS PE Router and Example: Configuring the Interface to the VPLS PE Device.
- Create a VPLS routing instance on each PE router that is participating in the VPLS. See Example: Configuring the VPLS Routing Instance.
Overview
The PE routers exchange routing information using an IGP such as OSPF. In this example, you configure OSPF area 0.0.0.0 on the VPLS PE router and traffic engineering for OSPF.
Configuration
Step-by-Step Procedure
To configure OSPF on the VPLS PE router:
- Configure the OSPF area on the VPLS PE router.[edit]user@host# set protocols ospf area 0.0.0.0 interface so-2/0/1.0user@host# set protocols ospf area 0.0.0.0 interface lo0.0
- Configure traffic engineering for OSPF.[edit]user@host# set protocols ospf traffic-engineering
- 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 protocols command.
Related Topics
- Junos OS Feature Support Reference for SRX Series and J Series Devices
- VPLS Configuration Overview
- VPLS Overview
Hide Navigation Pane
Show Navigation Pane
Download
SHA1