This command allows you manage net managers added to specified realms. It can perform the following functions: list, read the attribute values of, create, modify, and delete net managers.
Net managers monitor the hub ability of the realm. Each net manager for the realm receives Simple Network Management Protocol (SNMP) traps whenever you enable or disable the realm.
TNHOME/usr/sbin
tnnetmgr [-L [-r realm]] tnnetmgr [-R [-r realm [-g net-manager [{-a attribute}]]]] tnnetmgr [(-A|-M) -r realm -g net-manager {-a attribute=value}] tnnetmgr [-D -r realm -g net-manager]
-g net-manager |
Specify the net manager. |
This attribute designates the net manager's IP address. SNMP traps should go to this address.
tnnetmgr -M -r realm -g net-manager -a address=IP-address
This attribute designates the name of the community to which the net manager and the agent belong.
tnnetmgr -M -r realm -g net-manager -a community=name
Use one of the following commands to list all available net managers for all installed realms:
tnnetmgr tnnetmgr -L |
Sample Output:
NB |
|
|
boxx-SNMP |
|
SNMP1 |
NW |
|
|
SNMP6 |
AT |
|
|
starz-SNMP |
Use the following command to list all attribute values for the net manager starz-SNMP in the NetWare realm:
tnnetmgr -R -r NW -g starz-SNMP |
Sample Output:
address=204.222.67.08 community=nbset |
Use the following command to add the values of the attributes address and community for the net manager SNMP6 in the LM-NT-OS/2 realm:
tnnetmgr -A -r NB -g SNMP6 -a address=204.242.58.23 -a community=Cisco |
Use the following command to delete the net manager boxx-SNMP from the LM-NT-OS/2 realm:
tnnetmgr -D -r NB -g boxx-SNMP |