Wednesday , April 2 2025

OSPF stub area on Huawei router

Instead of transmitting learned AS external routes, area border router, in a stub area, generates a default route and advertises the route to non-ABRs in the stub area. In short, stub area reduces entries in the routing table of ABR and the amount of routing information to be transmitted.

We have to remember that:

  • The backbone area cannot be a stub area
  • All routers in a stub area need to be configured using stub attributes
  • The ASBR cannot exist in a stub area
  • Virtual links cannot be configured in stub area.

Let’s try to configure a simple lab. We would like to see what happens if AREA1 becomes a stub area.

  1. Based on the topology, configure IP address of each interface.
  2. Enable OSPF on each router and configure basic OSPF functions
  3. Configure AREA1 as stub and and check routing information on router Gdansk.
  4. Check routing information on router Gdansk, previously stopping advertising type 3 LSA into the stub area.

Read More »

PIM SM on Huawei S5700

I wanted to use AR routers to prepare PIM SM lab but it turned out that there is a problem with cooperation between multicast source and AR router. Of course I am talking about network simulator eNSP. Finally I decided to use eNSP with S5700. So we have topology like in the last two posts:

  1. Configure VLANs, VLAN interfaces and IP addresses based on the topology (omitted).
  2. Configure OSPF to ensure connectivity between switches (omitted).
  3. Enable multicast on both switches.
  4. Enable PIM SM on all interfaces.
  5. Enable IGMP on receivers’ interfaces.
  6. Set static RP for both switches (Loopback0 of SwitchB).
  7. Address of multicast group G: 225.1.1.1.
  8. Address of multicast group S: 10.10.10.100.

Read More »

PIM DM control messages

To understand how PIM DM works, just look at control messages generated.

Let’s take topology from the last lab:

PIM DM topology on Huawei S5700

After PIM DM is configured on interfaces between neighbors, both devices periodically send HELLO messages to each other, to discover neighbors and maintain the neighbor relationship:

Read More »

NAP – Neighbor Access Protocol

NAP is a Huawei proprietary protocol, which implements remote configuration in Layer 3 networks. It allows to log into an unconfigured device from a directly connected device. It is very simple and can be really helpful, when implementing new devices. NAP establishes a temporary neighbor relationship between configured and unconfigured devices. Both must be directly connected through a physical link. When NAP relationship is established, telnet can be done to the unconfigured device.

NAP relationship can be established in two different ways:

  • Automatically – using IP addresses allocated by the system
  • Statically – using IP addresses allocated by the administrator.

NAP cannot be used on interfaces, configured with commands affecting the IP address configuration or IP packet forwarding, such as commands related to VPNs or Ethernet trunks.

How to use NAP? Let’s assume that we have two switches as in the picture below:

Read More »