Lucent Technologies 9077 04S Manuale Utente

Pagina di 150
2-20
 October 22, 1999   
SP Switch Router Adapter Guide - 1.4 Update 2
Configuring the SP Switch Router Adapter
Step 1. Check SNMP in the SP Switch Router system
#     ip-kind ::=     <hostid> |
#                     <hostid> <portid> |
#                     <portid>
#
#     hostid ::=      <hostname> | <ip>
#                             where: hostname is defined in /etc/host
#     portid ::=      [PORT | : ] <#>
#
#     full-ip ::=     <ip>:<#>
#     ip ::=          <#>.<#>.<#>.<#>
#     traplist ::=    trap [, trap]*
#     trap ::=        <trap_name>
#
#     op ::=          ALL | GET | SET | TRAP
#     encrypt ::=     NO | <name>
#
#     rfc1449addr ::= tcp_ip_addr | osi_addr
#     tcp_ip_addr ::= <ip>/<#>
#     osi_addr ::= <nsap>/<tsel>
#     nsap ::= hexes
#     tsel ::= hexes
#     hexes = hexbyte[: hexbyte]*
#
#
ALLOW           SUBAGENT 1.3.6.1.4.1.1080.1.1.1
                WITH OTHER PASSWORD 
                USE 15 SECOND TIMEOUT 
COMMUNITY       public
                ALLOW GET, TRAP OPERATIONS
                USE NO ENCRYPTION
MANAGER         129.40.61.12
                SEND ALL TRAPS
                TO PORT 162
                WITH COMMUNITY spenmgmt
MANAGER         129.40.61.5
                SEND ALL TRAPS
                TO PORT 162
                WITH COMMUNITY spenmgmt
COMMUNITY       spenmgmt
                ALLOW ALL OPERATIONS
                USE NO ENCRYPTION
Put SNMP changes into effect     
To have changes to 
/etc/snmpd.conf
 take effect, kill snmpd. It is automatically restarted. 
On the SP Switch Router, log in as super user, find the snmpd PID (process ID), and then kill 
the SNMP daemon, as follows: 
% ps -ax | grep snmpd
  26053 p2  S+     0:00.05 grep snmpd     
  127 co- S      1:59.55 snmpd /etc/snmpd.conf /var/run/snmpd.OCT
% kill 127