Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide Chapter 7 SNMP Configuration Commands
3Com Corporation
7-20
7.1.21 snmp-agent trap source
Syntax
snmp-agent trap source interface-type interface-number
undo snmp-agent trap source
View
System view
Parameter
interface-type: Interface type.
interface-number: Interface number.
Description
Use the snmp-agent trap source command to specify the source address of traps.
Use the undo snmp-agent trap source command to cancel the current setting.
The SNMP traps from a server have a trap address, regardless of out which interface
they are sent. Through trap addresses configured using this command, you can trace a
particular event.
Related command: snmp-agent trap enable, snmp-agent target-host.
Example
# Specify the IP address of Ethernet interface 1/0/0 as the source address of trap
packets.
[3com] snmp-agent trap source ethernet 1/0/0
7.1.22 snmp-agent usm-user
Syntax
snmp-agent usm-user { v1 | v2c } user-name group-name [ acl acl-number ]
undo snmp-agent usm-user { v1 | v2c } user-name group-name
snmp-agent usm-user v3 user-name group-name [ [ authentication-mode { md5 |
sha } auth-password ] [ privacy des56 priv-password ] ] [ acl acl-number ]
undo snmp-agent usm-user v3 user-name group-name { local | engineid
engineid-string }
View
System view