CLI Reference Guide    SNMP Configuration Commands 
 
snmp trap link-status 
Use this command to configure in a device whether to send LinkTrap of the interface based on the 
interface configuration. When this function is enabled, SNMP will send LinkTrap if the link status of the 
interface changes; otherwise, it will not send LinkTrap. When the no form of this command is used, 
SNMP will not send LinkTrap. 
snmp trap link-status 
no snmp trap link-status 
By default, this function is enabled. If the link status of the interface changes, SNMP will send 
LinkTrap. 
Interface configuration mode 
This command is used to configure whether to send LinkTrap of an interface, such as the Ethernet 
interface, AP interface and SVI interface. When the function is enabled, if the link status of the 
interface changes, SNMP will send LinkTrap; otherwise, it will not. 
Example 1: Configure not to send LinkTrap of the interface: 
Ruijie(config)# interface gigabitEthernet 1/1 
Ruijie(config-if)# no snmp trap link-status 
Example 2: Configure to send LinkTrap of the interface: 
Ruijie(config)# interface gigabitEthernet 1/1 
Ruijie(config-if)# snmp trap link-status 
snmp-server chassis-id 
Use this command to specify the SNMP system sequential number in global configuration mode. The 
no form of this command is used to restore it to the initial value. 
snmp-server chassis-id text