< Back

Set-ArubaSWSTP

Sat Jan 18, 2020 8:39 pm

NAME Set-ArubaSWSTP



SYNOPSIS

Set spanning-tree configuration on ArubaOS Switch.





SYNTAX

Set-ArubaSWSTP [-enable] [[-priority] <Int32>] [[-mode] <String>] [-connection <PSObject>] [<CommonParameters>]





DESCRIPTION

Set spanning-tree configuration.





PARAMETERS

-enable [<SwitchParameter>]



Required? true

Position? 2

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-priority <Int32>



Required? false

Position? 3

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-mode <String>



Required? false

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:\\>Set-ArubaSWSTPGlobal -enable -priority 7 -mode mstp



Set the spanning-tree protocol on, the priority to 7 and the mode to MSTP









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



PS C:\\>Set-ArubaSWSTPGlobal $false 4 rpvst



Set the spanning-tree protocol off, the priority to 4 and the mode to RPVST











RELATED LINKS