Example: Configuring OSPF on the VPLS PE Router
This example shows how to configure OSPF on the VPLS PE router.
Before you begin:
Before you begin, see Understanding Selective Stateless Packet-Based Services .
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 CE Device.
Create a VPLS routing instance on each PE router that is participating in the VPLS. See Example: Configuring the VPLS Routing Instance.
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.
To configure OSPF on the VPLS PE router:
- Configure the OSPF area on the VPLS PE router.user@host# set protocols ospf area 0.0.0.0 interface t1-1/0/1.0user@host# set protocols ospf area 0.0.0.0 interface lo0.0
- Configure traffic engineering for OSPF.user@host# set protocols ospf traffic-engineering
- If you are done configuring the device, commit the configuration.user@host# commit
To verify the configuration is working properly, enter the show protocols command.