< Back

Add-ArubaSWVlansPorts

Sat Jan 18, 2020 8:35 pm

NAME Add-ArubaSWVlansPorts



SYNOPSIS

Add a Vlan on a Port





SYNTAX

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

[<CommonParameters>]





DESCRIPTION

Add vlan (Untagged, Tagged, Forbiden) on a switch Port





PARAMETERS

-vlan_id <Int32>



Required? true

Position? 2

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-port_id <String>



Required? true

Position? 3

Default value

Accept pipeline input? false

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:\\>Add-ArubaSWVlansPorts -vlan_id 85 -port_id 8 -port_mode tagged



Add vlan id 85 on port 8 (tagged mode)









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



PS C:\\>Add-ArubaSWVlansPorts 85 8 untagged



Add vlan id 23 on port 8 (untagged mode)











RELATED LINKS