1-7Follow these steps to configure extended trap function:To do… Use the command… RemarksEnter system view system-view —Configure the extended trapfunctionsnmp-agent trap ifmib linkextendedOptionalBy default, the linkUp/linkDowntrap adopts the standard formatdefined in IF-MIB. For details, referto RFC 1213.Enabling Logging for Network ManagementFollow these steps to enable logging for network management:To do… Use the command… RemarksEnter system view system-view —Enable logging for networkmanagementsnmp-agent log{ set-operation |get-operation | all }OptionalDisabled by default.z When SNMP logging is enabled on a device, SNMP logs are output to the information center of thedevice. With the output destinations of the information center set, the output destinations of SNMPlogs will be decided.z The severity level of SNMP logs is informational, that is, the logs are taken as general promptinformation of the device. To view SNMP logs, you need to enable the information center to outputsystem information with informational level.z For detailed description on system information and information center, refer to the InformationCenter Configuration part in this manual.Displaying SNMPTo do… Use the command… RemarksDisplay the SNMP informationabout the current devicedisplay snmp-agent sys-info [ contact |location | version ]*Display SNMP packet statistics display snmp-agent statisticsDisplay the engine ID of thecurrent devicedisplay snmp-agent { local-engineid |remote-engineid }Display group informationabout the device display snmp-agent group [ group-name ]Display SNMP user informationdisplay snmp-agent usm-user [ engineidengineid | username user-name | groupgroup-name ]*Available in anyview.