Static and Dynamic Routing Protocols, OSPF and BGP
We’re going to present Layer 3 (L3) configuration on Ufispace equipment, both static and dynamic, using protocols such as OSPF (Open Shortest Path First) and BGP (Border Gateway Protocol). Below is a guide to configuring these features.
- Access to equipment
To start the configuration, you need to access the Ufispace device via the command line interface (CLI). We will demonstrate access via ssh, but it can also be done via serial connection and telnet.
ssh admin@ip_do_equipamento
- Configuring L3 Interfaces
Configuration directly on the interface:
configure
interface xe1
description interface fisica
ip address 192.168.1.1/24
ipv6 address 2001:db8:192:168:1:1/126
mtu 9198
enable-rsvp
Example vlan Sub-Interface configuration. Using vlan 4 as an example.
Configure
interface xe2.4
description subinterface vlan4
encapsulation dot1q 4
ip address 192.168.2.1/24
ipv6 address 2001:db8:192:168:2:1/126
mtu 9198
enable-rsvp
- Static Routing
To configure static routing, add static routes to the configuration:
configure
ip route 10.0.0.0/24 192.168.1.254
ip route 172.16.0.0/24 192.168.2.254
ip route 172.16.44.0/24 192.168.3.254
- Configuring OSPF V4 and V6.
OSPF is a dynamic routing protocol widely used in corporate networks. To configure OSPF on the Ufispace device:
V4
configure
router ospf
router-id 1.1.1.1
bfd all-interfaces
network 192.168.1.0/24 area 0.0.0.0
network 192.168.2.0/24 area 0.0.0.0
V6
router ipv6 ospf
router-id 1.1.1.1
bfd all-interfaces
Add the interfaces participating in OSPF using the following commands:
ip ospf network point-to-point
ipv6 ospf network point-to-point instance-id 0
ipv6 router ospf area 0.0.0.0 instance-id 0
- Configuration check
To check that the settings are correct and working:
show ip route
show ip ospf neighbor
- Saving the configuration
Finally, save the configuration to ensure that the changes are retained after a reboot:
write memory
Conclusion
Configuring static and dynamic routing on Ufispace equipment involves specific steps to define IP addresses on interfaces, add static routes and configure routing protocols such as OSPF and BGP. By following this guide, you can set up efficient and robust routing on your network.
By the end of this guide, you will be ready to configure static and dynamic routing on Ufispace devices, using protocols such as OSPF and BGP to ensure an efficient and robust network. Follow the steps carefully, and if you have any questions, consult the official documentation or seek expert assistance.
Would you like to speak with one of our UfiSpace and IPInfusion specialists?
We at Made4it are experts 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 later!
https://made4it.com.br/