MPLS IP, Interface Autoconfiguration

No MPLS Interfaces configured, just OSPF

so here are the interfaces participating in OSPF:

R6(config-router)#do show ip ospf inter br
Interface    PID   Area            IP Address/Mask    Cost  State Nbrs F/C
Se0/0/0.68   1     1               192.168.68.6/24    1000  P2P   1/1
Se0/0/0.56   1     1               192.168.56.6/24    10000 P2P   1/1
Lo0          1     1               6.6.6.6/32         1     LOOP  0/0

And this is the output of show mpls interfaces

R6(config-router)#do show mpls inter
Interface              IP            Tunnel   Operational
Serial0/0/0.36         No            Yes      No
Serial0/0/0.56         No            Yes      Yes
Serial0/0/0.68         No            Yes      Yes

In the OSPF Process, we type:

R6(config-router)#mpls ldp autoconfig area 1

NOW we get!!!

R6(config-router)#do show mpls inter
Interface              IP            Tunnel   Operational
Serial0/0/0.36         No            Yes      No
Serial0/0/0.56         Yes (ldp)     Yes      Yes
Serial0/0/0.68         Yes (ldp)     Yes      Yes

How, cool!!
Also you could disable the LDP Autoconfiguration from an interface

R6(config)#int s0/0/0.56
R6(config-subif)#no mpls ldp igp autoconfig

Output of show mpsl inter

R6(config-router)#do show mpls inter
Interface              IP            Tunnel   Operational
Serial0/0/0.36         No            Yes      No
Serial0/0/0.56         No            Yes      Yes
Serial0/0/0.68         Yes (ldp)     Yes      Yes

This could save a lot time while doing labs with OSPF…

A Networker Blog

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s