To set the bridge ID for this device for an Access Gateway instance, use the
bridge-id command in MSTAG interface configuration, REPAG Interface
configuration, PVSTAG VLAN configuration, or PVRSTAG VLAN configuration submode.
bridge-idid
[ startup-valuestartup-id ]
Syntax Description
id
MAC address of the switch. It can be any 48-bit value.
startup-value
Specifies an alternate value to use when the interface first comes up, while
the preempt delay timer is running.
startup-id
Sets the startup bridge ID.
Command Default
For MSTAG/REPAG, the MAC address of the switch. For PVSTAG/PVRSTAG, the interface MAC
address.
If no startup value is specified, the normal value is used during startup.
This command was supported in the PVSTAG VLAN configuration and PVRSTAG VLAN
configuration submodes.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
When configuring access gateway, this command is used to modify the value of the bridge
ID that is advertised in the STP BPDUs.
Task ID
Task ID
Operations
interface ( for MSTAG/REPAG)
read, write
ethernet-services ( for PVSTAG/PVRSTAG)
read, write
Examples
The following example shows how to set the bridge ID:
Enables a PVST or PVRST VLAN instance on the interface and enters PVSTAG or PVRSTAG VLAN configuration mode.
bringup delay
To configure a delay when an interface is first created before it is added to the MSTP
topology, use the bringup delay command in the MSTP configuration mode.
Length of time to delay adding the interface to the MSTP topology.
seconds
Specifies the delay in seconds.
minutes
Specifies the delay in minutes.
hours
Specifies the delay in hours.
Command Default
If no bringup delay is configured, interfaces are added to the MSTP topology as soon as
they are created.
Command Modes
MSTP configuration
Command History
Release
Modification
Release 3.9.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
This command is used to change the behaviour of MSTP when interfaces are first
functional (for example, when a line card boots for the first time). By default,
interfaces are added to the MSTP topology, and may be placed in the forwarding state, as
soon as the system declares that the interfaces are functional. However, at this point
the data plane may not be fully prepared to forward traffic on the interface. If a
bringup delay is configured, MSTP keeps the interface in blocked state for the specified
delay, and adds it to the MSTP topology only after the specified interval has
occurred.
For information on configuring bringup delay, refer to the Implementing Multiple
Spanning Tree Protocol module of the Cisco ASR 9000 Series Aggregation
Services Router L2VPN and Ethernet Services Configuration Guide.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to configure the bringup delay:
RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)#spanning-tree mst A
RP/0/RSP0/CPU0:router(config-mstp)# bringup delay for 20 seconds
Displays the multiple spanning tree protocol status information.
clear ethernet mvrp statistics
To clear MVRP statistics for ethernet interfaces, use the clear ethernet mvrp
statistics command in the EXEC mode.
clearethernetmvrpstatistics
{ interfacetypeinterface-path-id | locationlocation | all }
Syntax Description
interface
(Optional) Clears the MVRP statistics for the given interface.
type
Interface type. For more information, use the question mark (?) online help
function.
interface-path-id
Physical interface or virtual interface.
Note
Use the show interfaces command to see a list
of all interfaces currently configured on the router.
For more information about the syntax for the router, use the question mark
(?) online help function.
location
Clears MVRP statistics for interfaces in a particular location.
location
Specifies the fully qualified location.
all
Clears the MVRP statistics for all interfaces.
Command Default
None
Command Modes
EXEC
Command History
Release
Modification
Release 3.9.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
ethernet-services
execute
Examples
The following example shows how to configure the bringup delay:
RP/0/RSP0/CPU0:router# clear ethernet mvrp statistics all
To set the internal path cost for a given instance on the current port, use the cost
command in MSTAG interface instance or REPAG interface instance configuration
submode.
costcost
[ startup-valuestartup-cost ]
Syntax Description
cost
Port cost. Range is 1 to 200000000.
startup-value
Specifies an alternate value to use when the interface first comes up, while
the preempt delay timer is running.
startup-id
Sets the startup internal path cost.
Command Default
If the startup value is not specified, it defaults to 200000000.
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
This command is used when configuring Access Gateway, to change the cost value that is
advertised for this MSTI in the STP BPDUs.
Note
MSTP cost for bundle interfaces is fixed to 10000 and does not depend on the number of interfaces and the speed of individual members.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to set the port cost to 10000:
Displays the values currently used for populating the BPDUs sent by all ports.
debug ethernet mvrp packets
To enable debugging of sent and received MVRP packets, use the debug
ethernet mvrp packets command in the EXEC mode. To disable
debugging, use the no form of this command.
debugethernetmvrppackets
{ brief | full | hexdump }
[ direction
{ received | sent } ]
[ interfaceinterface-name | locationnode-id ]
nodebugethernetmvrppackets
{ brief | full | hexdump }
[ direction
{ received | sent } ]
[ interfaceinterface-name | locationnode-id ]
Syntax Description
brief
Enables brief debugging output.
full
Enables full debugging output.
hexdump
Enables full debugging output along with the raw contexts of the packet in
hex.
direction
{Optional} Restricts output to a packet direction.
received
Indicates packets received.
sent
Indicates packets sent.
interfaceinterface-name
{Optional} Filters by interface.
Physical interface or a virtual interface.
Note
Use the show interfaces command to see a list
of all possible interfaces currently configured on the router.
For more information about the syntax for the router, use the question mark
(?) online help function.
locationnode-id
(Optional) Indicates the location. The node-id
argument is entered in the rack/slot/module notation.
Command Default
By default, debugging is enabled for both directions for all interfaces.
Command Modes
EXEC
Command History
Release
Modification
Release 4.0.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
ethernet-services
read
Examples
The following example shows how to enable debugging of brief MVRP packets:
RP/0/RSP0/CPU0:router#debug ethernet mvrp packets brief
Thu Oct 28 02:56:35.048 DST
The following example shows how to enable debugging of full MVRP packets on a specific
location:
RP/0/RSP0/CPU0:router#debug ethernet mvrp packets full location 0/0/CPU0
Mon Nov 15 20:02:13.636 PST
The following example shows how to enable debugging of brief MVRP packets received at a
specific interface:
RP/0/RSP0/CPU0:router#debug ethernet mvrp packets brief direction received interface gigabitEthernet 0/0/0/1
Thu Nov 25 21:09:01.986 PST
Displays a summary of the VIDs that are declared or registered.
debug ethernet mvrp protocol
To enable MVRP protocol debugging on a specific interface, location or vlan, use the
debug ethernet mvrp protocol command in the EXEC mode.
To disable debugging, use the no form of this command.
Use the show interfaces command to see a list
of all possible interfaces currently configured on the router.
For more information about the syntax for the router, use the question mark
(?) online help function.
locationnode-id
(Optional) Indicates the location. The node-id
argument is entered in the rack/slot/module notation.
Command Default
By default, debug is enabled for all vlans, interfaces, and locations.
Command Modes
EXEC
Command History
Release
Modification
Release 4.0.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
ethernet-services
read
Examples
The following example shows how to debug an ethernet mvrp protocol:
Displays a summary of the VIDs that are declared or registered.
debug spanning-tree mst packet
To enable debugging for sent and received MSTP packets, use the debug
spanning-tree mst packet command in the EXEC mode. To disable
debugging, use the no form of this command.
debugspanning-treemstpacket
{ brief | full }
{ sent | received }
[ interfaceinterface-name ]
nodebugspanning-treemstpacket
{ brief | full }
{ sent | received }
[ interfaceinterface-name ]
Syntax Description
brief
Enables brief debugging output.
full
Enables full debugging output.
sent
Display packets being sent.
received
Display packets being received.
interfaceinterface-name
{Optional} Filters by interface.
Physical interface or a virtual interface.
Note
Use the show interfaces command to see a list
of all possible interfaces currently configured on the router.
For more information about the syntax for the router, use the question mark
(?) online help function.
Command Default
If an interface is not specified, then debug is enabled for all interfaces.
Command Modes
EXEC
Command History
Release
Modification
Release 4.0.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read
Examples
The following example shows how to enable brief debugging for received packets:
RP/0/RSP0/CPU0:router#debug spanning-tree mst packet brief received
Mon Nov 15 20:42:58.584 PST
The following example shows how to enable brief debugging for received packets at a
specific location:
RP/0/RSP0/CPU0:router#debug spanning-tree mst packet brief received location 0/0/CPU0
Mon Nov 15 20:44:15.082 PST
The following example shows how to enable brief debugging for received packets on a
specific interface:
RP/0/RSP0/CPU0:router#debug spanning-tree mst packet brief received interface gigabitEthernet 0/0/0/1
Mon Nov 15 20:45:40.047 PST
Displays the multiple spanning tree protocol status information.
debug spanning-tree mst protocol-state
To enable debugging protocol-state changes such as port role or state changes, topology
change notification, use the debug spanning-tree mst
protocol-state command in EXEC mode. To disable debugging, use the
no form of this command.
If no instance or interface is specified, debug is enabled for all instances and
interfaces.
Command Modes
EXEC
Command History
Release
Modification
Release 4.0.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read
Examples
The following example shows how to enable protocol state debugging:
Displays the multiple spanning tree protocol status information.
debug spanning-tree mstag packet
To enable MSTAG packet debugging, use the debug spanning-tree mstag
packet command in EXEC mode. To disable debugging, use the
no form of this command.
debugspanning-treemstagpacket
{ brief | full }
{ sent | received }
[ interfaceinterface-name ]
nodebugspanning-treemstagpacket
{ brief | full }
{ sent | received }
[ interfaceinterface-name ]
Syntax Description
brief
Enables brief debugging output.
full
Enables full debugging output.
received
Display packets being received.
sent
Display packets being sent.
interfaceinterface-name
{Optional} Filters by interface.
Physical interface or a virtual interface.
Note
Use the show interfaces command to see a list
of all possible interfaces currently configured on the router.
For more information about the syntax for the router, use the question mark
(?) online help function.
Command Default
If the interface is not specified, the debug is enabled for all interfaces.
Command Modes
EXEC
Command History
Release
Modification
Release 4.0.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read
Examples
The following example shows how to enable MSTAG packet debugging:
RP/0/RSP0/CPU0:router#debug spanning-tree mstag packet brief received
Mon Nov 15 21:11:30.464 PST
RP/0/RSP0/CPU0:router#debug spanning-tree mstag packet full sent interface gigabitEthernet 0/0/0/1
Mon Nov 15 21:12:23.391 PST
Displays the values currently used for populating the BPDUs sent by all ports.
debug spanning-tree packet raw
To enable debugging raw packet output for all received packets or sent packets, use the
debug spanning-tree packet raw command in EXEC mode. To
disable debugging, use the no form of this command.
debugspanning-treepacketraw
{ sent | received }
[ interfaceinterface-name ]
nodebugspanning-treepacketraw
{ sent | received }
[ interfaceinterface-name ]
Syntax Description
received
Display packets being received.
sent
Display packets being sent.
interfaceinterface-name
{Optional} Filters by interface.
Physical interface or a virtual interface.
Note
Use the show interfaces command to see a list
of all possible interfaces currently configured on the router.
For more information about the syntax for the router, use the question mark
(?) online help function.
Command Default
If an interface is not specified, debug is enabled for all interfaces.
Command Modes
EXEC
Command History
Release
Modification
Release 4.0.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
This command enables raw packet debug for all STP protocols: MSTP, MSTAG, REPAG, PVSTAG
and PVRSTAG.
Task ID
Task ID
Operations
interface
read
Examples
The following example shows how to enable debugging raw packet output for packets
received at a specific location:
RP/0/RSP0/CPU0:router#debug spanning-tree packet raw received location 0/0/CPU0
Mon Nov 15 21:16:42.570 PST
The following example shows how to enable debugging raw packet output for packets sent
from a specific interface:
RP/0/RSP0/CPU0:router#debug spanning-tree packet raw sent interface gigabitEthernet 0/0/0/1
Mon Nov 15 21:17:43.303 PST
Enters the Resilient Ethernet Protocol Access Gateway (REPAG) configuration submode.
debug spanning-tree pvrstag packet
To enable packet debugging for sent and received PVRSTAG packets, use the
debug spanning-tree pvrstag packet command in EXEC mode.
To disable debugging, use the no form of this command.
debugspanning-treepvrstagpacket
{ brief | full }
{ sent | received }
[ interfaceinterface-name ]
nodebugspanning-treepvrstagpacket
{ brief | full }
{ sent | received }
[ interfaceinterface-name ]
Syntax Description
brief
Enables brief debugging output.
full
Enables full debugging output.
sent
Indicates packets sent.
received
Indicates packets received.
interfaceinterface-name
{Optional} Filters by interface.
Physical interface or a virtual interface.
Note
Use the show interfaces command to see a list
of all possible interfaces currently configured on the router.
For more information about the syntax for the router, use the question mark
(?) online help function.
Command Default
If an interface is not specified, then debug is enabled for all interfaces.
Command Modes
EXEC
Command History
Release
Modification
Release 4.0.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
ethernet-services
debug
Examples
The following example shows how to enable packet debugging for PVRSTAG packets received
at a specific interface:
RP/0/RSP0/CPU0:router#debug spanning-tree pvrstag packet brief received interface gigabitEthernet 0/0/0/1
Wed Nov 24 22:12:33.861 PST
The following example shows how to enable packet debugging for PVRSTAG packets sent from
a specific interface:
RP/0/RSP0/CPU0:router#debug spanning-tree pvrstag packet brief sent interface gigabitEthernet 0/0/0/1
Wed Nov 24 22:15:12.893 PST
Enters the Per VLAN Rapid Spanning Tree Access Gateway (PVRSTAG) configuration submode.
debug spanning-tree pvstag packet
To enable packet debugging for sent and received PVSTAG packets, use the
debug spanning-tree pvstag packet command in EXEC mode.
To disable debugging, use the no form of this command.
debugspanning-treepvstagpacket
{ brief | full }
{ sent | received }
[ interfaceinterface-name ]
nodebugspanning-treepvstagpacket
{ brief | full }
{ sent | received }
[ interfaceinterface-name ]
Syntax Description
brief
Enables brief debugging output.
full
Enables full debugging output.
sent
Indicates packets sent.
received
Indicates packets received.
interfaceinterface-name
{Optional} Filters by interface.
Physical interface or a virtual interface.
Note
Use the show interfaces command to see a list
of all possible interfaces currently configured on the router.
For more information about the syntax for the router, use the question mark
(?) online help function.
Command Default
If an interface is not specified, then debug is enabled for all interfaces.
Command Modes
EXEC
Command History
Release
Modification
Release 4.0.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
ethernet-services
debug
Examples
The following example shows how to enable packet debugging for PVSTAG packets received
at a specific interface:
RP/0/RSP0/CPU0:router#debug spanning-tree pvstag packet brief received interface gigabitEthernet 0/0/0/1
Wed Nov 24 22:12:33.861 PST
The following example shows how to enable packet debugging for PVSTAG packets sent from
a specific interface:
RP/0/RSP0/CPU0:router#debug spanning-tree pvstag packet brief sent interface gigabitEthernet 0/0/0/1
Wed Nov 24 22:15:12.893 PST
Enters the Per VLAN Spanning Tree Access Gateway (PVSTAG) configuration submode.
debug spanning-tree repag packet
To enable Resilient Ethernet Protocol (REP) Access Gateway debugging commands, use the
debug spanning-tree repag packet command in the EXEC
mode. To disable debugging, use the no form of this
command.
debugspanning-treerepagpacket
{ brief | full }
{ sent | received }
[ interfaceinterface-name ]
nodebugspanning-treerepagpacket
{ brief | full }
{ sent | received }
[ interfaceinterface-name ]
Syntax Description
brief
Enables brief debugging output.
full
Enables full debugging output.
received
Display packets being received.
sent
Display packets being sent.
interfaceinterface-name
{Optional} Filters by interface.
Physical interface or a virtual interface.
Note
Use the show interfaces command to see a list
of all possible interfaces currently configured on the router.
For more information about the syntax for the router, use the question mark
(?) online help function.
Command Default
If an interface is not specified, then debug is enabled for all interfaces.
Command Modes
EXEC
Command History
Release
Modification
Release 4.0.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read
Examples
The following example shows how to enable brief debug for REP Access Gateway packets
received at a specified interface.
RP/0/RSP0/CPU0:router#debug spanning-tree repag packet brief received interface gigabitEthernet 0/0/0/1
Mon Nov 15 21:26:08.155 PST
The following example shows how to enable full debug for REP Access Gateway packets sent
from a specific location:
RP/0/RSP0/CPU0:router#debug spanning-tree repag packet full sent location 0/0/CPU0
Mon Nov 15 21:27:10.674 PST
edge-mode
To enable MSTAG edge mode for Multiple Spanning Tree Instance (MSTI), use the edge-mode command in MSTAG instance configuration submode. Use the no form of this command to disable the MSTAG edge mode.
edge-mode
noedge-mode
Syntax Description
This command has no keywords or arguments.
Command Default
Disabled
Command Modes
MSTAG instance configuration mode
Command History
Release
Modification
Release 4.1.0
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operation
ethernet-services
read, write
Examples
This example shows the output from the edge-mode command:
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
This command is used when configuring Access Gateway, to change the external cost that
it advertised in STP BPDUs sent from this interface.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to set the external cost to 10000:
Displays the values currently used for populating the BPDUs sent by all ports.
external-cost (MSTP)
To set the external path cost on the current port, use the external-cost command
in MSTP interface configuration submode.
external-costcost
Syntax Description
cost
Port cost. Range is 1 to 200000000.
Command Default
The default path cost depends on the speed of the link.
Command Modes
MSTP interface configuration
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to set the external cost to 10000:
Displays the multiple spanning tree protocol status information.
flush containment disable
To disable the flush containment feature on a bridge, use the flush
containment disable command in the MSTP configuration submode.
flushcontainmentdisable
Syntax Description
This command has no keywords or arguments.
Command Default
Flush containment feature is enabled.
Command Modes
MSTP configuration
Command History
Release
Modification
Release 3.9.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Flush containment is a Cisco feature that helps prevent unnecessary MAC flushes. Refer
to the Implementing Multiple Spanning Tree Protocol module in the Cisco ASR
9000 Series Aggregation Services Router L2VPN and Ethernet Services Configuration
Guide.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to disable the flush containment feature on a
bridge:
Displays the multiple spanning tree protocol status information.
forward-delay
To set the forward-delay parameter for the bridge, use the forward-delay command
in MSTP configuration submode.
forward-delayseconds
Syntax Description
seconds
Bridge forward delay time in seconds. Range is 4 to 30.
Command Default
seconds: 15
Command Modes
MSTP configuration
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to set the forward-delay parameter for the bridge to
20:
Displays the multiple spanning tree protocol status information.
guard root
To prevent a port from becoming the root port for the switch, use the guard root
command in MSTP interface configuration submode.
guardroot
Syntax Description
This command has no keywords or arguments.
Command Default
RootGuard is disabled.
Command Modes
MSTP interface configuration
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
This command enables the Root Guard feature on the interface, by preventing the port
from becoming a root port. This feature can be used to enforce the location of the root
bridge within the MSTP network. For more information on guard root feature, refer to the
Implementing Multiple Spanning Tree Protocol module in the Cisco ASR 9000
Series Aggregation Services Router L2VPN and Ethernet Services Configuration
Guide.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to enable RootGuard on the port:
Displays the multiple spanning tree protocol status information.
guard topology-change
To enable topology change guard on the port, use the guard topology-change
command in MSTP interface configuration submode.
guardtopology-change
Syntax Description
This command has no keywords or arguments.
Command Default
TopologyChangeGuard is disabled.
Command Modes
MSTP interface configuration
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
This command enables topology change guard (also known as restricted TCN) on this
interface. When this feature is enabled, topology changes originating at this
interfaces, or received in BPDUs on this interface, are not propagated to the rest of
the MSTP network. For more information on guard topology, refer to the Implementing
Multiple Spanning Tree Protocol module in the Cisco ASR 9000 Series
Aggregation Services Router L2VPN and Ethernet Services Configuration Guide.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to enable TopologyChangeGuard on the port:
Displays the multiple spanning tree protocol status information.
hello-time (Access Gateway)
To configure the frequency of sending BPDUs on this interface, use the hello-time
command in MSTAG interface configuration, REPAG Interface configuration, PVSTAG VLAN
configuration, or PVRSTAG VLAN configuration submode.
This command was supported in the PVSTAG VLAN configuration and PVRSTAG VLAN
configuration mode.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface ( for MSTAG/REPAG)
read, write
ethernet-services ( for PVSTAG/PVRSTAG)
read, write
Examples
The following example shows how to set the port hello time to 1:
Enables a PVST or PVRST VLAN instance on the interface and enters PVSTAG or PVRSTAG VLAN configuration mode.
hello-time (MSTP)
To set the port hello time, use the hello-time command in MSTP interface
configuration submode.
hello-timeseconds
Syntax Description
seconds
Hello time in seconds. Range is 1 to 2.
Command Default
seconds: 2
Command Modes
MSTP interface configuration
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to set the port hello time to 1:
Displays the multiple spanning tree protocol status information.
instance (MSTAG/REPAG)
To enter MSTAG Instance configuration mode or REPAG Instance configuration mode, use the
instance command in MSTAG Interface or REPAG Interface
configuration mode respectively.
instanceid
Syntax Description
id
MSTI ID. Range is 0 to 4094.
Command Default
None
Command Modes
MST AG interface configuration, REPAG interface configuration
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Note
An instance ID of 0 represents the IST for the region.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to enter MSTAG Instance configuration submode:
Displays the values currently used for populating the BPDUs sent by all ports.
instance (MSTP)
To enter the multiple spanning tree instance (MSTI) configuration submode, use the
instance command in MSTP configuration submode.
instanceid
Syntax Description
id
MSTI ID. Range is 0 to 4094.
Command Default
None
Command Modes
MSTP configuration
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Note
An instance ID of 0 represents the CIST for the region.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to enter the MSTI configuration submode:
Associates a set of VLAN IDs with the current MSTI.
instance cost
To set the internal path cost for a given instance on the current port, use the
instance costcommand in MSTP interface configuration submode.
instanceidcostcost
Syntax Description
id
MSTI ID. Range is 0 to 4094.
cost
Port cost. Range is 1 to 200000000.
Command Default
The default path cost depends on the speed of the link.
Command Modes
MSTP interface configuration
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Note
An instance ID of 0 represents the IST for the region.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to set the port cost to 10000 for the instance ID
101:
Displays the multiple spanning tree protocol status information.
instance port-priority
To set the port priority performance parameter for the MSTI, use the instance
port-priority command in MSTP interface configuration submode.
instanceidport-prioritypriority
Syntax Description
id
MSTI ID. Range is 0 to 4094.
priority
Port priority. Range is 0 to 240 in multiples of 16.
Command Default
priority: 128
Command Modes
MSTP interface configuration
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Note
An instance ID of 0 represents the CIST for the region.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to set the port priority to 160 for the instance ID
101:
Displays the multiple spanning tree protocol status information.
interface (MSTAG/REPAG)
To enter the MSTAG interface configuration submode, and to enable MSTAG for the
specified port, use the interface command in MSTAG configuration submode.
Physical interface instance, followed by the subinterface identifier. Naming
notation is instance.subinterface, and a period between arguments is
required as part of the notation.
Replace the instance argument with the following physical interface
instance. Naming notation is rack/slot/module/port and a slash between
values is required as part of the notation.
rack—Chassis number of the rack.
slot—Physical slot number of the card.
module—Module number. A physical layer interface module (PLIM)
is always 0.
port—Physical port number of the interface.
Replace the subinterface argument with the subinterface value. Range is
from 0 through 4095.
Command Default
None
Command Modes
MSTAG configuration, REPAG configuration
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
The specified subinterface must be configured to match untagged packets, i.e., it must
be configured with encapsulation untagged. Only a single
subinterface on any given port may be specified.
A given port may only be enabled with one of MSTP, MSTAG, REPAG, PVSTAG or PVRSTAG.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to enter the MSTAG interface configuration submode:
Forward interface in rack/slot/instance/port format.
Command Default
None
Command Modes
MSTP configuration
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
A given port may only be enabled with one of MSTP, MSTAG, REPAG, PVSTAG or PVRSTAG.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to enter the MSTP interface configuration submode:
Displays the multiple spanning tree protocol status information.
interface (PVSTAG/PVRSTAG)
To enter PVST or PVRST Access Gateway Interface configuration submode and to enable
either PVSTAG or PVRSTAG for the specified port, use the interface command in
PVST and PVRST Access Gateway configuration submode.
interface
{ GigabitEthernet | TenGigE }
instance
Syntax Description
instance
Forward interface in rack/slot/instance/port format.
Command Default
None
Command Modes
PVSTAG and PVRSTAG configuration
Command History
Release
Modification
Release 4.0.0
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
A given port may only be enabled with one of MSTP, MSTAG, REPAG, PVSTAG or PVRSTAG.
Task ID
Task ID
Operations
ethernet-services
read, write
Examples
The following example shows how to enter the PVST or PVRST Access Gateway Interface
configuration submode:
Enables a PVST or PVRST VLAN instance on the interface and enters PVSTAG or PVRSTAG VLAN configuration mode.
join-time
To set the join time for all active ports, use the join-time
command in the MVRP configuration mode. To return to the default value, use the
no form of this command.
join-timeinterval
nojoin-timeinterval
Syntax Description
interval
Maximum time for the join timer parameter for all active ports. The range is
from 100 to 1000. The default value is 200.
Command Default
The default is 200 milliseconds.
Command Modes
MVRP configuration
Command History
Release
Modification
Release 3.9.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
ethernet-services
read, write
Examples
The following example shows how to configure the join time for active ports:
Displays a summary of the VIDs that are declared or registered.
leave-time
To set the leave time for all active ports, use the leave-time
command in the MVRP configuration mode. To return to the default value, use the
no form of this command.
leave-timeinterval
noleave-timeinterval
Syntax Description
interval
Minimum time, in seconds, for the leaveall timer parameter for all active
ports. The range is from 1 to 90 seconds .
Command Default
The default is 30 seconds.
Command Modes
MVRP configuration
Command History
Release
Modification
Release 3.9.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
ethernet-services
read, write
Examples
The following example shows how to configure the join time for active ports:
Displays a summary of the VIDs that are declared or registered.
leaveall-time
To set the leave all time for all active ports, use the
leaveall-time command in the MVRP configuration mode. To
return to the default value, use the no form of this
command.
leaveall-timeinterval
noleaveall-timeinterval
Syntax Description
interval
Minimum time, in seconds, for the leaveall timer parameter for all active
ports. The range is from 5 to 30 seconds.
Command Default
The default is 10 seconds.
Command Modes
MVRP configuration
Command History
Release
Modification
Release 3.9.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
ethernet-services
read, write
Examples
The following example shows how to configure the join time for active ports:
Displays a summary of the VIDs that are declared or registered.
link-type
To set the link type of the port to point-to-point or multipoint, use the
link-type command in MSTP interface configuration submode.
link-type
{ point-to-point | multipoint }
Syntax Description
This command has no keywords or arguments.
Command Default
The default value is derived from the duplex setting for the link. A full-duplex link is
considered point-to-point, and all others are considered multipoint.
Command Modes
MSTP interface configuration
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to set the link type of the port to point-to-point:
Displays the multiple spanning tree protocol status information.
max age
To set the maximum age for BPDUs sent on this interface, use the max age command
in MSTAG interface configuration, REPAG interface configuration, PVSTAG VLAN
configuration, or PVRSTAG VLAN configuration submode.
maxageseconds
Syntax Description
seconds
Maximum age time for the bridge in seconds. Range is 6 to 40.
This command was supported in the PVSTAG VLAN and PVRSTAG VLAN configuration
modes.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
ethernet-services (PVSTAG and PVRSTAG only)
read, write
interface (MSTAG and REPAG only)
read, write
Examples
The following example shows how to set the maximum age time for the bridge to 20:
RP/0/RSP0/CPU0:router(config-mstag-if)# max age 20
Enables a PVST or PVRST VLAN instance on the interface and enters PVSTAG or PVRSTAG VLAN configuration mode.
maximum age
To set the maximum age parameter for the bridge, use the maximum age command in
MSTP configuration submode.
maximumageseconds
Syntax Description
seconds
Maximum age time for the bridge in seconds. Range is 6 to 40.
Command Default
seconds: 20
Command Modes
MSTP configuration
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to set the maximum age time for the bridge to 40:
RP/0/RSP0/CPU0:router(config-mstp)# maximum age 40
To set the maximum hops parameters for the bridge, use the maximum hops command
in MSTP configuration submode.
maximumhopshops
Syntax Description
hops
Maximum number of hops for the bridge in seconds. Range is 6 to 40.
Command Default
hops: 20
Command Modes
MSTP configuration
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to set the maximum number of hops for the bridge to
30:
Displays the multiple spanning tree protocol status information.
mvrp static
To enable Multiple VLAN Registration Protocol (MVRP) in static mode and to enter the
MVRP configuration submode, use the mvrp static command in the
MSTP configuration mode. To return to the default setting, use the
no form of this command.
mvrpstatic
nomvrpstatic
Syntax Description
This command has no keywords or arguments.
Command Default
None
Command Modes
MSTP configuration
Command History
Release
Modification
Release 3.9.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
ethernet-services
read, write
Examples
The following example shows how to enable MVRP static mode:
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to set the name of the MSTP region to leo:
Displays the values currently used for populating the BPDUs sent by all ports.
name (MSTP)
To set the name of the MSTP region, use the name command in MSTP configuration
submode.
namename
Syntax Description
name
String of a maximum of 32 characters conforming to the definition of
SnmpAdminString in RFC 2271.
Command Default
The MAC address of the switch, formatted as a text string using the hexadecimal
representation specified in IEEE Std 802.
Command Modes
MSTP configuration
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to set the name of the MSTP region to m1:
Displays the multiple spanning tree protocol status information.
periodic transmit
To send periodic Multiple VLAN Registration Protocol Data Unit (MVRPDU) on all active
ports, use the periodic transmit command in the MVRP
configuration mode. To return to the default value, use the no
form of this command.
periodictransmit
[ intervalinterval ]
noperiodictransmit
[ intervalinterval ]
Syntax Description
intervalinterval
Sends periodic MVRPDU on all active ports at specified time interval. The
range is from 2 to 10 seconds.
Command Default
The default is 3 seconds.
Command Modes
MVRP configuration
Command History
Release
Modification
Release 3.9.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Sending periodic messages is not required when the state machines operate correctly. The
periodic messages are intended purely to cope with a succession of lost new declaration
MVRPDUs. In the absence of periodic messages, declarations are re-sent every 10 to 15
seconds in response to the LeaveAll timer expiring.
Task ID
Task ID
Operations
ethernet-services
read, write
Examples
The following example shows how to enable MVRP static mode:
Displays a summary of the VIDs that are declared or registered.
port-id
To set the port ID for the current switch, use the port-id command in MSTAG
interface configuration, REPAG interface configuration, PVSTAG VLAN configuration, or
PVRSTAG VLAN configuration submode.
port-idid
[ startup-valuestartup-id ]
Syntax Description
id
Interface port ID.
For MSTAG, REPAG and PVRSTAG the allowed range is between 1 to 4095. For
PVSTAG the allowed range is between 1 to 255.
startup-value
Specifies an alternate value to use when the interface first comes up, while
the preempt delay timer is running.
startup-id
Sets the startup port ID.
Command Default
If a startup value is not specified, it defaults to the normal value.
This command was supported in the PVSTAG VLAN and PVRSTAG VLAN configuration
modes.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
This command is used when configuring Access Gateway, to set the value of the port ID
advertised in BPDUs sent on this interface.
Task ID
Task ID
Operations
ethernet-services (PVSTAG and PVRSTAG only)
read, write
interface (MSTAG and REPAG only)
read, write
Examples
The following example shows how to set the port ID:
Enables a PVST or PVRST VLAN instance on the interface and enters PVSTAG or PVRSTAG VLAN configuration mode.
port-priority
To set the port priority performance parameter for the MSTI, use the
port-priority command in MSTAG instance configuration, REPAG instance
configuration, PVSTAG VLAN configuration, or PVRSTAG VLAN configuration submode.
This command was supported in the PVSTAG VLAN and PVRSTAG VLAN configuration
modes.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
ethernet-services (PVSTAG and PVRSTAG only)
read, write
interface (MSTAG and REPAG only)
read, write
Examples
The following example shows how to set the port priority to 160:
Enables a PVST or PVRST VLAN instance on the interface and enters PVSTAG or PVRSTAG VLAN configuration mode.
portfast
To enable PortFast on the port, and optionally enable BPDU guard, use the
portfast command in MSTP interface configuration submode.
portfast [bpduguard]
Syntax Description
This command has no keywords or arguments.
Command Default
PortFast is disabled.
Command Modes
MSTP interface configuration
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
This command enables the portfast feature (also known as edge port). When this is
enabled, MSTP treats the port as an edge port, i.e., it keeps it in forwarding state and
does not generate topology changes if the port goes down or comes up. It is not expected
to receive MSTP BPDUs on an edge port. BPDU guard is a Cisco extension that causes the
interface to be shut down using error-disable if an MSTP BPDU is received. For more
information on portfast feature, refer to the Implementing Multiple Spanning Tree
Protocol module in the Cisco ASR 9000 Series Aggregation Services Router L2VPN
and Ethernet Services Configuration Guide.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to enable PortFast and BPDU guard on the port:
This command was supported in the PVSTAG and PVRSTAG configuration
modes.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
This command enables startup topology control for Access Gateway. By default, when an
interface comes up, Access Gateway starts sending STP BPDUs immediately based on the
configured values. This could cause the devices in the access network to immediately
start directing traffic to this device. However, the data plane may not yet be ready to
forward packets to the core or aggregation network. When a preempt delay is configured,
alternative values are sent in the BPDUs for the specified time. These alternative
values must be configured using the startup-value option, and
can be set so as to cause the access devices not to use this link unless it is the only
one available.
For more information on preempt delay, refer to the Implementing Multiple Spanning
Tree Protocol module in the Cisco ASR 9000 Series Aggregation Services Router
L2VPN and Ethernet Services Configuration Guide.
Task ID
Task ID
Operations
ethernet-services (PVSTAG and PVRSTAG only)
read, write
interface (MSTAG and REPAG only)
read, write
Examples
The following example shows how to set the preempt delay for 20 seconds:
RP/0/RSP0/CPU0:router(config-mstag)# preempt delay for 20 seconds
Displays the values currently used for populating the BPDUs sent by all ports.
priority (Access Gateway)
To set the bridge priority for the current MSTI or VLAN, use the
priority command in the MSTAG, REPAG, PVSTAG or PVRSTAG
instance configuration submodes.
Specifies the bridge priority. For MSTAG, REPAG and PVRSTAG, the range is
between 0 to 61440 in multiples of 4096. For PVSTAG, the range is between 0
to 65535.
startup-value
Sets an alternate value to use when the interface first comes up, while the
preempt delay timer is running.
startup-priority
Specifies the startup priority.
Command Default
Default value is 32768. If the startup value is not specified while the standard value
is, the startup value defaults to the standard value.
This command was supported in the PVSTAG and PVRSTAG configuration mode.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
This command is used when configuring Access Gateway to set the bridge priority that is
advertised for this MSTI or VLAN in the BPDUs sent from this interface.
Task ID
Task ID
Operations
ethernet-services (PVSTAG and PVRSTAG only)
read, write
interface (MSTAG and REPAG only)
read, write
Examples
The following example shows how to set the bridge priority for the current MSTI:
Enters the MST Access Gateway configuration submode.
priority (MSTP)
To set the bridge priority for the current MSTI, use the priority command in MSTI
configuration submode.
prioritypriority
Syntax Description
priority
Bridge priority for the current MSTI. Range is 0 to 61440 in multiples of
4096.
Command Default
priority: 32768
Command Modes
MSTI configuration
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to set the bridge priority to 8192 for the current
MSTI:
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to use the provider-bridge command:
Displays the values currently used for populating the BPDUs sent by all ports.
provider-bridge (MSTP)
To place the current instance of the protocol in 802.1ad mode, use the
provider-bridge command in MSTP configuration submode.
provider-bridge
Syntax Description
This command has no keywords or arguments.
Command Default
The default value is FALSE.
Command Modes
MSTP configuration
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to use the provider-bridge command:
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to set the revision level of the MSTP region to 1:
Displays the values currently used for populating the BPDUs sent by all ports.
revision (MSTP)
To set the revision level of the MSTP region, use the revision command in MSTP
configuration submode.
revisionrevision-number
Syntax Description
revision-number
Revision level of the MSTP region. Range is 0 to 65535.
Command Default
revision-number: 0
Command Modes
MSTP configuration
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to set the revision level of the MSTP region to 10:
Displays the multiple spanning tree protocol status information.
root-cost
To set the root path cost to sent in BPDUs from this interface, use the
root-cost command in PVSTAG VLAN configuration or
PVRSTAG VLAN configuration mode.
root-costcost
[ startup-valuestartup-cost ]
Syntax Description
cost
Sets the root path cost for the current port. The cost ranges between 0 to
4294967295.
startup-value
Specifies an alternate value to use when the interface first comes up, while
the preempt delay timer is running.
startup-cost
Sets the startup cost.
Command Default
The default is 0. If a cost is configured but no startup value is configured, the
startup value defaults to the configured cost value. If no cost is configured, the
startup value defaults to 1.
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
ethernet-services
read, write
Examples
The following example shows how to set the root path cost for the current port:
Enables a PVST or PVRST VLAN instance on the interface and enters PVSTAG or PVRSTAG VLAN configuration mode.
root-id
To set the identifier of the root bridge for BPDUs sent from a port and an optional
startup-value, use the root-id command in the MSTAG instance
configuration, REPAG instance configuration, PVSTAG VLAN configuration and PVRSTAG VLAN
configuration modes.
root-idid
[ startup-valuestartup-id ]
Syntax Description
id
Sets the root bridge ID (MAC address) to set in the BPDUs.
startup-value
Specifies an alternate value to use when the interface first comes up, while
the preempt delay timer is running.
startup-id
Sets the startup root ID.
Command Default
The MAC address of the region root switch. If the startup value is not specified while
the standard value is, the startup value defaults to the standard value. For MSTAG and
REPAG, the default is the bridge ID. For PVSTAG and PVRSTAG, the default is
0000.0000.0000.
This command was supported in the PVSTAG VLAN and PVRSTAG VLAN configuration
modes.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
ethernet-services (PVSTAG and PVRSTAG only)
read, write
interface (MSTAG and REPAG only)
read, write
Examples
The following example shows how to set the identifier of the root bridge for BPDUs:
Enables a PVST or PVRST VLAN instance on the interface and enters PVSTAG or PVRSTAG VLAN configuration mode.
root-priority
To set the root bridge priority sent in BPDUs for this interface for this MSTI or VLAN,
and to set an optional startup value, use the root-priority
command in the MSTAG instance configuration, REPAG instance configuration, PVSTAG VLAN
configuration and PVRSTAG VLAN configuration modes.
Sets the root bridge priority to set in the BPDUs. For MSTAG, REPAG and
PVRSTAG, the range is between 0 to 61440 in multiples of 4096. For PVSTAG,
the range is between 0 to 65535.
startup-value
Specifies an alternate value to use when the interface first comes up, while
the preempt delay timer is running.
startup-priority
Sets the startup root priority.
Command Default
Default value is 32768. If the startup value is not specified while the standard value
is, the startup value defaults to the standard value.
For MSTAG and REPAG, the default is 32768. For PVSTAG and PVRSTAG, the default is 0.
This command was supported in the PVSTAG VLAN and PVRSTAG VLAN configuration
modes.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
ethernet-services (PVSTAG and PVRSTAG only)
read, write
interface (MSTAG and REPAG only)
read, write
Examples
The following example shows how to set the root bridge priority for the current
MSTI:
Enables a PVST or PVRST VLAN instance on the interface and enters PVSTAG or PVRSTAG VLAN configuration mode.
show ethernet mvrp mad
To display the current state of the Multiple Registration Protocol (MRP) Attribute
Declaration (MAD) component on a port, for each active attribute value (VID), use the
show ethernet mvrp mad command in EXEC mode.
(Optional) Displays the MVRP state for the given subinterface or base
interface name.
interface-name
(Optional) Displays the interface name.
vlanvlan-id
(Optional) Displays information for a particular VLAN. The range is between
0 to 4094.
Command Default
None
Command Modes
EXEC
Command History
Release
Modification
Release 3.7.2
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
ethernet-services
read
Examples
The following sample output is from the show ethernet mvrp mad
command:
RP/0/RSP0/CPU0:router# show ethernet mvrp mad interface GigabitEthernet 0/1/0/1
GigabitEthernet0/1/0/1
Participant Type: Full; Point-to-Point: Yes
Admin Control: Applicant Normal; Registrar Normal
LeaveAll Passive (next in 5.92s); periodic disabled
Leave in 25.70s; Join not running
Last peer 0293.6926.9585; failed registrations: 0
VID Applicant Registrar
---- --------------------- ---------
1 Very Anxious Observer Leaving
283 Quiet Passive Empty
(Optional) Displays the MVRP state for the given subinterface or base
interface name.
type
(Optional) Interface type. For more information, use the question mark (?)
online help function.
interface-path-id
(Optional) Physical interface or virtual interface.
Note
Use the show interfaces command to see a list
of all interfaces currently configured on the router.
For more information about the syntax for the router, use the question mark
(?) online help function.
Command Default
None
Command Modes
EXEC
Command History
Release
Modification
Release 3.7.2
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
ethernet-services
read
Examples
The following sample output is from the show ethernet mvrp
statistics command:
Displays a summary of the VIDs that are declared or registered.
show ethernet mvrp status
To display a summary of the VIDs that are declared or registered, and to learn the
origin of these declarations, use the show ethernet mvrp
status command in EXEC mode.
(Optional) Displays the MVRP state for the given subinterface or base
interface name.
type
(Optional) Interface type. For more information, use the question mark (?)
online help function.
interface-path-id
(Optional) Physical interface or virtual interface.
Note
Use the show interfaces command to see a list
of all interfaces currently configured on the router.
For more information about the syntax for the router, use the question mark
(?) online help function.
Command Default
None
Command Modes
EXEC
Command History
Release
Modification
Release 3.7.2
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
ethernet-services
read
Examples
The following sample output is from the show ethernet mvrp
status command:
RP/0/RSP0/CPU0:router# show ethernet mvrp status interface GigabitEthernet 0/1/0/1
GigabitEthernet0/1/0/1
Statically declared: 1-512,768,980-1034
Dynamically declared: 2048-3084
Registered: 1-512
(Optional) Displays the MSTP state for the given interface.
type
Interface type. For more information, use the question mark (?) online help
function.
interface-path-id
Physical interface or virtual interface.
Note
Use the show interfaces command to see a list
of all interfaces currently configured on the router.
For more information about the syntax for the router, use the question mark
(?) online help function.
mstivalue
(Optional) Displays the filter for Multiple Spanning Tree Instance (MSTI).
The range is from 0 to 100.
Command Default
None
Command Modes
EXEC
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
l2vpn
read
Examples
The following sample output is from the show l2vpn mstp port
command:
RP/0/RSP0/CPU0:router# show l2vpn mstp port interface gigabitethernet 0/1/0/0 msti 5
Displays the Multiple Spanning Tree Protocol (MSTP) state for the virtual local area network (VLAN) on a given interface.
show l2vpn mstp vlan
To display the Multiple Spanning Tree Protocol (MSTP) state for the virtual local area
network (VLAN) on a given interface, use the show l2vpn mstp
vlan command in EXEC mode.
(Optional) Displays the MSTP state for the given subinterface or base
interface name.
type
(Optional) Interface type. For more information, use the question mark (?)
online help function.
interface-path-id
(Optional) Physical interface or virtual interface.
Note
Use the show interfaces command to see a list
of all interfaces currently configured on the router.
For more information about the syntax for the router, use the question mark
(?) online help function.
mstivalue
(Optional) Displays the filter for Multiple Spanning Tree Instance (MSTI).
The range is from 0 to 100.
vlan-idvalue
(Optional) Displays the filter for the VLAN ID. The range is from 0 to
4294967295.
Command Default
None
Command Modes
EXEC
Command History
Release
Modification
Release 3.7.2
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
l2vpn
read
Examples
The following sample output is from the show l2vpn mstp vlan
command:
String of a maximum of 25 characters that identifies the protocol
instance.
instanceinstance-id
Forward interface in rack/slot/instance/port format.
brief
Displays a summary of MST information only.
blocked-ports
Displays MST information for blocked ports only.
Command Default
None
Command Modes
EXEC
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Release 3.9.1
The topology-change keyword was added.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read
Examples
The following example shows the output from the show spanning-tree
mst command, which produces an overview of the spanning tree protocol
state:
RP/0/RSP0/CPU0:router# show spanning-tree mst a instance 0
Operating in Provider Bridge mode
MSTI 0 (CIST):
VLANS Mapped: 1-100, 500-1000, 1017
Root ID Priority 4097
Address 0004.9b78.0800
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 4097 (priority 4096 sys-id-ext 1)
Address 0004.9b78.0800
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Interface Port ID Designated Port ID
Name Prio.Nbr Cost Role State Cost Bridge ID Prio.Nbr
---------------------- -------- ------ --------- ------------------------ --------
GigabitEthernet0/1/2/1 128.65 20000 DSGN FWD 0 4097 0004.9b78.0800 128.65
GigabitEthernet0/1/2/2 128.66 20000 DSGN FWD 0 4097 0004.9b78.0800 128.66
...
The following example shows the output from the show spanning-tree
mst command when the brief and blocked-ports keywords are
used:
RP/0/RSP0/CPU0:router# show spanning-tree mst a brief
MSTI 0 (CIST):
VLAN IDs: 1-100, 500-1000, 1017
This is the Root Bridge
MSTI 1:
VLAN IDS: 101-499
Root Port GigabitEthernet0/1/2/2 , Root Bridge ID 0002.9b78.0812
...
RP/0/RSP0/CPU0:router# show spanning-tree mst blocked-ports
MSTI 0 (CIST):
Interface Port ID Designated Port ID
Name Prio.Nbr Cost Role State Cost Bridge ID Prio.Nbr
---------------------- -------- ------ --------- ------------------------ --------
GigabitEthernet0/0/4/4 128.196 200000 ALT BLK 0 4097 0004.9b78.0800 128.195
...
To display the contents of MSTP BPDUs being sent and received on a particular interface,
use the show spanning-tree mst bpdu interface command in the
EXEC mode.
showspanning-treemstprotocolinstanceidentifierbpduinterfacetypeinterface-path-id
[ direction
{ receive | transmit } ]
Syntax Description
protocol instance identifier
String of a maximum of 25 characters that identifies the protocol
instance.
bpdu interface
Displays multiple spanning tree BPDUs.
type
Interface type. For more information, use the question mark (?) online help
function.
interface-path-id
Physical interface or virtual interface.
Note
Use the show interfaces command to see a list
of all interfaces currently configured on the router.
For more information about the syntax for the router, use the question mark
(?) online help function.
direction
Displays per-interface MST BPDUs for a specific direction.
receive
Displays only the MST BPDUs received on this interface.
transmit
Displays only the MST BPDUs being transmitted for this interface.
Command Default
None
Command Modes
EXEC
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read
Examples
The following example shows the output from the show spanning-tree
mst command, which produces details on the BPDUs being output and
received on a given local interface:
Note
Several received packets can be stored in case of MSTP operating on a shared LAN.
RP/0/RSP0/CPU0:router# show spanning-tree mst a bpdu interface GigabitEthernet0/1/2/2 direction transmit
MSTI 0 (CIST):
Root ID : 0004.9b78.0800
Path Cost : 83
Bridge ID : 0004.9b78.0800
Port ID : 12
Hello Time : 2
...
String of a maximum of 25 characters that identifies the protocol
instance.
configuration
Displays a summary of MST related configuration.
Command Default
None
Command Modes
EXEC
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read
Examples
The following example shows the output from the show spanning-tree
mst command, which displays the VLAN ID to MSTI mapping table:
RP/0/RSP0/CPU0:router# show spanning-tree mst a configuration
Name leo
Revision 2702
Config Digest 9D-14-5C-26-7D-BE-9F-B5-D8-93-44-1B-E3-BA-08-CE
Instance Vlans mapped
-------- -------------------------------
0 1-9,11-19,21-29,31-39,41-4094
1 10,20,30,40
------------------------------------------
String of a maximum of 25 characters that identifies the protocol
instance.
errors
Displays configuration errors for MST.
Command Default
None
Command Modes
EXEC
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read
Examples
The following example shows the output from the show spanning-tree
mst command, which produces information about interfaces that are
configured for MSTP but where MSTP is not operational. Primarily this shows information
about interfaces which do not exist:
RP/0/RSP0/CPU0:router# show spanning-tree mst a errors
Interface Error
-------------------------------
GigabitEthernet1/2/3/4 Interface does not exist.
String of a maximum of 25 characters that identifies the protocol
instance.
interfacetype
Interface type. For more information, use the question mark (?) online help
function.
interface-path-id
Physical interface or virtual interface.
Note
Use the show interfaces command to see a list
of all interfaces currently configured on the router.
For more information about the syntax for the router, use the question mark
(?) online help function.
instanceid
Forward interface in rack/slot/instance/port format.
Command Default
None
Command Modes
EXEC
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read
Examples
The following example shows the output from the show spanning-tree
mst command, which produces more detailed information regarding
interface state than the standard command as described above:
RP/0/RSP0/CPU0:router# show spanning-tree mst a interface GigabitEthernet0/1/2/1 instance 3
GigabitEthernet0/1/2/1
Cost: 20000
link-type: point-to-point
hello-time 1
Portfast: no
BPDU Guard: no
Guard root: no
Guard topology change: no
BPDUs sent 492, received 3
MST 3:
Edge port:
Boundary : internal
Designated forwarding
Vlans mapped to MST 3: 1-2,4-2999,4000-4094
Port info port id 128.193 cost 200000
Designated root address 0050.3e66.d000 priority 8193 cost 20004
Designated bridge address 0002.172c.f400 priority 49152 port id 128.193
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Transitions to reach this state: 12
The output includes interface information about the interface which applies to all
MSTIs:
Cost
link-type
hello-time
portfast (including whether BPDU guard is enabled)
guard root
guard topology change
BPDUs sent, received.
It also includes information specific to each MSTI:
Port ID, priority, cost
BPDU information from root (bridge ID, cost, and priority)
BPDU information being sent on this port (Bridge ID, cost, priority)
To display details of the last topology change that occurred for each pair of port and
instance, as well as a count of the number of topology changes at each port, use the
show spanning-tree mst topology-change flushes command
in the EXEC mode.
String of a maximum of 25 characters that identifies the protocol
instance.
topology-change
Displays topology change information.
flushes
Displays latest topology change flushes for each interface.
instanceid
Instance for which information needs to be displayed.
interfacetype
Interface type. For more information, use the question mark (?) online help
function.
interface-path-id
Physical interface or virtual interface.
Note
Use the show interfaces command to see a list
of all interfaces currently configured on the router.
For more information about the syntax for the router, use the question mark
(?) online help function.
latest
Displays the most recent topology change for each instance.
Command Default
None
Command Modes
EXEC
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Note
The latest filter displays only the most recent topology change for each instance.
The output also displays information of the flush operation that takes place when the
flush containment is active on an MSTI for a port.
Task ID
Task ID
Operations
interface
read
Examples
The following example shows the output from the show spanning-tree
mst command, which displays details on the MSTIs :
RP/0/RSP0/CPU0:router# show spanning-tree mst M topology-change flushes instance$
MSTI 1:
Interface Last TC Reason Count
------------ -------------------- -------------------------------- -----
Te0/0/0/1 04:16:05 Mar 16 2010 Role change: DSGN to ---- 10
#
#
RP/0/RSP0/CPU0:router# show spanning-tree mst M topology-change flushes instance$
MSTI 0 (CIST):
Interface Last TC Reason Count
------------ -------------------- -------------------------------- -----
Te0/0/0/1 04:16:05 Mar 16 2010 Role change: DSGN to ---- 10
#
#
To display the values currently used for populating the BPDUs sent by all ports (with
the specified feature enabled), use the show spanning-tree
mstag in the EXEC mode.
showspanning-treemstagprotocolinstanceidentifier
Syntax Description
protocol instance identifier
String (a maximum of 25 characters) that identifies the protocol
instance.
Command Default
None
Command Modes
EXEC
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Release 4.1.0
The show output of this command was modified to include information on the MSTAG Edge Mode feature.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read
Examples
This example shows the output from the show spanning-tree
mstag command:
String of a maximum of 25 characters that identifies the protocol
instance.
bpdu interface
Displays multiple spanning tree BPDUs.
type
Interface type. For more information, use the question mark (?) online help
function.
interface-path-id
Physical interface or virtual interface.
Note
Use the show interfaces command to see a list
of all interfaces currently configured on the router.
For more information about the syntax for the router, use the question mark
(?) online help function.
Command Default
None
Command Modes
EXEC
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read
Examples
The following example shows the output from the show spanning-tree mstag
bpdu interface command:
Enters the MST Access Gateway configuration submode.
show spanning-tree mstag topology-change flushes
To display details of the last topology change that occurred for each pair of port and
instance, as well as a count of the number of topology changes at each port, use the
show spanning-tree mstag topology-change flushes command
in the EXEC mode.
Note
The latest filter displays only the most recent topology change for each instance.
The output also displays information of the flush operation that takes place when the
flush containment is active on an MSTI for a port.
String of a maximum of 25 characters that identifies the protocol
instance.
topology-change
Displays topology change information.
flushes
Displays latest topology change flushes for each interface.
instanceid
Forward interface in rack/slot/instance/port format.
interface type
Interface type. For more information, use the question mark (?) online help
function.
interface-path-id
Physical interface or virtual interface.
Note
Use the show interfaces command to see a list
of all interfaces currently configured on the router.
For more information about the syntax for the router, use the question mark
(?) online help function.
latest
Displays the most recent topology change for each instance.
Command Default
None
Command Modes
EXEC
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read
Examples
The following example shows the output from the show spanning-tree mstag
topology-change flushes command, which displays details on the MSTIs
:
RP/0/RSP0/CPU0:router# show spanning-tree mstag b topology-change flushes
MSTAG Protocol Instance b
Interface Last TC Reason Count
------------ ------------------- -------------------------------- -----
Gi0/0/0/1 18:03:24 2009-07-14 Gi0/0/0/1.10 egress TCN 65535
Gi0/0/0/2 21:05:04 2009-07-15 Gi0/0/0/2.1234567890 ingress TCN 2
Enters the MST Access Gateway configuration submode.
show spanning-tree pvrstag
To display the values currently used for populating the BPDUs sent by all ports (with
the specified feature enabled), use the show spanning-tree
pvrstag in the EXEC mode.
String of a maximum of 25 characters that identifies the protocol
instance.
interface type
Interface type. For more information, use the question mark (?) online help
function.
interface-path-id
Physical interface or virtual interface.
Note
Use the show interfaces command to see a list
of all interfaces currently configured on the router.
For more information about the syntax for the router, use the question mark
(?) online help function.
Command Default
None
Command Modes
EXEC
Command History
Release
Modification
Release 4.0.0
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read
Examples
The following example shows the output from the show spanning-tree
pvrstag command:
RP/0/RSP0/CPU0:router# show spanning-tree pvrstag interface GigabitEthernet0/0/0/1
GigabitEthernet0/0/0/1
VLAN 10
Preempt delay is disabled.
Sub-interface: GigabitEthernet0/0/0/1.20 (Up)
Max Age: 20
Root Priority: 0
Root Bridge: 0000.0000.0000
Cost: 0
Bridge Priority: 32768
Bridge ID: 6161.6161.6161
Port Priority: 128
Port ID: 1
Hello Time: 2
Active: no
BPDUs sent: 0
Topology Changes: 123
VLAN 20
Enters the Per VLAN Rapid Spanning Tree Access Gateway (PVRSTAG) configuration submode.
show spanning-tree pvstag
To display the values currently used for populating the BPDUs sent by all ports (with
the specified feature enabled), use the show spanning-tree
pvstag in the EXEC mode.
String of a maximum of 25 characters that identifies the protocol
instance.
interface type
Interface type. For more information, use the question mark (?) online help
function.
interface-path-id
Physical interface or virtual interface.
Note
Use the show interfaces command to see a list
of all interfaces currently configured on the router.
For more information about the syntax for the router, use the question mark
(?) online help function.
Command Default
None
Command Modes
EXEC
Command History
Release
Modification
Release 4.0.0
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read
Examples
The following example shows the output from the show spanning-tree
pvstag command:
RP/0/RSP0/CPU0:router# show spanning-tree pvstag interface GigabitEthernet0/0/0/1
GigabitEthernet0/0/0/1
VLAN 10
Preempt delay is disabled.
Sub-interface: GigabitEthernet0/0/0/1.20 (Up)
Max Age: 20
Root Priority: 0
Root Bridge: 0000.0000.0000
Cost: 0
Bridge Priority: 32768
Bridge ID: 6161.6161.6161
Port Priority: 128
Port ID: 1
Hello Time: 2
Active: no
BPDUs sent: 0
Topology Changes: 123
VLAN 20
show spanning-tree repag
To display the values currently used for populating the BPDUs sent by all ports (with
the specified feature enabled), use the show spanning-tree
repag in the EXEC mode.
String of a maximum of 25 characters that identifies the protocol
instance.
interface type
Interface type. For more information, use the question mark (?) online help
function.
interface-path-id
Physical interface or virtual interface.
Note
Use the show interfaces command to see a list
of all interfaces currently configured on the router.
For more information about the syntax for the router, use the question mark
(?) online help function.
Command Default
None
Command Modes
EXEC
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read
Examples
The following example shows the output from the show spanning-tree
repag command:
RP/0/RSP0/CPU0:router# show spanning-tree repag interface GigabitEthernet0/0/0/1
GigabitEthernet0/0/0/1
VLAN 10
Preempt delay is disabled.
Sub-interface: GigabitEthernet0/0/0/1.20 (Up)
Max Age: 20
Root Priority: 0
Root Bridge: 0000.0000.0000
Cost: 0
Bridge Priority: 32768
Bridge ID: 6161.6161.6161
Port Priority: 128
Port ID: 1
Hello Time: 2
Active: no
BPDUs sent: 0
Topology Changes: 123
VLAN 20
Enters the Resilient Ethernet Protocol Access Gateway (REPAG) configuration submode.
show spanning-tree repag bpdu interface
To display BPDU information from root (bridge ID, cost, and priority) and the BPDU
information being sent on the port (Bridge ID, cost, priority) specific to an MSTI, use
the show spanning-tree repag bpdu interface command in the
EXEC mode.
String of a maximum of 25 characters that identifies the protocol
instance.
bpdu interface
Displays multiple spanning tree BPDUs.
type
Interface type. For more information, use the question mark (?) online help
function.
interface-path-id
Physical interface or virtual interface.
Note
Use the show interfaces command to see a list
of all interfaces currently configured on the router.
For more information about the syntax for the router, use the question mark
(?) online help function.
Command Default
None
Command Modes
EXEC
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read
Examples
The following example shows the output from the show spanning-tree
repag command, which produces details on the BPDUs being output and
received on a given local interface:
Enters the Resilient Ethernet Protocol Access Gateway (REPAG) configuration submode.
show spanning-tree repag topology-change flushes
To display details of the last topology change that occurred for each pair of port and
instance, as well as a count of the number of topology changes at each port, use the
show spanning-tree repag topology-change flushes command
in the EXEC mode.
Note
The latest filter displays only the most recent topology change for each instance.
The output also displays information of the flush operation that takes place when the
flush containment is active on an MSTI for a port.
String of a maximum of 25 characters that identifies the protocol
instance.
topology-change
Displays topology change information.
flushes
Displays latest topology change flushes for each interface.
instanceid
Forward interface in rack/slot/instance/port format.
interface type
Interface type. For more information, use the question mark (?) online help
function.
interface-path-id
Physical interface or virtual interface.
Note
Use the show interfaces command to see a list
of all interfaces currently configured on the router.
For more information about the syntax for the router, use the question mark
(?) online help function.
latest
Displays the most recent topology change for each instance.
Command Default
None
Command Modes
EXEC
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read
Examples
The following example shows the output from the show spanning-tree repag
topology-change flushes command, which displays details on the MSTIs
:
Enters the Resilient Ethernet Protocol Access Gateway (REPAG) configuration submode.
spanning-tree mst
To enter the MSTP configuration submode, use the spanning-tree mst command in
global configuration mode.
spanning-treemstprotocolinstanceidentifier
Syntax Description
protocol instance identifier
String of a maximum of 25 characters that identifies the protocol
instance.
Command Default
None
Command Modes
Global configuration
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Note
In MSTP configuration, only one protocol instance can be configured at a time.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to enter the MSTP configuration submode:
Displays the multiple spanning tree protocol status information.
spanning-tree mstag
To enter the MST Access Gateway configuration submode, use the spanning-tree
mstag command in global configuration mode.
spanning-treemstagprotocolinstanceidentifier
Syntax Description
protocol instance identifier
String of a maximum of 25 characters that identifies the protocol
instance.
Command Default
None
Command Modes
Global configuration
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Refer to the Implementing Multiple Spanning Tree Protocol module of the Cisco
ASR 9000 Series Aggregation Services Router L2VPN and Ethernet Services Configuration
Guide for more information.
Note
Unlike MSTP configuration, multiple MSTAG instances can be configured
concurrently.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to enter the MSTAG configuration submode:
Displays the values currently used for populating the BPDUs sent by all ports.
spanning-tree pvrstag
To enter the Per VLAN Rapid Spanning Tree Access Gateway (PVRSTAG) configuration
submode, use the spanning-tree pvrstag command in global
configuration mode.
spanning-treepvrstagprotocolinstanceidentifier
Syntax Description
protocol instance identifier
String of a maximum of 255 characters that identifies the protocol
instance.
Command Default
None
Command Modes
Global configuration
Command History
Release
Modification
Release 4.0.0
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Refer to the Implementing Multiple Spanning Tree Protocol module of the Cisco
ASR 9000 Series Aggregation Services Router L2VPN and Ethernet Services Configuration
Guide for more information.
Task ID
Task ID
Operations
ethernet-services
read, write
Examples
The following example shows how to enter the PVRSTAG configuration submode:
Enables a PVST or PVRST VLAN instance on the interface and enters PVSTAG or PVRSTAG VLAN configuration mode.
spanning-tree pvstag
To enter the Per VLAN Spanning Tree Access Gateway (PVSTAG) configuration submode, use
the spanning-tree pvstag command in global configuration
mode.
spanning-treepvstagprotocolinstanceidentifier
Syntax Description
protocol instance identifier
String of a maximum of 255 characters that identifies the protocol
instance.
Command Default
None
Command Modes
Global configuration
Command History
Release
Modification
Release 4.0.0
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Refer to the Implementing Multiple Spanning Tree Protocol module of the Cisco
ASR 9000 Series Aggregation Services Router L2VPN and Ethernet Services Configuration
Guide for more information.
Task ID
Task ID
Operations
ethernet-services
read, write
Examples
The following example shows how to enter the PVSTAG configuration mode:
Enables a PVST or PVRST VLAN instance on the interface and enters PVSTAG or PVRSTAG VLAN configuration mode.
spanning-tree repag
To enter the Resilient Ethernet Protocol Access Gateway (REPAG) configuration submode,
use the spanning-tree repag command in global configuration
mode.
spanning-treerepagprotocolinstanceidentifier
Syntax Description
protocol instance identifier
String of a maximum of 255 characters that identifies the protocol
instance.
Command Default
None
Command Modes
Global configuration
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Refer to the Implementing Multiple Spanning Tree Protocol module of the Cisco
ASR 9000 Series Aggregation Services Router L2VPN and Ethernet Services Configuration
Guide for more information.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to enter the REPAG configuration mode:
Displays the values currently used for populating the BPDUs sent by all ports.
transmit hold-count
To set the transmit hold count performance parameter, use the transmit hold-count
command in MSTP configuration submode.
transmithold-countcount
Syntax Description
count
Bridge transmit hold count. Range is 1 to 10.
Command Default
count: 6
Command Modes
MSTP configuration
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to set the bridge transmit hold-count parameter to
8:
Displays the multiple spanning tree protocol status information.
vlan
To enable a PVST or PVRST VLAN instance on the interface and enter PVSTAG or PVRSTAG
VLAN configuration mode, use the vlan command in PVSTAG or PVRSTAG configuration
submode.
vlanvlan-id
Syntax Description
vlan-id
Specifies the VLAN identifier. The range of the VLAN ID is between 1 to
4094.
Note
There is a limit of 200 VLANs per physical interface and 16000 VLANs
across the system.
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
ethernet-services
read, write
Examples
The following example shows how to enable a VLAN in the PVSTAG configuration mode:
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to use the vlan-id command:
List of VLAN ranges in the form a-b, c, d, e-f, g etc.
Command Default
None
Command Modes
MSTI configuration
Command History
Release
Modification
Release 3.7.1
This command was introduced.
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
interface
read, write
Examples
The following example shows how to use the vlan-id command: