This chapter describes the parameters in the Simple Network Management Protocol (SNMP) Service. The SNMP parameters determine how you can use another device to access and modify the configuration of the bridge/router. Table 117 lists the SNMP Service parameters and commands.
.
|
Parameters |
Commands |
|---|---|
|
ADD, DELete, SHow | |
|
SHow | |
|
SETDefault, SHow | |
|
ADD, DELete, SHow | |
|
ADD, DELete, Show |
If the bridge/router is used as a Transmission Control Protocol/Internet Protocol (TCP/IP) node on the network, you may need to specify the Internet address for the bridge/router using the -IP NETaddr parameter even if the bridge/router performs Xerox Network Systems (XNS) routing. An Internet address is necessary for the bridge/router to participate in SNMP network management.
Syntax
ADD -SNMP COMmunity <"com.name"> [TRiv] [RO | RW] [GEnr | AUth | ALl | NOne]
DELete -SNMP COMmunity <"com.name">
SHow -SNMP COMmunity
ANYCOM, TRiv, RO, NOne
The COMmunity parameter modifies the list of communities. A community is named by a string of octets and is used for authenticating SNMP messages. A request is valid only if the community name is included in the list. A maximum of six community names is allowed in the request list.
Values
There is a reserved com.name called ANYCOM. It allows requests with any community name to be handled. When the community list is checked upon the arrival of a request, the entry under ANYCOM is checked last. If an entry under any other community name is found, the information in that entry is used instead of that under ANYCOM. If traps are configured for ANYCOM, the community name field in the trap PDU is left blank.
The name ANYCOM is case-sensitive and must be entered in uppercase letters in order to function as expected.
Syntax
SHow -SNMP CONFiguration
No default
The CONFiguration parameter displays the values of CONTrol and the SNMP Configuration Table.
Syntax
SETDefault -SNMP CONTrol = ([Manage | NoManage], [Trap | NoTrap])
SHow -SNMP CONTrol
Manage, NoTrap
The CONTrol parameter determines how the SNMP agent operates.
Values
Syntax
ADD -SNMP MANager <"com.name"> <IP address> [<mask>] [<TrapProfileName>]
DELete -SNMP MANager <"com.name"> <IP address>
SHow -SNMP MANager
No default
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
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:
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.
Syntax
ADD TrapProfile "<TrapProfileName>" [AUDitLog] [AUTH] [Dot1dBridge] [DLSw] [DLSWSna] [FrameRelay] [GEnr] [ISDN] [PATH [PORT] [REMote] [RMon] [SDLC] [SYS] [VPN]\
DELete TrapProfile "<TrapProfileName>"
SHow -snmp TrapProfile
None
The TrapProfile parameter allows users to add or delete trap profiles. The settings are associated with a profile name and are used when a Manager is configured. There are five predefined profiles. Users are not allowed to change the settings of, or delete the predefined profiles. The following example shows the predefined profiles with their respective settings.
|
ProfileName |
Setting |
|
DEFAULT |
(UseDefault) Meaning that we use the per community trap setting. |
|
GEN |
(Gen) |
|
AUTH |
(Auth) |
|
ALL |
(ALL) |
|
NONE |
(NONE) |
Values
|
Allows the user to configure trap settings on a per-Manager basis. If no TrapProfileName is provided when the manager is configured the per community string setting is used. | |
|---|---|
|
|
|