New HPOVSnmpV3User - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

New-HPOVSnmpV3User

Create a new SNMPv3 user from appliance or Logical Interconnect/Switch resoure.

SYNTAX

New-HPOVSnmpV3User [-Username] <String>[ [-SecurityLevel] <String>][ [-AuthProtocol] <String>][ [-AuthPassword] <SecureString>][ [-PrivProtocol] <String>][ [-PrivPassword] <SecureString>] [<CommonParameters>]
New-HPOVSnmpV3User [-Username] <String> [-ApplianceSnmpUser] <SwitchParameter>[ [-SecurityLevel] <String>][ [-AuthProtocol] <String>][ [-AuthPassword] <SecureString>][ [-PrivProtocol] <String>][ [-PrivPassword] <SecureString>][ [-ApplianceConnection] <Array>] [<CommonParameters>]

Detailed Description

HPE OneView can be used as a proxy to forward device traps from servers and enclosures (OA) to other SNMP-enabled applications on the network. HPE OneView can forward traps, as SNMPv3 or SNMPv1 traps, to configured destinations.

Appliance SNMP settings allow you to add destinations to which the traps need to be forwarded. You can configure each destination as an SNMPv1 or SNMPv3 destination, depending on whether the traps are sent in SNMPv1 or SNMPv3 formats.

Additionally, if you have Gen6 or Gen7 servers being monitored by HPE OneView in your environment, you can configure the read community string that HPE OneView uses for monitoring these servers with SNMPv1.

NOTE: To configure SNMP trap forwarding for network devices (interconnects and switches), use the New-HPOVSnmpV3User and include it within the New-HPOVSnmpSettings Cmdlet.

Privileges: Infrastructure administrator

Parameters

-ApplianceConnection <Array>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? False
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters?    False

-ApplianceSnmpUser <SwitchParameter>

Use this to create an appliance SNMPv3 User. Default is to create an HPOneView.Networking.SnmpV3User.

Aliases None
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-AuthPassword <SecureString>

SNMpv3 Authentication password in SecureString format.

Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-AuthProtocol <String>

SNMPv3 Authentication protocol. Supported values:

* None
* MD5
* SHA
* SHA1
* SHA256
* SHA384
* SHA512
Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-PrivPassword <SecureString>

SNMpv3 Privacy password in SecureString format.

Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-PrivProtocol <String>

SNMPv3 Privacy protocol. Supported values:

* none
* des56
* 3des
* aes128
* aes192
* aes256"
Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-SecurityLevel <String>

Specify the type of SNMPv3 security policy. Supported values: * None * AuthOnly * AuthAndPriv

Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Username <String>

SNMPv3 Username

Aliases None
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)

Input Types

None. You cannot pipe objects to this cmdlet.

Return Values

HPOneView.Appliance.SnmpV3User

Appliance SNMPv3 user account created on the appliance.

HPOneView.Networking.SnmpV3User

SNMPv3 user account for a networking resource.

Examples

 -------------------------- EXAMPLE 1 --------------------------

$Snmpv3Password = ConvertTo-SecureString "Myp@ssword" -AsPlainText -Force New-HPOVSnmpV3User -ApplianceSnmpUser -Username MySNMPv3us3r -SecurityLevel AuthAndPriv -AuthProtocol SHA512 -AuthPassword AES192 -PrivProtocol $SnmpV3UserPrivProtocol -PrivPassword $Snmpv3Password

Create a new SNMPv3 user for the appliance.

Related Links


Top

HPE OneView 4.00 Library

New-HPOVSnmpV3User

Create a new SNMPv3 user from appliance or Logical Interconnect/Switch resoure.

SYNTAX

New-HPOVSnmpV3User [-Username] <String>[ [-SecurityLevel] <String>][ [-AuthProtocol] <String>][ [-AuthPassword] <SecureString>][ [-PrivProtocol] <String>][ [-PrivPassword] <SecureString>][ [-ApplianceConnection] <Array>] [<CommonParameters>]
New-HPOVSnmpV3User [-Username] <String> [-ApplianceSnmpUser] <SwitchParameter>[ [-SecurityLevel] <String>][ [-AuthProtocol] <String>][ [-AuthPassword] <SecureString>][ [-PrivProtocol] <String>][ [-PrivPassword] <SecureString>][ [-ApplianceConnection] <Array>] [<CommonParameters>]

Detailed Description

HPE OneView can be used as a proxy to forward device traps from servers and enclosures (OA) to other SNMP-enabled applications on the network. HPE OneView can forward traps, as SNMPv3 or SNMPv1 traps, to configured destinations.

Appliance SNMP settings allow you to add destinations to which the traps need to be forwarded. You can configure each destination as an SNMPv1 or SNMPv3 destination, depending on whether the traps are sent in SNMPv1 or SNMPv3 formats.

Additionally, if you have Gen6 or Gen7 servers being monitored by HPE OneView in your environment, you can configure the read community string that HPE OneView uses for monitoring these servers with SNMPv1.

NOTE: To configure SNMP trap forwarding for network devices (interconnects and switches), use the New-HPOVSnmpV3User and include it within the New-HPOVSnmpSettings Cmdlet.

Privileges: Infrastructure administrator

Parameters

-ApplianceConnection <Array>

Aliases [-Appliance]

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases Appliance
Required? False
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? false
Accept wildcard characters?    False

-ApplianceSnmpUser <SwitchParameter>

Use this to create an appliance SNMPv3 User. Default is to create an HPOneView.Networking.SnmpV3User.

Aliases None
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-AuthPassword <SecureString>

SNMpv3 Authentication password in SecureString format.

Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-AuthProtocol <String>

SNMPv3 Authentication protocol. Supported values:

* None
* MD5
* SHA
* SHA1
* SHA256
* SHA384
* SHA512
Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-PrivPassword <SecureString>

SNMpv3 Privacy password in SecureString format.

Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-PrivProtocol <String>

SNMPv3 Privacy protocol. Supported values:

* none
* des56
* 3des
* aes128
* aes192
* aes256'
Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-SecurityLevel <String>

Specify the type of SNMPv3 security policy. Supported values: * None * AuthOnly * AuthAndPriv

Aliases None
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Username <String>

SNMPv3 Username

Aliases None
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)

Input Types

None. You cannot pipe objects to this cmdlet.

Return Values

HPOneView.Appliance.SnmpV3User

Appliance SNMPv3 user account created on the appliance.

HPOneView.Networking.SnmpV3User

SNMPv3 user account for a networking resource.

Examples

 -------------------------- EXAMPLE 1 --------------------------

$Snmpv3Password = ConvertTo-SecureString 'Myp@ssword' -AsPlainText -Force New-HPOVSnmpV3User -ApplianceSnmpUser -Username MySNMPv3us3r -SecurityLevel AuthAndPriv -AuthProtocol SHA512 -AuthPassword AES192 -PrivProtocol $SnmpV3UserPrivProtocol -PrivPassword $Snmpv3Password

Create a new SNMPv3 user for the appliance.

Related Links


Top
⚠️ **GitHub.com Fallback** ⚠️