Skip to content
Maryan Dmytriv edited this page Mar 4, 2019 · 7 revisions

Create UDT Port

Parameter Type Required Default Comment
NodeID int yes NodeID must exists in Nodes table
PortIndex int yes
Name string yes Maximum 255 symbols
MACAddress string yes 12 symbols 0-9, A-F, possible deilmiters : or -
IsMonitored bool no true
PortType int no 6 Values 0-258 and 555 are allowed
Speed int no 0 Zero positive value only
Duplex int no 0 Allowed values:
0 - Unknown
1 - FullDuplex
2 - HalfDuplex
3 - Disagree
4 - AutoNegotiate
TrunkMode int no 0 Allowed values:
0 - Unknown
1 - Trunking
2 - NonTrunking
PortDescription string no Maximum 255 symbols
OperationalStatus int no 1 Allowed values:
1 - Up
2 - Down
3 - Testing
4 - Unknown
5 - Dormant
6 - NotPresent
AdministrativeStatus int no 0 Allowed values:
0 - Unknown
1 - Up
2 - Down
3 - Testing
IgnorePortRules bool no false
Flag int no 0
IsExcluded bool no false

Updated UDT Port

Only IsMonitored property is allowed to be updated Sample

Set-SwisObject $swis -Uri 'swis://localhost/Orion/Orion.Nodes/NodeID={node_id_here}/Ports/PortID={port_id_here}'  -Properties @{IsMonitored=0;}

Delete UDT Port

Sample

Remove-SwisObject $swis -Uri 'swis://localhost/Orion/Orion.Nodes/NodeID={node_id_here}/Ports/PortID={port_id_here}'
Clone this wiki locally