This command configures and displays the management-module SNMP settings.
Function | What it does | Command | Valid targets |
---|---|---|---|
Display SNMP configuration of management module | Displays the current SNMP configuration of the management module. | snmp |
where x is the primary management-module bay number. |
SNMPv1 agent - enable/disable | Enables or disables the management-module SNMPv1
agent.
Note: Before you can enable the SNMPv1 agent, the
following must be specified:
|
snmp -a -
state
where state is on or off. This command can only be run by users who have one or more
of the following command authorities:
|
where x is the primary management-module bay number. |
SNMPv3 agent - enable/disable | Enables or disables the management-module SNMPv3
agent.
Note: Before you can enable the SNMPv3 agent, the
following must be specified:
|
snmp -a3 -
state
where state is on or off. This command can only be run by users who have one or more
of the following command authorities:
|
where x is the primary management-module bay number. |
SNMP traps - enable/disable | Enables or disables the management-module SNMP traps. |
snmp -t -
state
where state is on or off. This command can only be run by users who have one or more
of the following command authorities:
|
where x is the primary management-module bay number. |
SNMP community 1 name - set |
Sets the name of community 1. |
snmp
-c1
name
where name is a descriptive name of community 1.
This command can only be run by users who have one
or more of the following command authorities:
|
where x is the primary management-module bay number. |
SNMP community 1 first host name or IP address - set | Checks syntax and sets the first host name or IP address of community 1. |
snmp
-c1i1
hostname/ip_address
where hostname/ip_address is the first host name or IP address of community 1.
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the primary management-module bay number. |
SNMP Community 1, first host name - set access to SET (wildcard) | Sets the access type for community 1 to SET. |
snmp
–ca1 set -c1i1 0.0.0.0
This command can only be run by users who have one
or more of the following command authorities:
|
where x is the primary management-module bay number. |
SNMP Community 1, first host name or IP address - set access to GET (wildcard) | Sets the access type for community 1 to GET. |
snmp
–ca1 get -c1i1 0.0.0.0
This command can only be run by users who have one
or more of the following command authorities:
|
where x is the primary management-module bay number. |
SNMP community 1 second host name or IP address - set | Checks syntax and sets the second host name or IP address of community 1. |
snmp
-c1i2
hostname/ip_address
where hostname/ip_address is the second host name or IP address of community 1.
This command can only be run by users who have one
or more of the following command authorities:
|
where x is the primary management-module bay number. |
SNMP community 1 third host name or IP address - set | Checks syntax and sets the third host name or IP address of community 1. |
snmp
-c1i3
hostname/ip_address
where hostname/ip_address is the third host name or IP address of community 1.
This command can only be run by users who have one
or more of the following command authorities:
|
where x is the primary management-module bay number. |
SNMPv3 community 1 view type - set | Sets the SNMPv3 view type for community 1. |
snmp
-ca1
type
where type is
This command can only be run by users who
have one or more of the following command authorities:
|
where x is the primary management-module bay number. |
SNMP community 2 name - set | Sets the name of community 2. |
snmp
-c2
name
where name is a descriptive name of community 2.
This command can only be run by users who have one
or more of the following command authorities:
|
where x is the primary management-module bay number. |
SNMP community 2 first host name or IP address - set | Checks syntax and sets the first host name or IP address of community 2. |
snmp
-c2i1
hostname/ip_address
where hostname/ip_address is the first host name or IP address of community 2.
This command can only be run by users who have one
or more of the following command authorities:
|
where x is the primary management-module bay number. |
SNMP community 2 second host name or IP address - set | Checks syntax and sets the second host name or IP address of community 2. |
snmp
-c2i2
hostname/ip_address
where hostname/ip_address is the second host name or IP address of community 2.
This command can only be run by users who have one
or more of the following command authorities:
|
where x is the primary management-module bay number. |
SNMP community 2 third host name or IP address - set | Checks syntax and sets the third host name or IP address of community 2. |
snmp
-c2i3
hostname/ip_address
where hostname/ip_address is the third host name or IP address of community 2.
This command can only be run by users who have one
or more of the following command authorities:
|
where x is the primary management-module bay number. |
SNMPv3 community 2 view type - set | Sets the SNMPv3 view type for community 2. |
snmp
-ca2
type
where type is
This command can only be run by users who
have one or more of the following command authorities:
|
where x is the primary management-module bay number. |
SNMP community 3 name - set | Sets the name of community 3. |
snmp
-c3
name
where name is a descriptive name of community 3.
This command can only be run by users who have one
or more of the following command authorities:
|
where x is the primary management-module bay number. |
SNMP community 3 first host name or IP address - set | Checks syntax and sets the first host name or IP address of community 3. |
snmp
-c3i1
hostname/ip_address
where hostname/ip_address is the first host name or IP address of community 3.
This command can only be run by users who have one
or more of the following command authorities:
|
where x is the primary management-module bay number. |
SNMP community 3 second host name or IP address - set | Checks syntax and sets the second host name or IP address of community 3. |
snmp
-c3i2
hostname/ip_address
where hostname/ip_address is the second host name or IP address of community 3.
This command can only be run by users who have one
or more of the following command authorities:
|
where x is the primary management-module bay number. |
SNMP community 3 third host name or IP address - set | Checks syntax and sets the third host name or IP address of community 3. |
snmp
-c3i3
hostname/ip_address
where hostname/ip_address is the third host name or IP address of community 3.
This command can only be run by users who have one
or more of the following command authorities:
|
where x is the primary management-module bay number. |
SNMPv3 community 3 view type - set | Sets the SNMPv3 view type for community 3. |
snmp
-ca3
type
where type is
This command can only be run by users who
have one or more of the following command authorities:
|
where x is the primary management-module bay number. |
SNMP contact name - set | Sets the contact name. |
snmp
-cn
contact_name
where contact_name is the name of the party to be contacted when SNMP traps an event.
This command can only be run by users who have one
or more of the following command authorities:
|
where x is the primary management-module bay number. |
SNMP location - set | Sets the location. |
snmp
-l
hostname/ip_address
where hostname/ip_address identifies the website supporting SNMP for this management module.
This command can only be run by users who have one
or more of the following command authorities:
|
where x is the primary management-module bay number. |
snmp
snmp -a -on -t -on
The following example shows the information that is returned from these two commands:
system:mm[1]> snmp
-a Enabled
-a3 Enabled
-t Enabled
-l Raleigh,NC
-cn Mr. Smith
-c1 public
-c1i1 9.44.146.157
-c1i2 9.44.147.24
-c1i3 9.49.165.217
-ca1 set
-c2 private
-c2i1 9.42.226.4
-c2i2
-c2i3
-ca2 get
-c3 test
-c3i1 9.44.247.64
-c3i2
-c3i3
-ca3 getsystem:mm[1]> snmp -a -on -t -on
system:mm[1]>