1-5Operation Command DescriptionEnable the portor interface tosend Trapmessagesenable snmp trap updownsend TrapmessagesQuit to systemview quitSet the destination for Trapmessagessnmp-agent target-host trap addressudp-domain { ip-address } [ udp-portport-number ] params securitynamesecurity-string [ v1 | v2c | v3 {authentication| privacy } ]RequiredSet the source address forTrap messagessnmp-agent trap source interface-typeinterface-number OptionalSet the size of the queue usedto hold the Traps to be sent tothe destination hostsnmp-agent trap queue-size size OptionalThe default is 100.Set the aging time for Trapmessages snmp-agent trap life secondsOptional120 seconds bydefault.Configuring Extended TrapThe extended Trap includes the following.z “Interface description” and “interface type” are added into the linkUp/linkDown Trap message.When receiving this extended Trap message, NMS can immediately determine which interface onthe device fails according to the interface description and type.z In all Trap messages sent from the information center to the log server, a MIB object name is addedafter the OID field of the MIB object. The name is for your better understanding of the MIB object.Table 1-4 Configure extended TrapOperation Command DescriptionEnter system view system-view —Configure extendedTrapsnmp-agent trap ifmiblink extendedOptionalBy default, the linkUp/linkDown Trap messageadopts the standard format defined in IF-MIB.For details, refer to RFC 1213.Enabling Logging for Network ManagementTable 1-5 Enable logging for network managementOperation Command DescriptionEnter system view system-view —Enable logging for networkmanagementsnmp-agent log{ set-operation |get-operation | all }OptionalDisabled by default.