Skip to content

New HPOVSnmpConfiguration

Chris Lynch edited this page Dec 10, 2020 · 32 revisions

HPE OneView 4.10 Library

New-HPOVSnmpConfiguration

Create SNMP LIG Configuration Object

SYNTAX

New-HPOVSnmpConfiguration [-ReadCommunity] <String> [-SnmpV1] <bool> [-SnmpV3] <bool> [-Contact] <String> [-AccessList] <Array> [-TrapDestinations] <Array> [<CommonParameters>]
New-HPOVSnmpConfiguration [-ReadCommunity] <String> [-SnmpV3] <bool> [-SnmpV3Users] <SnmpV3User[]> [-SnmpV1] <bool> [-Contact] <String> [-AccessList] <Array> [-TrapDestinations] <Array> [<CommonParameters>]

Detailed Description

This helper Cmdlet provides the capability to create a new SNMP Configuration object for a Logical Interconnect Group or Logical Interconnect resources.

Parameters

-AccessList <Array>

A collection [System.Collections.ArrayList ] of IP Addresses or Subnets. You must include the Subnet Mask Bit value. E.g. 10.44.120.9/32 or 172.20.148.0/22

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

-Contact <String>

SNMP Contact Name.

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

-ReadCommunity <String>

The SNMP Read Community String to set.

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

-SnmpV1 <bool>

Specify if SNMPv1 should be enabled. Can be disabled when SNMPv3 is enabled.

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

-SnmpV3 <bool>

Specify if SNMPv3 should be enabled.

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

-SnmpV3Users <SnmpV3User[]>

Collection of SNMPv3 users to configure within the SNMP configuration object.

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

-TrapDestinations <Array>

A collection [System.Collections.ArrayList ] of SNMMP Trap Destinations. Use New-HPOVTrapDestination Cmdlet to create the object.

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.Networking.SnmpConfiguration [System.Management.Automation.PSCustomObject]

SNMP Configuration object for a Logical Interconnect Group or Logical Interconnect resource

Examples

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

$SnmpConfig = New-HPOVSnmpConfiguration -ReadCommunity MyR3adC0mmun1ty -AccessList "10.44.120.9/32","172.20.148.0/22 New-HPOVLogicalInterconnectGroup -LIGName "Flex10/10D and FlexFabric Production 1" -bays @{1 = "Flex1010D";2 = "Flex1010D";3 = "FlexFabric";4 = "FlexFabric"} -enableIgmpSnooping $True -igmpIdleTimeoutInterval 300 -LoopProtect $True -QosConfig $QosConfig

Create a new QOS Configuration object,and use the created object to add to a new Logical Interconnect Group.

Related Links


HPE OneView 4.00 Library

New-HPOVSnmpConfiguration

Create SNMP LIG Configuration Object

SYNTAX

New-HPOVSnmpConfiguration [-ReadCommunity] <String> [-Contact] <String> [-AccessList] <Array> [-TrapDestinations] <Array> [<CommonParameters>]

Detailed Description

This helper Cmdlet provides the capability to create a new SNMP Configuration object for a Logical Interconnect Group or Logical Interconnect resources.

Parameters

-AccessList <Array>

A collection [System.Collections.ArrayList ] of IP Addresses or Subnets. You must include the Subnet Mask Bit value. E.g. 10.44.120.9/32 or 172.20.148.0/22

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

-Contact <String>

SNMP Contact Name.

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

-ReadCommunity <String>

The SNMP Read Community String to set.

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

-TrapDestinations <Array>

A collection [System.Collections.ArrayList ] of SNMMP Trap Destinations. Use New-HPOVTrapDestination Cmdlet to create the object.

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.Networking.SnmpConfiguration [System.Management.Automation.PSCustomObject]

SNMP Configuration object for a Logical Interconnect Group or Logical Interconnect resource

Examples

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

$SnmpConfig = New-HPOVSnmpConfiguration -ReadCommunity MyR3adC0mmun1ty -AccessList '10.44.120.9/32','172.20.148.0/22 New-HPOVLogicalInterconnectGroup -LIGName "Flex10/10D and FlexFabric Production 1" -bays @{1 = "Flex1010D";2 = "Flex1010D";3 = "FlexFabric";4 = "FlexFabric"} -enableIgmpSnooping $True -igmpIdleTimeoutInterval 300 -LoopProtect $True -QosConfig $QosConfig

Create a new QOS Configuration object,and use the created object to add to a new Logical Interconnect Group.

Related Links


Wiki Table of Contents

Clone this wiki locally