Skip to content

Latest commit

 

History

History
296 lines (220 loc) · 7.89 KB

File metadata and controls

296 lines (220 loc) · 7.89 KB
external help file Module Name online version schema
Intersight.PowerShell.dll-Help.xml
Intersight.PowerShell
2.0.0

Set-IntersightFabricEthNetworkControlPolicy

SYNOPSIS

Fill in the Synopsis

SYNTAX


Set-IntersightFabricEthNetworkControlPolicy [-AdditionalProperties< System.Collections.Generic.Dictionary`2[string,object]>][-CdpEnabled< bool>][-Description< string>][-ForgeMac< FabricEthNetworkControlPolicy.ForgeMacEnum>][-LldpSettings< FabricLldpSettings>][-MacRegistrationMode< FabricEthNetworkControlPolicy.MacRegistrationModeEnum>][[-Moid]< string>][-Name< string>][-NetworkPolicy< System.Collections.Generic.List`1[VnicEthNetworkPolicyRelationship]>][-Organization< OrganizationOrganizationRelationship>][-Tags< System.Collections.Generic.List`1[MoTag]>][-UplinkFailAction< FabricEthNetworkControlPolicy.UplinkFailActionEnum>][-IfMatch< String>][-Json< SwitchParameter>][-WithHttpInfo< SwitchParameter>]

DESCRIPTION

Update a 'FabricEthNetworkControlPolicy' resource.

PARAMETERS

-AdditionalProperties

Type: System.Collections.Generic.Dictionary`2[string,object]
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-CdpEnabled

Enables the CDP on an interface.

Type: bool
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-Description

Description of the policy.

Type: string
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-ForgeMac

Determines if the MAC forging is allowed or denied on an interface.\n* allow - Allows mac forging on an interface.\n* deny - Denies mac forging on an interface.

Type: FabricEthNetworkControlPolicy.ForgeMacEnum
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-LldpSettings

Determines the LLDP setting on an interface on the switch.

Note :- Use Initialize-IntersightFabricLldpSettings to create the object of complex type FabricLldpSettings

Type: FabricLldpSettings
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-MacRegistrationMode

Determines the MAC addresses that have to be registered with the switch.\n* nativeVlanOnly - Register only the MAC addresses learnt on the native VLAN.\n* allVlans - Register all the MAC addresses learnt on all the allowed VLANs.

Type: FabricEthNetworkControlPolicy.MacRegistrationModeEnum
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-Moid

The unique identifier of this Managed Object instance.

Type: string
Parameter Sets: (All)
Aliases:

Required: true
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-Name

Name of the concrete policy.

Type: string
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-NetworkPolicy

An array of relationships to vnicEthNetworkPolicy resources.

Note:- To get the relationship object pass the MO to the cmdlet Get-IntersightMoMoRef or use the cmdlet Initialize-IntersightMoMoRef.

Type: System.Collections.Generic.List`1[VnicEthNetworkPolicyRelationship]
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-Organization

A reference to a organizationOrganization resource.\nWhen the $expand query parameter is specified, the referenced resource is returned inline.

Note:- To get the relationship object pass the MO to the cmdlet Get-IntersightMoMoRef or use the cmdlet Initialize-IntersightMoMoRef.

Type: OrganizationOrganizationRelationship
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-Tags

Note :- Use Initialize-IntersightMoTag to create the object of complex type MoTag

Type: System.Collections.Generic.List`1[MoTag]
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-UplinkFailAction

Determines the state of the virtual interface (vethernet / vfc) on the switch when a suitable uplink is not pinned.\n* linkDown - The vethernet will go down in case a suitable uplink is not pinned.\n* warning - The vethernet will remain up even if a suitable uplink is not pinned.

Type: FabricEthNetworkControlPolicy.UplinkFailActionEnum
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-IfMatch

For methods that apply server-side changes, and in particular for PUT, If-Match can be used to prevent the lost update problem. It can check if the modification of a resource that the user wants to upload will not override another change that has been done since the original resource was fetched. If the request cannot be fulfilled, the 412 (Precondition Failed) response is returned. When modifying a resource using POST or PUT, the If-Match header must be set to the value of the resource ModTime property after which no lost update problem should occur. For example, a client send a GET request to obtain a resource, which includes the ModTime property. The ModTime indicates the last time the resource was created or modified. The client then sends a POST or PUT request with the If-Match header set to the ModTime property of the resource as obtained in the GET request.

Type: String
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True False
Accept wildcard characters: False

-Json

Returns the json payload received in response.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True False
Accept wildcard characters: False

-WithHttpInfo

Returns the HTTP response with headers and content.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

EXAMPLES

Example 1

PS C:\> Set-IntersightFabricEthNetworkControlPolicy

{ Add example description here }

INPUTS

System.Int32

System.String

OUTPUTS

TestModule.FavoriteStuff

NOTES

RELATED LINKS

Get-IntersightFabricEthNetworkControlPolicy

Initialize-IntersightFabricLldpSettings

Initialize-IntersightMoVersionContext

New-IntersightFabricEthNetworkControlPolicy

Remove-IntersightFabricEthNetworkControlPolicy