Set-TPHubSnmpGlobal

10 views 0

Beschreibung

Mit diesem Cmdlet haben Sie die Möglichkeit, das SNMP-Protokoll zu wählen, mit dem die Drucker angesprochen werden, und ‒ im Falle von SNMP-Version 3 ‒ auch zu konfigurieren.

Syntax

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

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

Parameter Beschreibung
-Config durch eine Variable spezifizierte Konfiguration
  • EnableGlobalSnmp
  • SelectedSnmpVersion
  • Communitystring
  • Username
  • AuthenticationType
  • AuthenticationPassphrase
  • PrivacyType
  • PrivacyPassphrase
  • SNMP deaktiviert/aktiviert, 0/1 = False/True
  • SNMP-Version, 1/2 =  V1/2c oder V3
  • Cummunity-Name, z. B.: public 
  • Nutzername, z. B.: administrator 
  • Authentifizierungstyp, 0/1 = MD5 or SHA
  • Passwort für die Authentifizierung via SNMP am Drucker
  • optional: DES oder AES
  • optional: Passwort für die Verschlüsselung der Abfragen
-EnableGlobalSnmp SNMP deaktiviert/aktiviert, 0/1 = False/True
-Username Nutzername, z. B.: administrator 
-AuthenticationType Authentifizierungstyp: MD5 (nur für Testzwecke empfohlen) oder SHA
-AuthenticationPassphrase Passwort für die Authentifizierung via SNMP am Drucker
-PrivacyType optional: DES oder AES
-PrivacyPassphrase optional: Passwort für die Verschlüsselung der SNMP-Abfragen
-Community Cummunity-Name, z. B.: public 
-Proxy • optional: Adresse des Proxy-Servers
• kann auch global mit Set-TPHubProxy festgelegt werden

Beispiel 1

Das folgende Beispiel liest die SNMP-Konfiguration und ändert diese auf die SNMP-Version 3.

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

Beispiel 2

Dieses Beispiel liest die SNMP-Konfiguration in die Variabel $config ein und ändert diese mit Hilfe der Variable auf die SNMP-Version 1.

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

Previous Page
Next Page

War dies hilfreich?