166Step Command Remarks3. (Optional.)Configure a sourceaddress fornotifications.snmp-agent { inform | trap } source interface-type{ interface-number | interface-number.subnumber }By default, SNMP uses theIP address of the outgoingrouted interface as thesource IP address.4. (Optional.) EnableextendedlinkUp/linkDownnotifications.snmp-agent trap if-mib link extendedBy default, the SNMPagent sends standardlinkup/linkDownnotifications.5. (Optional.)Configure thenotification queuesize.snmp-agent trap queue-size sizeBy default, the notificationqueue can hold 100notification messages.6. (Optional.)Configure thenotification lifetime.snmp-agent trap life seconds The default notificationlifetime is 120 seconds.Displaying the SNMP settingsExecute display commands in any view.Task CommandDisplay SNMP agent system information, includingthe contact, physical location, and SNMP version.display snmp-agent sys-info [ contact | location |version ] *Display SNMP agent statistics. display snmp-agent statisticsDisplay the local engine ID. display snmp-agent local-engineidDisplay SNMP group information. display snmp-agent group [ group-name ]Display remote engine IDs.display snmp-agent remote [ ip-address[ vpn-instance vpn-instance-name ] | ipv6ipv6-address [ vpn-instance vpn-instance-name ] ]Display basic information about the notificationqueue. display snmp-agent trap queueDisplay the modules that can generate notificationsand their notification status (enable or disable). display snmp-agent trap-listDisplay SNMPv3 user information. display snmp-agent usm-user [ engineid engineid |username user-name | group group-name ] *Display SNMPv1 or SNMPv2c communityinformation. (This command is supported only for highencryption in non-FIPS mode.)display snmp-agent community [ read | write ]Display MIB view information. display snmp-agent mib-view [ exclude | include |viewname view-name ]Display SNMP MIB node information. display snmp-agent mib-node [ details | index-node| trap-node | verbose ]Display an SNMP context. display snmp-agent context [ context-name ]