APIRef_tm_net_stpΒΆ

mgmt/tm/net/stp

/tm/net

STP configuration

REST Endpoints

Collection URI
/mgmt/tm/net/stp
Collection Methods
OPTIONS, GET
Resource URI
/mgmt/tm/net/stp/~resource id
Resource Methods
OPTIONS, GET, PUT, PATCH, DELETE, POST
Resource Natural Key
name, subPath

Properties

Name Type Default Value Required Access Description
appService string   optional read/write The application service that the object belongs to.
description string   optional read/write User defined description.
instanceId integer 0 optional read/write The instance ID for this STP instance (1 - 255).
priority integer 61440 optional read/write Each bridge in a spanning tree instance has a priority value. The relative values of the bridge priorities control the topology of the spanning tree chosen by the protocol. The bridge with the lowest priority value (numerically) will become the root of the spanning tree. Priority values vary from 0-61440 in steps of 4096.

Lists

Name Type Default Value Required Access Description
vlans (net/vlan) array_structure   optional read/write Specify a list of VLAN names.

Array Structures

Name Type Default Value Required Access Description
/interfaces array_structure   optional read/write  
/interfaces/app-service string   optional read/write  
/interfaces/external-path-cost integer 0 optional read/write The relative cost of send network traffic through the interface. The external path cost only applies to STP 0. See the help page for a detailed description.
/interfaces/internal-path-cost integer 0 optional read/write The relative cost of send network traffic through the interface. See the help page for a detailed description.
/interfaces/priority integer 128 optional read/write Specifies the interface priority number. Each network interface has an associated priority within each spanning tree instance. The relative values of the interface priorities influence which interfaces are chosen to carry network traffic. All other things being equal, interfaces with numerically lower priority values are favored to carry traffic. Interface priorities take values in the range 0-240 in steps of 16. The default interface priority is 128, the middle of the valid range.
/interfaces/type string interface optional read/write  
/trunks array_structure   optional read/write  
/trunks/app-service string   optional read/write  
/trunks/external-path-cost integer 0 optional read/write The relative cost of send network traffic through the trunk. The external path cost only applies to STP 0 (zero). See the help page for a detailed description.
/trunks/internal-path-cost integer 0 optional read/write The relative cost of send network traffic through the trunk. See the help page for a detailed description.
/trunks/priority integer 128 optional read/write Specifies the trunk priority number. Each network trunk has an associated priority within each spanning tree instance. The relative values of the trunk priorities influence which trunks are chosen to carry network traffic. All other things being equal, trunks with numerically lower priority values are favored to carry traffic. Trunk priorities take values in the range 0-240 in steps of 16. The default trunk priority is 128, the middle of the valid range.
/trunks/type string interface optional read/write  
Copyright (c) 2016, F5 Networks Inc. All Rights Reserved.

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.