03-20-2023 05:27 AM
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
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
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.
03-20-2023 03:49 PM
Cisco 1941 use IOS
CSR use IOS XE
that why these commands not appear in Cisco1941
03-21-2023 05:11 AM
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:
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
03-21-2023 06:11 AM
This for ios xe also he have router run ios.
03-21-2023 06:43 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide