Description
This Cmdlet sets that the current ThinPrint Hub can be monitored with SNMP version 3.
Versions 1 and 2c can be enabled in parallel with Set-TPHubSnmpAgentV1.
Syntax
Set-TPHubSnmpAgentV3 [-IsActive] <bool> [-Proxy <string>] Set-TPHubSnmpAgentV3 [-Username] <string> [-AuthenticationType] {MD5 | SHA} [-AuthenticationPassphrase] <string> [-PrivacyType] {NONE | DES | AES} [-PrivacyPassphrase] <string> [-Proxy <string>] Set-TPHubSnmpAgentV3 [[-Config] <SnmpV3ConfigViewModel>] [-Proxy <string>]
Parameter | Description |
-IsActive | SNMP version 3 enabled/disabled (1/0 or True/False) |
-Username | user name to be used for authentication |
-AuthenticationType | choice between 2 authentication types • MD5 (recommended for testing purposes only) • SHA |
-AuthenticationPassphrase | password used for authentication on the printer via SNMP |
-PrivacyType | choice between 2 encryption types (optional) • DES • AES |
-PrivacyPassphrase | password used for encryption of SNMP queries (optional) |
-Config | configuration using a variable |
-Proxy | • optional (from firmware version 1.1): proxy server address • can also be specified globally using Set-TPHubProxy |
Example
The following example configures the current Hub for monitoring with SNMP version 3.
$SNMP = Get-TPHubSnmpAgentV3 $SNMP $SNMP.IsActive = 1 $SNMP.Username = "printuser" $SNMP.AuthenticationType = "SHA" $SNMP.AuthenticationPassphrase = "12345678" $SNMP.PrivacyType = "AES" $SNMP.PrivacyPassphrase = "87654321" Set-TPHubSnmpAgentV3 -Config $SNMP Get-TPHubSnmpAgentV3