Set-TPHubSnmpGlobal

2 views 0

Description

With this cmdlet you have the possibility to select the SNMP protocol with which the printers are addressed and ‒ in case of SNMP version 3 ‒ also to configure it.

Syntax

Set-TPHubSnmpGlobal [-Config] <SnmpGlobalConfigViewModel> [-Proxy <string>]

Set-TPHubSnmpGlobal [-EnableGlobalSnmp] <bool> [-Username] <string> [-AuthenticationType] {MD5 | SHA} [-AuthenticationPassphrase] <string> [-PrivacyType] {NONE | DES | AES} [-PrivacyPassphrase] <string> [-Proxy <string>]

Parameter Description
-Config configuration specified by a variable
  • EnableGlobalSnmp
  • SelectedSnmpVersion
  • Communitystring
  • Username
  • AuthenticationType
  • AuthenticationPassphrase
  • PrivacyType
  • PrivacyPassphrase
  • SNMP disabled/enabled, 0/1 = False/True
  • SNMP version, 1/2 =  V1/2c or V3
  • community name, e. g.: public 
  • user name, e. g.: administrator 
  • authentication type, 0/1 = MD5 or SHA
  • password for authentication via SNMP at the printer
  • optional: DES or AES
  • optional: passwort for encryption of SNMP queries
-EnableGlobalSnmp SNMP disabled/enabled, 0/1 = False/True
-Username user name, e. g. administrator 
-AuthenticationType authentication type: MD5 (recommended for test purposes only) or SHA
-AuthenticationPassphrase password for authentication via SNMP at the printer
-PrivacyType optional: DES or AES
-PrivacyPassphrase optional: passwort for encryption of SNMP queries
-Community community name, e. g.: public
-Proxy • optional (from firmware version 1.1): proxy server address
• can also be specified globally using Set-TPHubProxy

Example 1

The following example reads the SNMP configuration and changes it to SNMP version 3.

Get-TPHubSnmpGlobal
Set-TPHubSnmpGlobal -EnableGlobalSnmp 1 -AuthenticationType SHA -Username: administrator -AuthenticationPassphrase: admin12345 -PrivacyType: AES -PrivacyPassphrase: admin12345
Get-TPHubSnmpGlobal

Example 2

This example reads the SNMP configuration into the $config variable and uses the variable to change it to SNMP version 1.

$config = Get-TPHubSnmpGlobal
$config
$config.SelectedSnmpVersion = 1
Set-TPHubSnmpGlobal -Config $config
Get-TPHubSnmpGlobal

Previous Page
Next Page

Was this helpful?