After you configure the transparent bridging, LDP, and MPLS components of the VPLS network, you must configure an IGP, such as OSPF or IS-IS, on the PE router to set up routing within the core MPLS network.
This section explains one way to configure OSPF to enable routing in the core network.
Table 81 lists the commands discussed in this section to configure OSPF.
Table 81: Commands to Configure OSPF for a VPLS Network
|
network area |
router ospf |
To configure the PE router to set up OSPF routing for the core MPLS network:
- host1(config)#router ospf 1
- host1(config-router)#network 10.1.1.1 0.0.0.0
area 0.0.0.0
- host1(config-router)#network 10.10.10.0 0.0.0.255
area 0.0.0.0
This example configures an OSPF routing process with process ID 1, and creates two OSPF interfaces in the backbone area (area 0.0.0.0): one using IP address 10.1.1.1, and one using IP address 10.10.10.0. The network area commands create the two OSPF areas if they do not already exist.