[previous] Clear Spacer [next]


MANager

Syntax

ADD -SNMP MANager <"com.name"> <IP address> [<mask>] [<TrapProfileName>]
DELete -SNMP MANager <"com.name"> <IP address>
SHow -SNMP MANager

Default

No default

Description

The MANager parameter modifies the list of managers for a community name. If the manager list is empty, any request with a matching community name is allowed. If a manager list is specified, any incoming Internet address must match the Internet address and mask combination in the specified Internet address list. A maximum of ten manager entries per community name are allowed.

Values

<"com.name" >

Specifies the community name whose Internet address list should be updated.

<IP address>

Specifies any Internet address.

<mask>

Specifies the mask, which is used as a wild card and is specified in the Internet address format. By default, mask is 0.0.0.0.

The bits in the mask and the Internet address have a one-to-one mapping. For example, if a bit in the mask is 1, then the corresponding bit in the incoming Internet address can be 1 or 0. If the bit in the mask is 0, the corresponding bit in the incoming Internet address must match the corresponding bit in the Internet address specified in the ADD MANager command.

TrapProfileName

Adds an SNMP Manager with a specified community string and trap attributes. If a TrapProfileName is used, the TrapProfile corresponding to the TrapProfileName must first be defined. If the TrapProfileName is not defined, the add command will result in an error. If a TrapProfileName is not specified, the "default" profile is used.

Example

To add a manager to the list, enter:

ADD -SNMP MANager "public" 129.213.16.1

Use the SHow -SNMP MANager command to display the SNMP Configuration Table:

------------------SNMP Configuration Table------------------------
Community
Access
Traps
Managers
Masks
TrapProfile
public
R+W
All
129.213.48.58
0.0.0.0
DEFAULT
129.213.16.1
0.0.0.0
DEFAULT
test1
RO
None
129.213.1.1
0.0.0.0
DEFAULT
129.213.1.2
0.0.0.0
DEFAULT
3Com
RO
None
130.213.19.24
255.255.00
DEFAULT
---------------------SNMP Trap Profile Table------------------------
ProfileName
Setting
ALL
(All)
AUTH
(AUTH)
DEFAULT
(UseDefault
GEN
(GEnr)
NONE
(NONE)
trap1
(AUTH)

Using the above table, the following requests with community name "public" are valid:

With community name "3Com," the requests from managers with the first two bytes of the Internet address as 130.213 and with the highest bit in the third byte set to 1 are considered valid.

If traps are specified, you cannot use wild cards. Traps are generated to all Internet addresses specified in the list.

To delete a manager entry in the list, use the DELete command.

To display the SNMP Configuration Table, use the SHow command. The SNMP Configuration Table displayed is the same as the one displayed by the SHow -SNMP COMmunity command.

[previous] Clear Spacer [next]