Saturday , March 25 2023
Home / System Management (page 2)

System Management

traffic mirroring – a riddle

I have busy time now and a frequency of updating my blog is not such as I would expect. Sorry for that. I hope it should be better soon.

But today I would like to ask you a simple riddle.

Let’s assume that we have S9300 switch and a fragment of its configuration:

observe-port 1 interface Ethernet0/0/1
acl number 3000
rule 5 deny ip source
rule 10 deny ip source
rule 15 permit ip
traffic classifier riddle operator and
if-match acl 3000
traffic behavior riddle
mirroring to observe-port 1
statistic enable
traffic policy riddle
classifier riddle behavior riddle
interface Ethernet0/0/10
traffic-policy riddle inbound

Read More »

Link Layer Discovery Protocol (LLDP) on Huawei S3300

The Link Layer Discovery Protocol (LLDP) is an layer 2 discovery protocol defined in the IEEE 802.1ab. How does it work? The LLDP protocol collects information about local interfaces, sends this information to neighbours, and receives information from the neighbours as well. In short, when the LLDP protocol runs on devices, the NMS can obtain the Layer 2 information about all the devices it connects and the detailed network topology. It does it by searching the layer 2 information in Management Information Base (MIB). NMS uses LLDP management address to identify the device. Trap message is triggered in case when local management address is changed, LLDP is enabled or disabled globally and there are changes on neighbouring devices.

Lets try to configure LLDP based on the following topology:

First of all configure SNMP trap for LLDP:

[Switch]snmp-agent trap enable feature-name lldptrap

[Quidway]dis snmp-agent tr feature-name lldptrap all
Feature name: LLDPTRAP                      
Trap number : 4         
Trap name                       Default switch status   Current switch status 
lldpRemTablesChange             on                      on                  
hwLldpEnabled                   on                      on                  
hwLldpDisabled                  on                      on                  
hwLldpLocManIPAddrChange        on                      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 »

mirroring on Huawei AR19/29/49 routers

If you want to look into packets sent or received by a router, and there is no possible to display them by command, the simplest and fastest way is to use mirroring. Unfortunately, in case of AR routers, you have to go on-site to connect packets’ analyser (for example Wireshark). Comparing to NE routers, AR routers do not support remote mirroring.

There are two types of mirroring on AR routers:

  • port mirroring

Port mirroring is to copy all packets from mirroring port to another port, which is called monitor port. Monitor port is that where a monitoring device is connected to. AR routers support local port mirroring for inbound and outbound direction.

  • traffic mirroring

Traffic mirroring is to copy specified packets, by QoS policy, to a specific destination and send them to an interface for analysis. Traffic mirroring is supported on AR29 and AR49 routers.

Read More »

Huawei Network Quality Analyzer (NQA)

What is NQA?

It is a feature that functions above link layer to measure performance of protocols running at the network layer, transport layer and application layer. It is useful to monitor network and locate faults occurring in the network. NQA can accurately test the network and collect statistics as well. You can configure and display NQA statistics through CLI but, as NQA is fully supported by Huawei NMS, you can also do this in GUI.

Most of Huawei devices support NQA but configuration can vary a little bit between NE routers, AR routers and switches. Of course we can perform more advanced test on carrier class devices. In this post we will focus on CLI and use CX600 router as an example.

NQA tests supported by CX600:
    • ICMP test
    • DHCP test
    • FTP test
    • HTTP test
    • DNS test
    • Traceroute test
    • SNMP test
    • TCP test
    • UDP test
    • ICMP Jitter test
    • UDP Jitter test
    • LSP Ping test
    • LSP Traceroute test
    • LSP Jitter test

Read More »