Cisco Systems Cisco MGX 8850 Manuale Utente

Pagina di 786
 
2-9
Cisco MGX 8850 Routing Switch Command Reference
Release 2.0, Part Number 78-10467-04 Rev C0, October 2001
Chapter 2
Shelf Management Commands
addtrapmgr
addtrapmgr
Add Trap Manager
Set up an SNMP manager that you intend to receive SNMP traps. The maximum number of trap 
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 SNMP Set on the intended object.
Cards on Which This Command Runs
PXM45
Syntax
addtrapmgr <ip_addr<portnum> 
Syntax Description
Related Commands
deltrapmgrdsptrapmgr
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.nnnn=0-9 and nnn < 256
portnum
Port number on the workstation that receives traps. The range is 0–65535. If you add 
a trap manager through SNMP, the default portnum is 162.
Log: log
State: active
Privilege: SUPER_GP