Skip header
 

Use the "snmp" command to display and edit the SNMP configuration settings such as the community name.

View settings

"IPX" is shown only when an optional NetWare unit is installed.

msh> snmp

  • Default access settings 1 is as follows:

    Community name:public

    IPv4 address:0.0.0.0

    IPv6 address:::

    IPX address:00000000:000000000000

    Access type:read-only

    Effective Protocol:IPv4/IPv6/IPX

  • Default access settings 2 is as follows:

    Community name:admin

    IPv4 address:0.0.0.0

    IPv6 address:::

    IPX address:00000000:000000000000

    Access type:read-write

    Effective Protocol:IPv4/IPv6/IPX

  • If "-p" is added, you can view settings one by one.

  • To display the current community, specify its registration number.

Display

msh> snmp ?

Community name configuration

msh> snmp "number" name "community_name"

  • You can configure ten SNMP access settings numbered 1–10.

  • The machine cannot be accessed from Device Manager NX or SmartDeviceMonitor for Client if "public" is not registered in numbers 1–10. If you change the machine's community name, change the connected computer's community name accordingly.

  • The community name can be entered up to 15 characters.

Deleting community name

msh> snmp "number" clear name

Access type configuration

msh> snmp "number" type "access_type"

Access type

Type of access permission

no

not accessible

read

read only

write

read and write

trap

user is notified of trapmessages

Protocol configuration

Use the following command to set protocols "active" or "inactive". If you set a protocol "inactive", all access settings for that protocol are disabled.

"IPX" is shown only when an optional NetWare unit is installed.

msh> snmp {ipv4|ipv6|ipx} {on|off}

  • Specify "ipv4" for IPv4, "ipv6" for IPv6, or "ipx" for IPX/SPX.

  • {on} means "active" and {off} means "inactive".

  • All protocols cannot be turned off concurrently.

Configuration of protocol for each registration number

"IPX" is shown only when an optional NetWare unit is installed.

msh> snmp "number" active {ipv4|ipv6|ipx} {on|off}

  • To change the protocol of access settings, use the following command. However, if you have disabled a protocol with the above command, activating it here has no effect.

Access configuration

"IPX" is shown only when an optional NetWare unit is installed.

msh> snmp "number" {ipv4|ipv6|ipx} "address"

  • You can configure a host address according to the protocol used.

  • The network interface board accepts requests only from hosts that have IPv4, IPv6, and IPX addresses with access types of "read-only" or "read-write". Enter "0" to have the network interface board accept requests from any hosts without requiring a specific type of access.

  • Enter a host address to deliver "trap" access type information.

  • To specify IPv4 or IPv6, enter "ipv4" or "ipv6" followed by a space, and then the IPv4 or IPv6 address.

  • To specify IPX/SPX, enter "ipx" followed by a space, the IPX address followed by a decimal, and then the MAC address of the network interface board.

sysLocation configuration

msh> snmp location "character string"

Deleting sysLocation

msh> snmp clear location

sysContact setting

msh> snmp contact "character string"

Deleting sysContact

msh> snmp clear contact

SNMP v1v2 function configuration

msh> snmp v1v2 {on|off}

SNMP v3 function configuration

msh> snmp v3 {on|off}

  • Specify "on" to enable, and "off" to disable.

SNMP TRAP configuration

msh> snmp trap {v1|v2|v3} {on|off}

  • Specify "on" to enable, and "off" to disable.

Remote configuration authorization configuration

msh> snmp remote {on|off}

  • Specify "on" to enable, and "off" to disable the SNMP v1v2 setting.

SNMP v3 TRAP configuration display

msh> snmp v3trap

msh> snmp v3trap [1–5]

  • If a number from 1 to 5 is entered, settings are displayed for that number only.

Configuring a sending address for SNMP v3 TRAP

"IPX" is shown only when an optional NetWare unit is installed.

msh> snmp v3trap [1–5] {ipv4|ipv6|ipx} "address"

Configuring a sending protocol for SNMP v3 TRAP

"IPX" is shown only when an optional NetWare unit is installed.

msh> snmp v3trap [1–5] active {ipv4|ipv6|ipx} {on|off}

Configuring a user account for SNMP v3 TRAP

msh> snmp v3trap [1–5] account "account_name"

  • Enter an account name up to 32 alphanumeric characters.

Deleting an SNMP v3 TRAP user account

msh> snmp v3trap [1–5] clear account

Configuring an SNMP v3 authentication algorithm

msh> snmp v3auth algo {md5|sha1}

Configuring an SNMP v3 encryption algorithm

msh> snmp v3priv algo des/aes

Configuring SNMP v3 encryption

msh> snmp v3priv mode {auto|on}

  • Set "auto" for automatic encryption configuration.

  • If you select "on", plain-text communication becomes impossible - only encrypted communication is possible.

Note

  • "Encrypted communication" means an encrypted password is set on the machine.