This blog was originally started to better help me understand the technologies in the CCIE R&S blueprint; after completing the R&S track I have decided to transition the blog into a technology blog.

CCIE #29033

This blog will continue to include questions, troubleshooting scenarios, and references to existing and new technologies but will grow to include a variety of different platforms and technologies. Currently I have created over 185 questions/answers in regards to the CCIE R&S track!! Note: answers are in the comment field or within "Read More" section.

You can also follow me on twitter @FE80CC1E


Monday, May 2, 2011

Quick Notes - MPLS and OSPF

You must enable MPLS but you cannot enable "mpls ip" on the interface. Current network is leveraging OSPF.

R1

interface Serial1/0
 ip address 192.168.0.1 255.255.255.0
interface Serial1/1
 ip address 192.168.2.1 255.255.255.0

router ospf 1
 mpls ldp sync (this ensures that MPLS waits for the IGP to be fully synchronized before issuing labels - not required for the configuration)
 mpls ldp autoconfig area 0 (this enables MPLS on all interfaces that are in area 0)
 log-adjacency-changes
 network 0.0.0.0 255.255.255.255 area 0

R2

interface Serial1/0
 ip address 192.168.0.2 255.255.255.0
interface Serial1/1
 ip address 192.168.2.2 255.255.255.


router ospf 1
 mpls ldp sync
 mpls ldp autoconfig
 log-adjacency-changes
 network 0.0.0.0 255.255.255.255 area 0



Verification R1

R1(config-router)#do sh mpls ldp ne
    Peer LDP Ident: 192.168.2.2:0; Local LDP Ident 192.168.2.1:0
        TCP connection: 192.168.2.2.52947 - 192.168.2.1.646
        State: Oper; Msgs sent/rcvd: 11/11; Downstream
        Up time: 00:05:49
        LDP discovery sources:
          Serial1/0, Src IP addr: 192.168.0.2
          Serial1/1, Src IP addr: 192.168.2.2
        Addresses bound to peer LDP Ident:
          192.168.0.2     192.168.2.2

R1(config-router)#do sh mpls inter
Interface              IP            Tunnel   Operational
Serial1/0              Yes (ldp)     No       Yes
Serial1/1              Yes (ldp)     No       Yes

Verification R2
R2(config-router)#do sh mpls ldp ne
    Peer LDP Ident: 192.168.2.1:0; Local LDP Ident 192.168.2.2:0
        TCP connection: 192.168.2.1.646 - 192.168.2.2.52947
        State: Oper; Msgs sent/rcvd: 13/13; Downstream
        Up time: 00:07:16
        LDP discovery sources:
          Serial1/1, Src IP addr: 192.168.2.1
          Serial1/0, Src IP addr: 192.168.0.1
        Addresses bound to peer LDP Ident:
          192.168.0.1     192.168.2.1

R2(config-router)#do sh mpls inter
Interface              IP            Tunnel   Operational
Serial1/0              Yes (ldp)     No       Yes
Serial1/1              Yes (ldp)     No       Yes

0 comments:

Post a Comment