Made4it

How to configure MPLS in Ufispace

UFISPACE – MPLS configuration

In this article, you will learn how to configure MPLS in a multi-vendor topology involving UFISPACE, Huawei, and Mikrotik equipment.

We will be using the following equipment:

  • 1 – UFISPACE 9600 56DX;
  • 1 – UFISPACE 9600 28DC;
  • 1 – UFISPACE 9600 72XC;
  • 1 – HUAWEI S6730;
  • 1 – Mikrotik RB450;

Physical topology of the MPLS scenario:

The aim is to set up MPLS LDP between all the devices, and then set up VPWS and VPLS tunnels on 56DX and 28DC, 6730 and Mikrotik to test interoperability between the vendors.

Let’s start the configurations with the UFISPACE 56DX.

Configuring the loopback interface:

Configuration of the OSPF protocol:

Configuring the LDP protocol:

Configuration of the interfaces that communicate between the equipment with MPLS:

Note: what enables MPLS on the interfaces are the “label-switching” and “enable-ldp ipv4” commands.

The next step is to configure the UFISPACE 28DC:

Configuring the loopback interface:

Configuration of the OSPF protocol:

Configuring the LDP protocol:

Configuration of the interfaces that communicate between the equipment with MPLS:

Now we’re going to configure the Huawei S6730.

Configuring the loopback interface:

Configuration of the OSPF protocol:

Configuring the MPLS protocol:

Enable L2VPN mpls:

Configuration of remote peers:

Configuration of interfaces with MPLS enabled:

Finally, let’s configure the mikrotik RB450.

Configuring the loopback interface:

Configuring the MPLS protocol:

ip configuration of mpls interfaces:

Now let’s see if the OSPF/MPLS neighbors have come up on the 56DX, Huawei and Mikrotik. Let’s just check out these 3 different vendors.

We started with the UFISPACE 56DX:

Verification of OSPF neighbos:

Verification of LDP neighbors:

We have verified that on the Ufispace 56DX side the OSPF and MPLS neighbors are forming correctly.

Now let’s check it out on the Huawei S6730:

Verification of OSPF neighbos:

Verification of MPLS neighbors:

We’ve seen that Huawei is also closing OSPF and LDP adjacencies.

Finally, let’s validate it in mikrotik:

Verification of OSPF neighbors:

Verification of LDP neighbors:

Checking through mikrotik we see that it has also closed the adjacencies correctly.

Now that we have our scenario with mpls enabled between all the devices, let’s configure a VPWS tunnel between 56DX and 28DC.

Configuring VPWS is simple, as we’ll see below. Let’s start configuring Ufispace 56DX by following a few steps.

1 – Create the l2-circuit tunnel:

The number 3 in bold here is the tunnel ID, and right after that we have neighbor 3.3.3.3 which is Ufispace 28DC.

2 – Now we need to create a service-template that matches the vlan we want to transport, as in the example:

In this example, we are configuring VLAN 10.

It’s also possible to transport the entire port, in which case we need to create a template that contains a match-all, as shown in the example:

3 – The last step in closing the tunnel is to assign l2-circuit to the physical interface, which in this example will be the xe3/3 interface:

That’s done on the 56DX, now let’s do the configuration on the 28DC device.

On the Ufispace 28DC we need to do the same steps, but only change the IP of the MPLS neighbor, which will be the 56DX with IP 2.2.2.2, as we’ll see below:

1 – Create the l2-circuit tunnel:

2 – Create the service-template for vlan 10:

3 – Assign l2-circuit to the physical interface, which in this example will be the xe6 interface:

We already have the configuration ready on both sides, let’s do the validations.

Verification of the 56DX virtual-circuit tunnel:

Checking the tunnel on the 28DC side:

As we saw above, we now have a VPWS connection between 56DX and 28DC.

Now we’re going to set up a VPLS connection using vlan 235 between 56DX, 28DC and Huawei S6730.

Configuring the vpls tunnel on the 56DX:

Assigning the VPLS to the interface:

Assigning the VPLS to the interface:

Configuring the vpls tunnel on 28DC:

Assigning the VPLS to the interface:

Validation of the vpls tunnel on the 56DX device. We can see that the tunnel is UP with the two peers, the Ufispace 28DC and the Huawei S6730:

We found that the VPLS tunnel was also UP on the Huawei device:

We also carried out VPLS tests between Ufispace and Mikrotik, which we can see worked normally, but we won’t go into detail about the settings so that this manual doesn’t get too long. You can see in the image that the VPLS between Ufispace 56DX and Mikrotik has been set up correctly:

Conclusion: In this article we have demonstrated how to configure MPLS on Ufispace equipment and how to interoperate it with other vendors. We’ve seen that the configuration is relatively simple and makes it a great option for the network.

In this article, you learned how to configure MPLS in a multi-vendor topology involving Ufispace, Huawei, and Mikrotik equipment. We followed a detailed step-by-step guide to configure MPLS LDP, VPWS, and VPLS tunnels, ensuring interoperability between different manufacturers.

Would you like to speak with one of our UfiSpace and IPInfusion experts? At Made4it, we specialize in these technologies and offer comprehensive configuration and support services. In addition, we are official partners of Padtec, which sells UfiSpace routers. Contact us to learn more and optimize your network with professional solutions.

See you in the next article!!

Made4it arises to meet the needs of the market, which has been demanding more and more personalized solutions.