Use the "snmp" command to display and edit SNMP configuration settings such as the community name.
View settings
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 printer cannot be accessed from SmartDeviceMonitor for Admin or SmartDeviceMonitor for Client if "public" is not registered in numbers 1-10. When changing the community name, use SmartDeviceMonitor for Admin and SNMP Setup Tool to correspond with printer settings.
The community name can be entered using 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
msh> snmp {ipv4|ipv6|ipx} {on|off}
Use the following command to set protocols "active" or "inactive": If you set a protocol "inactive", all access settings for that protocol are disabled.
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
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
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 network interface board accept requests from any host without requiring a specific type of access.
Enter a host address to deliver "trap" access type information to.
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
Deleting sysLocation
msh> snmp clear location
sysContact setting
msh> snmp contact
Deleting sysContact
msh> snmp clear contact
SNMP v1v2 function configuration
msh> snmp v1v2 {on|off}
Specify "on" to enable, and "off" to disable.
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-5 is entered, settings are displayed for that number only.
Configuring a sending address for SNMP v3 TRAP
msh> snmp v3trap {1-5} {ipv4|ipv6|ipx} "address"
Configuring a sending protocol for SNMP v3 TRAP
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 using up to 32 alphanumeric characters.
Deleting an SNMP v3 TRAP user account
msh> snmp v3trap {1-5} clear account
Configuring an SNMP v3 encryption algorithm
msh> snmp v3auth {md5|sha1}
Configuring SNMP v3 encryption
msh> snmp v3priv {auto|on}
Set "auto" for automatic encryption configuration.
Set "on" for mandatory encryption configuration.