em 03-17-2023 06:55 PM
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 <mpls static binding ipv4 ...> 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 <mpls static> command in global configuration mode and telling which interface will forward packets this way.
router# configure
router(config)# mpls static
router(config-mpls-static)# interface gigabitEthernet 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
router(config)# mpls static
router(config)#
Any suggestion?
Thanks in advance for your help.
em 03-20-2023 03:51 PM
Cisco 1941 usa IOS
CSR usa IOS XE
por que esses comandos não aparecem no Cisco1941
em 03-21-2023 05:10 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 is a limited device but alternatively, you can try this:
More details you 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
em 03-21-2023 06:13 AM
Isso para o ios xe ele também faz com que o roteador execute ios.
em 03-21-2023 06:41 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.
Descubra e salve suas ideias favoritas. Volte para ver respostas de especialistas, passo a passo, tópicos recentes e muito mais.
Novo por aqui? Comece com estas dicas. Como usar a Comunidade Guia do novo membro
Navegue pelos links rápidos da Comunidade e usufrua de um conteúdo personalizado e em seu idioma nativo: