Friday , March 29 2024

how to configure multiple interfaces at the same time

This is an useful feature, specially if we want to configure Huawei’s switch, where there are lots of physical interfaces. Very often, some of interfaces have the same configuration. Instead of configure the interfaces one by one it is easier to configure multiple interfaces at the same time. It improves the efficiency.

Let’s assume that you want to add 5 GE interfaces to VLAN 100:

[labnario]port-group labnario
[labnario-port-group-labnario]group-member GigabitEthernet 0/0/1 to GigabitEthernet 0/0/5
[labnario-port-group-labnario]port link-type access
[labnario-port-group-labnario]port default vlan 100

[labnario]dis cur | beg port-group
port-group labnario
 group-member GigabitEthernet0/0/1
 group-member GigabitEthernet0/0/2
 group-member GigabitEthernet0/0/3
 group-member GigabitEthernet0/0/4
 group-member GigabitEthernet0/0/5

Read More »

from Huawei CLI – debugging …

To enable system debugging functions on Huawei’s device:

<labnario>debugging ?
  acl4                    ACL4 module
  acl6                    ACL6 module
  anti-attack             Specify anti-attack configurations
  application-apperceive  Set application-apperceive information
  arp                     ARP module
  arp-ping                ARP-ping
  arp-proxy               Arp proxy debugging functions
  atm                     ATM module
  bfd                     BFD module
  bgp                     BGP protocol
  bridge                  Bridge
  ce-ping                 Enable ce-ping debugging
  cfm                     CFM module
  cluster                 Cluster module
  ...
<labnario>debugging ip icmp

To send debugging information to terminal:

<labnario>terminal monitor
Info: Current terminal monitor is on.
<labnario>terminal debugging
Info: Current terminal debugging is on.

To display which debugging functions are enabled:

<labnario>display debugging
IP icmp debugging is on

Read More »

SNMPv2c configuration on Huawei devices

Simple Network Management Protocol (SNMP) is widely used for IP networks’ devices management and monitoring. Not only routers and switches can be managed using SNMP. It can be used with servers, modems, printers, etc. It is application layer protocol and is defined as IETF standard.

How SNMP works?

It operates based on the following components:

  • Network Management Station (NMS), sends SNMP requests to query managed devices and receives alarms send by these devices. NMS uses the MIB to identify and manage device objects.
  • Agent – process running on the managed device which is responsible for sending alarms to the NMS and processing requests received from NMS.
  • Managed device – a networking device on which the Agent process is running.

Read More »

Huawei eNSP – continuation

Some time ago I wrote about Huawei Network Simulation Platform eNSP. I have been testing it since it was launched. It is still being developed and new VRP features will be available soon. It looks like it is really useful tool if you want to study Huawei’s datacom technology.

I’ve just found a video guide for eNSP at Huawei’s forum. I hope it will be informative for you.

Anyway, a background music of this guide will have a calming influence on you 🙂

Read More »

from Huawei CLI – schedule reboot

schedule reboot { at time | delay interval }

When can you use this command?

You can always use it 🙂

Seriously telling, you can use it in cases, when there is probability that your work and a new configuration can cause a device to be unavailable. Sometimes it is necessary to change a configuration of a device, which is not accessible by console, but only by remote connection. Specially if you are changing IP addresses or doing some experiments with access methods of the device. Even if you tested everything in your lab and you are sure that everything will go smoothly, it is better to remember about this function. People make mistakes. After you configured schedule reboot function, you are sure that all your mistakes can be repair by reboot of the device, with the restriction that the new configuration is not saved. Of course I am talking about some small or less important devices. For more important or crucial devices it is recommended to use console connection (console server).

Remember to turn this function off when you are sure that everything works properly!

Read More »