net stp
net stp(1) BIG-IP TMSH Manual net stp(1)
NAME
stp - Configures a Spanning Tree Protocol (STP) instance.
MODULE
net
SYNTAX
Configure the stp component within the net module using the syntax shown in the following sections.
CREATE/MODIFY
create stp [all | [name] ]
modify stp [all | [name] ]
options:
app-service [[string] | none]
description [string]
instance-id [integer]
interfaces [ add | delete | modify | replace-all-with ] {
[interface name] {
options:
app-service [[string] | none]
external-path-cost [integer]
internal-path-cost [integer]
priority [integer]
}
}
interfaces none
priority [integer]
trunks [ add | delete | modify | replace-all-with ] {
[interface name] {
options:
app-service [[string] | none]
external-path-cost [integer]
internal-path-cost [integer]
priority [integer]
}
}
trunks none
vlans [ add | delete | replace-all-with ] {
[vlan name ...]
}
vlans none
edit stp [ [ all | [name] | [glob] | [regex] ] ... ]
options:
all-properties
non-default-properties
DISPLAY
list stp
list stp [ [ all | [name] | [glob] | [regex] ] ... ]
show stp running-config
show stp running-config [ [ all | [name] | [glob] | [regex] ] ... ]
options:
all-properties
non-default-properties
one-line
DELETE
delete stp [all | [name] ]
DESCRIPTION
You can use the stp component to configure an STP instance.
EXAMPLES
list stp
Displays all STP instances on the system.
show running-config stp
Displays the running configuration information for all STP instances.
delete stp myStp2
Removes all members from the STP instance, and then deletes the instance itself.
Note that you cannot delete spanning tree instance 0 (the Common and Internal Spanning Tree). You can
only use the command delete in Multiple Spanning Tree Protocol (MSTP) mode.
OPTIONS
app-service
Specifies the name of the application service to which the object belongs. The default value is none.
Note: If the strict-updates option is enabled on the application service that owns the object, you cannot
modify or delete the object. Only the application service can modify or delete the object.
description
User defined description.
external-path-cost
Specifies the external path cost number for either an interface or trunk. The default value is 20000.
Each network interface has an associated path cost within each spanning tree instance. The path cost
represents the relative cost of sending network traffic through that interface. In calculating the
spanning tree, the algorithm tries to minimize the total path cost between each point of the tree and the
root bridge. By manipulating the path costs of different interfaces or trunks it is possible to steer
traffic toward paths that are faster, more reliable, and/or more economical. Path costs can take values
in the range 1 - 200,000,000. The default path cost for an interface or a trunk is based on the maximum,
not actual speed, of the interface or trunk.
In MSTP mode there are two kinds of path cost: external and internal. The external path cost applies only
to spanning tree instance 0, the Common and Internal Spanning Tree (CIST). It is used to calculate the
cost to reach an adjacent spanning tree region.
glob Displays the items that match the glob expression. See help glob for a description of glob expression
syntax.
instance-id
The instance ID for this STP instance. In Multiple Spanning Tree Protocol (MSTP) mode, there will be
exactly one STP instance with ID 0. The instance ID can be a value between 1 and 255.
internal-path-cost
Specifies the internal path cost number for either an interface or trunk. The default value is 20000.
Each network interface has an associated path cost within each spanning tree instance. The path cost
represents the relative cost of sending network traffic through that interface. In calculating the
spanning tree, the algorithm tries to minimize the total path cost between each point of the tree and the
root bridge. By manipulating the path costs of different interfaces or trunks it is possible to steer
traffic toward paths that are faster, more reliable, and/or more economical. Path costs can take values
in the range 1 - 200,000,000. The default path cost for an interface or a trunk is based on the maximum,
not actual speed, of the interface or trunk.
In MSTP mode there are two kinds of path cost: external and internal. The internal path costs can be
independently set for each spanning tree instance (including instance 0) in MSTP mode. The internal path
costs are used to calculate the costs of reaching adjacent bridges within the same spanning tree region.
priority
Specifies the priority number of either a bridge, interface, or trunk. The default value for a bridge is
61440. The default value for both interfaces and trunks is 128.
Each bridge, interface, and trunk in a spanning tree instance has a priority value. The relative values
of the 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.
regex
Displays the items that match the regular expression. The regular expression must be preceded by an at
sign (@[regular expression]) to indicate that the identifier is a regular expression. See help regex for
a description of regular expression syntax.
vlans
Specifies the VLANs that you want to add to, delete from, or replace-all-with for this STP instance.
SEE ALSO
create, delete, edit, glob, list, modify, net interface, net trunk, net vlan, regex, show, tmsh
COPYRIGHT
No part of this program may be reproduced or transmitted in any form or by any means, electronic or
mechanical, including photocopying, recording, or information storage and retrieval systems, for any purpose
other than the purchaser's personal use, without the express written permission of F5 Networks, Inc.
F5 Networks and BIG-IP (c) Copyright 2009-2010, 2012-2013. All rights reserved.
BIG-IP 2014-05-16 net stp(1)