Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 1 CLI Commands by Level : SNMP Server CONFIG Commands

SNMP Server CONFIG Commands
All CLI Simple Network Management Protocol (SNMP) Server CONFIG commands are listed in Table 23 in alphabetical order.
The SNMP Server CONFIG level allows you to configure SNMP server parameters on TIBCO Messaging Appliance systems on a system by system basis. You reach this level by entering snmp-server at the Global CONFIG level.
Example:
tibco# configure
tibco(config)# snmp-server
tibco(config-snmp-server)#
The CLI is now at the SNMP CONFIG level.
(config-snmp-server)# community
Description
Use this command to configure an authorized SNMPv2c community for read-only access to the SNMP server MIBs, associate SNMPv2c communities with SNMP MIB views, and create and modify the SNMPv2c community table, Each community is associated with a group.
The no version deletes the specified SNMPv2c community from the associated group.
Syntax
community <name> group <group>
no community <name>
Where:
<name> is the name of the SNMPv2c community
Note: SNMPv2c community names can contain up to 31 alphanumeric characters, and must be unique among all created communities.
<group> is the name of the group to associate with the SNMPv2c community
Example
tibco(config-snmp-server)# community ontario group california
(config-snmp-server)# contact
Description
Use this command to configure the SNMP server’s contact person.
The no version clears the location identifier from the SNMP configuration.
Syntax
contact <name>
no contact
Where:
<name> is the name of the person who manages the server (1 to 255 characters). Use quotes around the name when it is two or more terms.
Example
tibco(config-snmp-server)# contact “Bob Smith”
(config-snmp-server)# group
Description
TIBCO Messaging Appliance P-7500 system recognizes up to 16 groups for SNMP access. Use this command to create or modify an SNMP group.
The no version deletes the specified group.
Syntax
group <name> {v2c|v3 {auth | noauth | priv}}
no group <name>
Where:
<name> is the name of the group
Note: Group names can contain up to 31 alphanumeric characters, and must be unique among all created groups.
v2c|v3 is the version of the SNMP protocol to be used to access the group. SNMPv2c is used as a default if no version is specified.
auth | noauth | priv is the minimum level of security needed to access the group. This applies to SNMPv3 notification traps only.
Note: SNMPv3 groups can have any of the following predefined SNMPv3 security levels:
Example
tibco(config-snmp-server)# group ontario v3 auth
(config-snmp-server)# host
Description
By default no SNMP trap hosts (that is, clients) are notified of SNMP traps. Use this command to designate an SNMP trap host as a recipient for SNMP trap notifications.
The no version removes the specified host from the list of recipients for SNMP trap notifications.
Syntax
host <ip-addr> traps [ {v2c | v3 {{auth | noauth | priv} user <name>}}] [port <port>]
no host <ip-addr>
Where:
<ip-addr> is the IP address of the SNMP trap host, specified in the dotted decimal notation form nnn.nnn.nnn.nnn
v2c | v3 is the version of the SNMP protocol to be used. SNMPv2c traps are generated as a default if no version is specified.
auth | noauth | priv is the authentication level of the trap. This applies to SNMPv3 traps only. The parameter noauth is used as a default if this parameter is not provided.
<name> is the name of the user to be used. This applies to SNMPv3 traps only.
<port> is the TCP port on the host where notifications are to be sent, specified as a decimal value from 0 to 65,535. Port 162 is used as a default if this parameter is not provided.
Example
tibco(config-snmp-server)# host 10.1.2.3 traps v3 auth user bob smith port 158
(config-snmp-server)# location
Description
Use this command to configure the SNMP server’s location.
The no version clears the location identifier from the SNMP configuration.
Syntax
location <name>
no location
Where:
<name> is the name of the server’s physical location (1 to 255 characters). Use quotes around the name when it is two or more terms.
Example
tibco(config-snmp-server)# location “10009 Highway 83”
(config-snmp-server)# shutdown
Description
Use this command to stop the SNMP server once started.
The no version starts the SNMP server.
By default the SNMP server is disabled (that is, not running) on the TIBCO Messaging Appliance P-7500 system.
Syntax
shutdown
no shutdown
The shutdown command does not have any parameters or subcommands.
Example
tibco(config-snmp-server)# shutdown
(config-snmp-server)# user
Description
Use this command to create or modify SNMPv3 users. Each user is associated with a group.
The no version deletes the specified SNMPv3 user from the associated group.
Syntax
user <name> group <group> password <password>
no user <name>
Where:
<name> is the name of the SNMPv3 user
Note: SNMPv3 user names can contain up to 31 alphanumeric characters, and must be unique among all created users.
<group> is the name of the group to associate with the user
<password> is the password assigned for the user
Note: An SNMP user password can contain 8 to 128 alphanumeric characters, and can be used with all created users, whether v2c or v3.
Example
tibco(config-snmp-server)# user ontario group california password secret1

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved