Networking::STPInstance::set_interface_priority¶
Introduced : BIG-IP_v9.0
Sets the priorities for the specified network interfaces in the
specified spanning tree instances. These priority values influence
which interfaces are chosen to carry network traffic. Interfaces with
numerically lower values are favored to carry traffic. Interface
priorities have values in the range from 0-240 in steps of 16. Hence,
the supported priorities are: 0 64 128 192 16 80 144 208 32 96 160 224
48 112 176 240 The default interface priority is 128. If the specified
interface priority is not one of the allowed values listed above, it
is rounded down to the next lower value in the list. In STP or RSTP
mode, only STP intance 0 is valid.
Prototype¶
set_interface_priority(
in long [] stp_instances,
in Networking__STPInstance__InterfacePriority [] [] priorities
);
Parameters¶
Parameter | Type | Description |
stp_instances | long [] | The spanning tree instances identified by instance numbers. |
priorities | InterfacePriority [] [] | The interface priorities of the specified interfaces in the spanning tree instances. |
Exceptions¶
Exception | Description |
Common::AccessDenied | Raised if the client credentials are not valid. |
Common::InvalidArgument | Raised if one of the arguments is invalid. |
Common::OperationFailed | Raised if an operation error occurs. |
See Also¶
iControl ::
Warning
The links to the sample code below are remnants of the old DevCentral wiki and will result in a 404 error. For best results, please copy the link text and search the codeshare directly on DevCentral.
Sample Code¶
The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.