Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
ssh 账号@交换设备IP
>system-view #进入系统视图>snmp-agent sys-info version v2c #设置SNMP版本为v2c>snmp-agent community read ITCloud #设置SNMP的团体名为ITCloud>quit #退出系统视图>save #保存配置,避免重启后SNMP配置丢失
snmpwalk -v 2c -c ITCloud 192.168.1.232 system
>system-view #进入系统视图>snmp-agent trap enable #启用SnmpTrap>snmp-agent target-host trap address udp-domain 10.142.88.68 params securityname ITCloud v2c #设置SnmpTrap的接收地址为10.142.88.68,团体名为ITCloud,版本为v2c>quit #退出系统视图>save #保存配置,避免重启后SNMP配置丢失
tcpdump -nn "udp" and host 192.168.1.232# 命令格式为:tcpdump -nn "udp" and host 交换设备IP
Was this page helpful?