> ## Documentation Index
> Fetch the complete documentation index at: https://doc.lwops.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# 5.8. 锐捷设备

> 5.8. 锐捷交换机ssh 登录设备 enable 进入超管模式 configure 进入配置 enable service snmp-agent 启用snmp Ruijie(config)#snmp-server community public ro 配置 只读团体名 Ruijie(con...

#### 5.8. 锐捷交换机

```plain theme={null}
ssh 登录设备
enable 进入超管模式
configure 进入配置
enable service snmp-agent 启用snmp
Ruijie(config)#snmp-server community public ro  配置 只读团体名
Ruijie(config)#snmp-server enable traps         启用traps
Ruijie(config)#snmp-server host 172.17.210.136 traps public  接收trap IP
Ruijie(config)#snmp-server host 172.17.210.136 version 2c public  接收trap 版本
Ruijie(config)#end   结束配置
Ruijie#wr            写入配置
Ruijie#show snmp      查看snmp配置
Chassis: 60FF60
3494 SNMP packets input
0 Bad SNMP version errors
0 Unknown community name
0 Illegal operation for community name supplied
0 Encoding errors
3508 Number of requested variables
0 Number of altered variables
0 Get-request PDUs
3494 Get-next PDUs
0 Set-request PDUs
0 Drop PDUs
0 UDP parse errors
3497 SNMP packets output
0 Too big errors (Maximum packet size 1472)
0 No such name errors
0 Bad values errors
0 General errors
3494 Response PDUs
3 Trap PDUs
SNMP global trap: enabled
SNMP logging: enabled
SNMP trap logging: disabled
SNMP authentication success logging: enabled
SNMP authentication fail logging: enabled
SNMP agent: enabled
SNMP v1:  disabled
SNMP v2c: enabled
SNMP v3:  disabled
```
