Configuring LDP

From ImageStream Router Documentation

Revision as of 21:44, 23 November 2009 by Syoder (Talk | contribs)
Jump to: navigation, search

LDP Configuration Example 1

Simple 3 MPLS router setup using LDP and OSPF.

MPLS ex1.png

LER1 Configuration

wan.conf configuration

!
interface Loopback0
 ip address 5.5.5.1 255.255.255.255
!
interface Ethernet0
 description MPLS Core
 ip address 10.5.0.2 255.255.255.0
!
interface Ethernet1
 description Customer A Site 1
 ip address 10.20.0.1 255.255.255.0
!

Quagga configuration

interface eth0
 mpls ip
 mpls labelspace 0
!
mpls ldp
 egress connected
!
router ospf
 network 5.5.5.0/24 area 0.0.0.0
 network 10.5.0.0/24 area 0.0.0.0
 network 10.20.0.0/24 area 0.0.0.0
!

LER2 Configuration

wan.conf configuration

!
interface Loopback0
 ip address 5.5.5.2 255.255.255.255
!
interface Ethernet0
 description MPLS Core
 ip address 10.6.0.2 255.255.255.0
!
interface Ethernet1
 description Customer A Site 2
 ip address 10.21.0.1 255.255.255.0
!

Quagga configuration

interface eth0
 mpls ip
 mpls labelspace 0
!
mpls ldp
 egress connected
!
router ospf
 network 5.5.5.0/24 area 0.0.0.0
 network 10.6.0.0/24 area 0.0.0.0
 network 10.21.0.0/24 area 0.0.0.0
!
Personal tools
Router software releases