当前位置:网站首页>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 …
边栏推荐
- A Youku VIP member account can be used by several people to log in at the same time. How to share multiple people using Youku member accounts?
- Polynomial interpolation fitting (II)
- Face key point detection
- Transaction and storage engine in MySQL database
- Polynomial interpolation fitting (III)
- [face recognition] face recognition based on histogram histogram with matlab code
- 05_服务调用Ribbon
- Code demonstration of fcos face detection model in openvino
- Mysql多表查询
- 【单片机仿真】(五)寻址方式 — 立即寻址与寄存器间接寻址
猜你喜欢

数据源对象管理(第三方对象资源) & 加载properties文件

ResNet学习笔记

MySQL log management and full backup incremental backup and recovery

Visual analysis of ncnn param file and bin model

CorelDRAW cannot be installed. Solution

MySQL storage engine details
![[Jianzhi offer] 31-35 questions (judge whether a sequence is one of the out of stack sequences, sequence print binary tree, branch print, and reverse print each line), judge whether the sequence is th](/img/fd/f0c0e17f2942525a78fbd443514992.png)
[Jianzhi offer] 31-35 questions (judge whether a sequence is one of the out of stack sequences, sequence print binary tree, branch print, and reverse print each line), judge whether the sequence is th

SysTick定时器的基础学习以及手撕代码

关于XML文件(六)-与JSON的区别

Automatic assembly & set injection
随机推荐
仿射变换实现
ncnn paramdict&modelbin
【剑指Offer】31-35题(判断一个序列是否是栈的出栈序列之一,层序打印二叉树以及分行打印、每行逆着打印),判断序列是否是二叉搜索树的后序遍历路径,二叉树找一条权值为K的路径,复制复杂链表
Mysql多表查询
Examine your investment path
【单片机仿真】(九)指令系统 — 算术运算指令 之 ADD、ADDC、SUBB、INC、DEC、DA
MySQL面试题(2022)
Redis和其他数据库的比较
【单片机仿真】(二)keil 安装教程
RTX3090安装pytorch3D
MySQL storage engine details
LETV has more than 400 employees? Living a fairy life without a boss, the official responded
ubuntu清除cuda缓存
The place where the dream begins ---- first knowing C language
Bisenetv2 face segmentation ncnn reasoning
[MCU simulation] (XIII) instruction system logic operation instruction shift instruction
显而易见的事情
[single chip microcomputer simulation] (10) instruction system - multiplication instruction and division of arithmetic operation instruction
zsh: command not found: mysql
【单片机仿真】(七)寻址方式 — 位寻址