2-9
Cisco MGX 8850 Routing Switch Command Reference
Release 2.0, Part Number 78-10467-04 Rev C0, October 2001
Chapter2 Shelf Management Commands addtrapmgr
addtrapmgr
Add Trap Manager
Set up an SNMP manager that y ou i nt en d to r ece ive S NMP t r ap s. Th e m ax imu m nu mb er o f tr ap
managers on a node is 12.
The trap managers you add through addtrapmgr and the trap managers that are added by the SNMP
manager (Cisco WAN Manager or other application) do not age and are not deleted. To delete a trap
manager, use either the deltrapmgr command or an SN M P S et o n th e i nt en de d ob je ct.
Cards on Which This Command Runs
PXM45
Syntax
addtrapmgr <ip_addr> <portnum>
Syntax Description
Related Commands
deltrapmgr, dsptrapmgr
Attributes
Example
Add a trap manager with IP address 161.10.144.56 to port 50.
node501.7.PXM.a > addtrapmgr 161.10.144.56 50
ip_addr IP address in dotted decimal format:
nnn.nnn.nnn.nnn, n=0-9 and nnn < 256
portnum Port number on the workst ation that receives traps. The range is 065535. If you add
a trap manager through SNMP, the default portnum is 162.
Log: log State: active Privilege: SUPER_GP