Command Reference Interface Commands
This function is enabled by default
Interface configuration mode.
For an interface (for instance, Ethernet interface, AP interface, and SVI interface), this command sets
whether to send LinkTrap on the interface. If the function is enabled, the SNMP sends the LinkTrap
when the link status of the interface changes.
The following example disables the interface from sending LinkTrap on the interface.
Ruijie(config)# interface gigabitEthernet 1/1
Ruijie(config-if)# no snmp trap link-status
The following example enables the interface to forward Link trap.
Ruijie(config)# interface gigabitEthernet 1/1
Ruijie(config-if)# snmp trap link-status
Enables the interface to send LinkTrap on the
interface.
Disables the interface from sending LinkTrap
on the interface.
1.31 snmp-server if-index persist
Use this command to set the interface index persistence. The interface index remains the same after
the device is restarted.
snmp-server if-index persist