TotalNET Advanced Server 5.2 Reference Manual

tnnetmgr

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.

Location

TNHOME/usr/sbin

Usage

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]

Options

-g net-manager

Specify the net manager. 

Attributes

address

This attribute designates the net manager's IP address. SNMP traps should go to this address.

Usage:

tnnetmgr -M -r realm -g net-manager -a address=IP-address

community

This attribute designates the name of the community to which the net manager and the agent belong.

Usage:

tnnetmgr -M -r realm -g net-manager -a community=name

Examples

  1. 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 

  2. 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
  3. 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
  4. 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