How to Enable SNMP on Huawei AirEngine AP Using CLI Mode

SNMP (Simple Network Management Protocol) helps monitor and manage network devices. Huawei AirEngine access points support SNMP, but in some firmware versions, by default the option is hidden in the web interface. So, we cannot Enable SNMP on Huawei AirEngine AP. In this guide I will explain how to enable SNMP using the command line.

Why Use SNMP?

SNMP simply allows network monitoring tools to collect device performance data, receive alerts through community string traps and makes easy to troubleshoot AP errors. Keep in mind you could configure SNMP on Huawei AirEngine AP Using CLI only if you are using FAT mode on your access point. Other modes like Fit or NAT do not support SNMP.

Prerequisites

Before starting, make sure your Huawei AirEngine access point running on FAT mode. If not or you are using any other model of Huawei Access Point, you must upgrade the firmware version to match the SNMP requirements. Check if your device is SSH or telnet supported.

It’s up to you if you want to use SNMPv2 or 3. So you must prepare and define SNMP community strings or SNMPv3 credentials. You also need to know your NMS (Network Management System) IP address. I am using an opensource monitoring server “LibreNMS” for example.

Enable SNMP on Huawei AirEngine AP

Step 1: Connect to the Access Point

Use a SSH client like PuTTY:

Enable SNMP on Huawei AirEngine
PuTTY Interface

Enter the AP’s management IP. You can do it with default IP, admin user and password. But once you configured your Huawei AirEngine on FAT mode and changed the login credentials, you can assess your devices using new login credentials.

Step 2: Enter System View

After logging in, type:

system-view

This command switches to configuration mode.

Step 3: Enable SNMP Agent

Activate SNMP service using below command. This will enable SNMP service in your Access Point

snmp-agent

Step 4: Configure SNMP Community Strings

Configure SNMPv2 on your access point, so follow the commands below.

For SNMPv2c:
snmp-agent community read public
snmp-agent community write private

Replace public and private with strong custom strings. Just for example if you define SNMP string from “public” to “secure” so your command will be snmp-agent community read secure.

Step 5: Enable SNMP Traps

Traps notify your NMS about events:

snmp-agent trap enable

Step 6: Set Trap Source Interface

Choose a stable interface for trap packets:

snmp-agent trap source vlanif < Mgmt_VLAN_ID >

Replace <Mgmt_VLAN_ID> with your management VLAN ID.

For Example: snmp-agent trap source vlanif < vlan 10 >

Note: If you are using single network, instead of different networks in the same environment, don’t be confused with the wording, you can ignore this step.

Step 7: Configure Trap Parameters

Create a profile for trap settings:

snmp-agent target-host trap-paramsname nms_v2c v2c securityname public

Replace public with your own defined community string

Here:
  • nms_v2c is the profile name.
  • v2c is the SNMP version.
  • public (your defined string) is your community string.

Step 8: Add Trap Host

Bind your NMS IP to the profile, in other words we must set a path where the logs will be generated to view. In this case, you must define the IP address of your monitoring server like LibreNMS.

snmp-agent target-host trap-hostname NMS1 address 10.10.10.50 trap-paramsname nms_v2c

Replace 10.10.10.50 with your monitoring server IP. This will tell your access point or any other network device you want to monitor, where to send all relevant data or information.

Step 9: Check SNMP settings

display snmp-agent
display snmp-agent target-host
display current-configuration | include snmp-agent

SNMPv3 Configuration (Optional)

For better security, use SNMPv3:

snmp-agent usm-user v3 snmpv3user authentication sha AuthPass123 privacy aes128 PrivPass123

snmp-agent target-host trap-paramsname nms_v3 v3 securityname snmpv3user privacy

snmp-agent target-host trap-hostname NMSv3 address 10.10.10.50 trap-paramsname nms_v3

Replace passwords with strong values you previously defined.

Common Issues and Fixes

  • Command not recognized: Use the two-step method (trap-paramsname and trap-hostname).
  • Traps not received: Check firewall for UDP port 162 and verify NMS IP.
  • VPN instance required: Add vpn-instance <name> if NMS is in a VRF.

Key Takeaways

SNMP improves network visibility. Huawei AirEngine APs applies changes instantly so there is no need to save configurations. But still always verify configuration after changes.

Check out: How to Block Unknown Bots Using Cloudflare WAF Rules

Most Popular

More From Same Category

- A word from our sponsors -

Read Now

Mahjong Solitaire Free Online: Features and Easy Guide

Mahjong Solitaire can be a complex game, yet there are strategies that can help players achieve victory. These tactics do not constitute cheats but simply sensible approaches that will assist even experienced players to increase their win rate and enjoy greater success with Mahjong Solitaire.Search the board...

The Ultimate Guide to Creating Electronic Signatures

In our rapidly evolving digital age, electronic signatures have never been more important. From finalizing business contracts to personalizing e-cards, the ability to securely and legally append your signature to documents online is a must. But how do you sign electronically? And, importantly, how can you ensure...

How to Connect Your Smartphone to Smart TV Without WiFi

Have you ever had the experience where you're watching your favorite show, but you have to pause it because you need to get something else done? Well, that's usually not a problem. But what if you can't pause the show, or you have to do something else,...

How To Find Alternatives For a Scanner Machine?

In past years, employees could not live without a scanner machine. Scanning documents was an important process for every office worker. But time changes and it becomes an era of modern technologies. Thus let's consider the best alternatives for a scanner. Make Use of Special Scanner Apps Since an...

How to Access Emails Outlook 2016 without a PST File

This article will explore three methods to access Outlook emails 2016 without a PST file. If you find it difficult to understand or follow any of the steps in this guide, feel free to get in touch with us using the link below. Our team is always...

How to Make a Business Account Ledger in Microsoft Excel

Microsoft Excel has become a financial data management spreadsheet tool from Microsoft. Take advantage of a free general ledger template if you have problems creating equations, pages, and other Microsoft Excel fine points. It's easy to enter data because of the themes, and there aren't many that...

How to Stream YouTube Videos Without Ads on Android?

YouTube is progressively becoming an 'ad-tube,' and it's not amusing. The platform's video advertising is already out of control because it encourages renowned bloggers to monetize their work recklessly. Even television does not compel us to endure five ads during a single news segment! As a result,...

Dr.Fone: How To Unlock Disabled iPhone?

Taking care of your iPhone in situations that can cause issues, like iPhone screen lock, is necessary. However, we can't avoid every situation. We introduced you to some solutions for iPhone is disabled connect to iTunes.We know that every new iOS model and version will bring some...

How to Become a Successful Copywriter?

The first step in learning how to become a successful copywriter is to find a mentor. A good mentor will transfer their knowledge and experience to you, so you'll be able to use this knowledge to build your career. You can also take a short course that...

PDFDrive: Search & Download eBooks From pdfdrive.com

PDF drive app is a free online PDF search engine that lets you search for, preview, and download PDF files. According to the site, over 75 million eBooks, magazines, articles, and other publications are categorized and searchable directly on pdfdrive.com.pdfdrive.com provides a wide range of topics, including...

How to Record Powerpoint Presentations with Audio (100% Works!)

PowerPoint slides are the go-to tool for providing supporting content that helps audiences absorb and connect with the thoughts and ideas delivered in a presentation, from classrooms to boardrooms. By including audio narration in your PowerPoint presentation, you can capture the audience's attention and encourage them to...

How To Save Money Online With Coupon Codes?

Have you ever used coupons (Coupon Codes) to save money online? If you do well, you already know how it goes. But, if it's your first time, you usually do the following:Check your newspapers and magazines Cut the available coupons out of them Take them to...