cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1009
Views
1
Helpful
4
Replies

Simple network with static MPLS LSP

Translator
Community Manager
Community Manager

Hey guys.

I need to configure a fully static MPLS network (both the labels and the LSP), that is, without using LDP, RSVP or any other labeling protocol.

I'm trying to do this on a network with Cisco 1941 routers.
Cisco IOS Software, C1900 Software (C1900-UNIVERSALK9-M), Version 15.2(1)T3, RELEASE SOFTWARE (fc1)

I've already managed to define the labels statically, with the commands and MPLS forwarding worked as expected. But with LDP creating the label switched path (LSP).

However, I was unable to create a static LSP.

When searching the internet I found this document: https://www.cisco.com/c/en/us/td/docs/routers/crs/software/mpls/command/reference/b-mpls-cr-crs/mpls -static-commands.html?dtid=osscdc000283#wp1973952832

It shows how to configure a static LSP on Cisco CRS Routers, basically using the command in global configuration mode and telling which interface will forward packets this way

router# configure
static router(config)# mpls
router(config-mpls-static)# gigabitEthernet interface 0/1/0/0

However, when trying to reproduce this command on my Cisco 1941, the "router(config-mpls-static)#" prompt does not appear, and although no error message appears, MPLS forwarding does not work.

See output below (note that no error message is displayed):

router# configure
static router(config)# mpls
router(config)#

Any suggestion?

Thanks in advance for your help.

4 Replies 4

Cisco 1941 use IOS 
CSR use IOS XE 
that why these commands not appear in Cisco1941

Translator
Community Manager
Community Manager

Hi

I don't understand why you need to configure the label without LDP, RSVP but anyway, I don't know if this router can do this because it is a limited device but alternatively, you can try this:

  1. enable
  2. configure terminal
  3. mpls label range min-label max-label
  4. mpls static binding ipv4 prefix mask [input

More details can see here
https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/mp_basic/configuration/xe-16/mp-basic-xe-16-book/mpls-static-labels.html#GUID-754882DB-9980-4E95-B607-D4430A940FB0

This for ios xe also he have router run ios.

Hi Pedro.

Thanks for the feedback. However, as I mentioned in my post, I already got a working solution where the labels were configured statically (using the commands you mentioned). However, even so, the LDP still distributes these labels.

What is missing from the complete solution is the static configuration of the label switched path (LSP). I found that this can be done on Cisco Carrier Routing System type equipment or with IOS XR (which is not my case).

I used one of the sandbox provided by Cisco: https://devnetsandbox.cisco.com/RM/Diagram/Index/09bf323e-bad4-47b6-bbb6-9e1046300112?diagramType=Topology

But, I believe that it is not possible to integrate this with some equipment outside the testbed environment.

I'm working on a master's project and we've developed a packet forwarding solution (still in its initial phase).
My goal is to test interop with legacy devices. As I have more affinity with Cisco equipment, I started my approach here.

Again, thanks for taking some of your time to try and help me.