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. |
snmp
-a -
state
where state is on or off. Command use restricted (see Commands and user authority). |
where x is the primary management-module bay number. |
SNMPv3 agent - enable/disable | Enables or disables the management-module SNMPv3 agent. |
snmp
-a3 -
state
where state is on or off. Command use restricted (see Commands and user authority). |
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. Command use restricted (see Commands and user authority). |
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.
Command use restricted (see Commands and user authority). |
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
Command use restricted (see Commands and user authority). |
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
Command use restricted (see Commands and user authority). |
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.
Command use restricted (see Commands and user authority). |
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.
Command use restricted (see Commands and user authority). |
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
Command use restricted (see Commands and user authority). |
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.
Command use restricted (see Commands and user authority). |
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.
Command use restricted (see Commands and user authority). |
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.
Command use restricted (see Commands and user authority). |
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.
Command use restricted (see Commands and user authority). |
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
Command use restricted (see Commands and user authority). |
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.
Command use restricted (see Commands and user authority). |
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.
Command use restricted (see Commands and user authority). |
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.
Command use restricted (see Commands and user authority). |
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.
Command use restricted (see Commands and user authority). |
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
Command use restricted (see Commands and user authority). |
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.
Command use restricted (see Commands and user authority). |
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 web site supporting SNMP for this management module.
Command use restricted (see Commands and user authority). |
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 Disabled
-t Disabled
-l No Location Configured
-cn No Contact Configured
-c1 com1
-c1i1 1.2.3.4
-c1i2
-c1i3
-c2 com2
-c2i1 1.2.3.4
-c2i2
-c2i3
-c3
-c3i1
-c3i2
-c3i3
system:mm[1]> snmp -a -on -t -on
Changes to the network settings will take effect after the next reset of the MM.
system:mm[1]>