Configuration Guide Configuring SNMP
The NMS manages network devices (agents) based on the community authentication mode and can
obtain basic system information about the devices, for example, system contact mode, location, and
serial number.
1. Set SNMP agent parameters. Set the system location, contact mode, and serial number.
2. Set the IP address of the agent. Set the address of the Gi0/1 interface to 192.168.3.1/24.
Ruijie(config)#snmp-server location fuzhou
Ruijie(config)#snmp-server contact ruijie.com.cn
Ruijie(config)#snmp-server chassis-id 1234567890
Ruijie(config)#interface gigabitEthernet 0/1
Ruijie(config-if-gigabitEthernet 0/1)#ip address 192.168.3.1 255.255.255.0
Ruijie(config-if-gigabitEthernet 0/1)#exit
1. Check the configuration information of the device.
2. Check the SNMP view and group information.
Ruijie# show running-config
ip access-list standard a1
10 permit host 192.168.3.2
interface gigabitEthernet 0/1
no ip proxy-arp
ip address 192.168.3.1 255.255.255.0
snmp-server view v1 1.3.6.1.2.1.1 include
snmp-server location fuzhou
snmp-server host 192.168.3.2 traps version 2c user1
snmp-server enable traps
snmp-server contact ruijie.com.cn
snmp-server community user1 view v1 rw a1
snmp-server chassis-id 1234567890