HP VPN Firewall Appliances Network Management Command Reference

77
Syntax
display stp [ instance instance-id ] [ interface interface-list ] [ brief ] [ | { begin | exclude | include }
regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
instance instance-id: Displays the status and statistics information of a specific MSTI. For the value range
for instance-id, see "instance." 0 represen
ts the common internal spanning tree (CIST).
interface interface-list: Displays the spanning tree status and statistics on the ports specified by a port list,
in the format of interface-list = { interface-type interface-number [ to interface-type
interface-number ] }&<1-10>, where &<1-10> indicates that you can specify up to 10 interface-type
interface-number [ to interface-type interface-number ] parameters.
brief: Displays brief spanning tree status and statistics.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Getting Started Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
Based on the spanning tree status and statistics information, you can analyze and maintain the network
topology or check whether spanning tree is operating correctly.
In STP or RSTP mode:
If you do not specify any port, this command displays the spanning tree information for all ports.
The displayed information is sorted by port name.
If you specify a port list, this command displays the spanning tree information for the specified ports.
The displayed information is sorted by port name.
In MSTP mode:
If you do not specify any MSTI or port, this command displays the spanning tree information of all
MSTIs on all ports. The displayed information is sorted by MSTI ID and by port name in each MSTI.
If you specify an MSTI but not a port, this command displays the spanning tree information on all
ports in that MSTI. The displayed information is sorted by port name.
If you specify some ports but not an MSTI, this command displays the spanning tree information of
all MSTIs on the specified ports. The displayed information is sorted by MSTI ID and by port name
in each MSTI.
If you specify both an MSTI ID and a port list, this command displays the spanning tree information
on the specified ports in the specified MSTI. The displayed information is sorted by port name.