当前位置:网站首页>Net SNMP related commands
Net SNMP related commands
2022-07-19 03:15:00 【Rock–】
see snmp Version number
snmpd --version
see snmpd Whether the service is on
ps -aux | grep snmpd
snmp restart 、 stop it 、 state ( Restart yes :restart, Stop is stop, The status is status)
snmpd start
test snmp Is the installation successful
snmptranslate -To|head -n3
see net-snmp Of mibs The default path to the file
net-snmp-config --default-mibdirs
see net-snmp Of snmp.conf The default path for
net-snmp-config --snmpconfpath
View the specified port
netstat -a|grep 161
Open the specified port
firewall-cmd --permanent --zone=public --add-port=161/udp
add to v3 user
close SNMP service
sudo service snmpd stop # stop it snmpd service
sudo net-snmp-create-v3-user -ro -A au123456 -X pr123456 -a MD5 -x DES admin
explain :
-ro Read only user , Users who need to read and write can do without -ro
-A Representative authentication password -a For authentication
-X For encryption -x For encryption
admin It's your v3 User name
Currently in Linux Next , It can only be used directly when adding authenticated and encrypted users .
I tried to add authentication without encryption 、 Do not authenticate users who are not encrypted , Basically can't be used , Or report an error directly : Unknown users ,
I'm still checking this problem , But it seems that there is little hope …
边栏推荐
- In depth understanding of machine learning - unbalanced learning: sample sampling technology - [adasyn sampling method of manual sampling technology]
- Letv a plus de 400 employés? Le jour de l'immortel sans patron, les autorités ont répondu...
- 2002 - Can‘t connect to server on ‘127.0.0.1‘ (36)
- Code demonstration of fcos face detection model in openvino
- 多锻炼身体有好处
- First knowledge of JPA (ORM idea, basic operation of JPA)
- Specifications、多表查询基础
- JPA初识(ORM思想、JPA的基本操作)
- [MCU simulation] (XX) org - set start address
- 【单片机仿真】(十一)指令系统逻辑运算指令 — 逻辑与指令ANL、逻辑或指令ORL
猜你喜欢

First knowledge of JPA (ORM idea, basic operation of JPA)

Polynomial interpolation fitting (II)

【人脸识别】基于直方图Histogram实现人脸识别附matlab代码

2002 - Can‘t connect to server on ‘127.0.0.1‘ (36)

Redis和其他数据库的比较

Several methods of face detection

一个优酷VIP会员帐号可以几个人用的设备同时登录如何共享多人使用优酷会员账号?

数据源对象管理(第三方对象资源) & 加载properties文件
![深入理解机器学习——类别不平衡学习(Imbalanced Learning):样本采样技术-[人工采样技术之SMOTE采样法及Borderline-SMOTE采样法]](/img/9f/a0d03b23e66849f12150f9a72f36c5.png)
深入理解机器学习——类别不平衡学习(Imbalanced Learning):样本采样技术-[人工采样技术之SMOTE采样法及Borderline-SMOTE采样法]
![[PHP] tp6 multi table connection query](/img/f8/a3803f01820082792901bff98bb96c.png)
[PHP] tp6 multi table connection query
随机推荐
In depth understanding of machine learning - unbalanced learning: sample sampling technology - [adasyn sampling method of manual sampling technology]
MySQL interview questions (2022)
要开源节流
[MCU simulation] (XIII) instruction system logic operation instruction shift instruction
Need to slow down a little
【单片机仿真】(十五)指令系统位操作类指令 — 位运算指令、位条件转移指令
Replacement operation not supported by ncnn partial operators
mysql复制表
Polynomial interpolation fitting (II)
审视自己投资的路
Built in keyboard continuous 444
Go语言 实现发送短信验证码 并登录
[single chip microcomputer simulation] (10) instruction system - multiplication instruction and division of arithmetic operation instruction
Automatic assembly & set injection
自动装配 & 集合注入
Yolov5 ncnn reasoning
【单片机仿真】(九)指令系统 — 算术运算指令 之 ADD、ADDC、SUBB、INC、DEC、DA
【回归预测】基于粒子滤波实现锂离子电池寿命预测附matlab代码
这是数学的问题
[MCU simulation] (XIX) introduction to assembly, assembly instructions, pseudo instructions