936 CHAPTER 75: SNMP CONFIGURATION■ The size of SNMP logs cannot exceed that allowed by the information centerand the sum of the node, and value field of each log information cannotexceed 1K bytes; otherwise, the exceeded part will be output.■ For the detailed description of system information, the information center andthe info-center source command, refer to “Configuring Information Center”on page 1009.Trap Configuration SNMP Agent sends Traps to NMS to alert the latter of critical and important events(such as restart of the managed device).ConfigurationPrerequisitesBasic SNMP configurations have been completed. These configurations includeversion configuration: community name is needed when SNMPv1 and v2c areadopted; username and MIB view are needed if SNMPv3 is adopted.Configuration Procedure Enabling Trap transmissionFollow these steps to enable Trap transmission:c CAUTION: To enable an interface to send SNMP Traps when its state changes, youneed to enable the Link up/down Trap packet transmission function on aninterface and globally. Use the enable snmp trap updown command to enablethis function on an interface, and use the snmp-agent trap enable [ standard[ linkdown | linkup ] * ] command to enable this function globally.Configuring Trap transmission parametersFollow these steps to configure Trap:To do… Use the command… RemarksEnter system view system-view -Set to enable the device tosend Traps globallysnmp-agent trap enable[ bgp | configuration | flash| ospf [ process-id ][ ospf-trap-list ] | standard[ authentication | coldstart |linkdown | linkup |warmstart ]* | system |voice | vrrp [ authfailure |newmaster ] ]OptionalAll types of Traps are allowedby default.Enter interface view interface interface-typeinterface-number-Set to enable the device tosend Traps of interface statechangeenable snmp trap updown OptionalTransmission of Traps ofinterface state change isallowed by default.To do… Use the command… RemarksEnter system view system-view -