< Back

Set-ArubaSWVlansPorts

Sat Jan 18, 2020 8:40 pm

NAME Set-ArubaSWVlansPorts



SYNOPSIS

Configure Vlan Ports on ArubaOS Switch (Provision)





SYNTAX

Set-ArubaSWVlansPorts -vlan_id <Int32> -port_id <String> [-port_mode] <String> [-connection <PSObject>]

[<CommonParameters>]



Set-ArubaSWVlansPorts [-vlanports] <PSObject> [-port_mode] <String> [-connection <PSObject>] [<CommonParameters>]





DESCRIPTION

Configure vlan Ports Mode (Tagged, Untagged, Forbidden)





PARAMETERS

-vlan_id <Int32>



Required? true

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-port_id <String>



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-vlanports <PSObject>

ValidateScript({ ValidateVlan $_ })]



Required? true

Position? 2

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-port_mode <String>



Required? true

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-connection <PSObject>



Required? false

Position? named

Default value $DefaultArubaSWConnection

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 (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



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



PS C:\\>$vlanport = Get-ArubaSWVlansPorts -vlan_id 85 -port_id 8



PS C:\\>$vlanport | Set-ArubaSWVlansPorts -port_mode untagged



(Re)configure vlan id 85 on port id 8 with mode untagged









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Set-ArubaSWVlansPorts -vlan_id 23 -port_id 8 -port_mode tagged



(Re)configure vlan id 23 on port id 8 with mode tagged











RELATED LINKS





CommonParameters : False

WorkflowCommonParameters : False

details : @{name=Set-Cookie; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Set-Cookie [[-name] <Object>] [[-value] <Object>] [[-domain] <Object>] [[-path] <Object>]



ModuleName : PowerArubaSW

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Set-Cookie

Category : Function

Component :

Role :

Functionality :





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Show-ArubaSWException; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

Show-ArubaSWException [-Exception] <Object> [<CommonParameters>]



ModuleName : PowerArubaSW

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Show-ArubaSWException

Category : Function

Component :

Role :

Functionality :