Cisco ASR 9000 Series Aggregation Services Router L2VPN and Ethernet Services Command Reference, Release 4.1
Multiple Spanning Tree Protocol Commands
Downloads: This chapterpdf (PDF - 2.12MB) The complete bookPDF (PDF - 4.51MB) | Feedback

Multiple Spanning Tree Protocol Commands

Contents

Multiple Spanning Tree Protocol Commands

For detailed information about MSTP concepts, configuration tasks, and examples, see the

Cisco ASR 9000 Series Aggregation Services Router L2VPN and Ethernet Services Configuration Guide.

bridge-id

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-id id [ startup-value startup-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.

Command Modes

MSTAG interface configuration, REPAG Interface configuration, PVSTAG VLAN configuration, PVRSTAG VLAN configuration

Command History

Release

Modification

Release 3.7.1

This command was introduced.

Release 4.0.0

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:

RP/0/RSP0/CPU0:router(config-mstag-if)# bridge-id 001c.0000.0011

Related Commands

Command

Description

debug spanning-tree mstag packet

Enables MSTAG packet debugging.  

debug spanning-tree pvrstag packet

Enables packet debugging for sent and received PVRSTAG packets.  

debug spanning-tree pvstag packet

Enables packet debugging for sent and received PVSTAG packets.  

debug spanning-tree repag packet

Enables Resilient Ethernet Protocol (REP) Access Gateway debugging commands.  

interface (MSTAG/​REPAG)

Enter the MSTAG interface configuration submode, and enables MSTAG for the specified port.  

interface (PVSTAG/​PVRSTAG)

Enters PVST or PVRST Access Gateway Interface configuration submode and enables either PVSTAG or PVRSTAG for the specified port.  

spanning-tree mstag

Enters the MST Access Gateway configuration submode.  

spanning-tree pvrstag

Enters the Per VLAN Rapid Spanning Tree Access Gateway (PVRSTAG) configuration submode.  

spanning-tree pvstag

Enters the Per VLAN Spanning Tree Access Gateway (PVSTAG) configuration submode.  

spanning-tree repag

Enters the Resilient Ethernet Protocol Access Gateway (REPAG) configuration submode.  

show spanning-tree mstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree pvrstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree pvstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree repag

Displays the values currently used for populating the BPDUs sent by all ports.  

vlan

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.

bringup delay for interval { seconds | minutes | hours }

no bringup delay for interval { seconds | minutes | hours }

Syntax Description

interval

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

Related Commands

Command

Description

debug spanning-tree mst packet

Enables debugging for sent and received MSTP packets.  

debug spanning-tree mst protocol-state

Enables debugging protocol-state changes such as port role or state changes, topology change notification.  

spanning-tree mst

Enters the MSTP configuration submode  

show spanning-tree mst

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.

clear ethernet mvrp statistics { interface type interface-path-id | location location | 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

Related Commands

Command

Description

mvrp static

Enables Multiple VLAN Registration Protocol (MVRP) in static mode.  

show ethernet mvrp statistics

Displays packet statistics per port.  

cost

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.

cost cost [ startup-value startup-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.

Command Modes

MSTAG interface instance configuration, REPAG Instance 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 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:

RP/0/RSP0/CPU0:router(config-mstag-if-inst)# cost 10000

Related Commands

Command

Description

debug spanning-tree mstag packet

Enables MSTAG packet debugging.  

debug spanning-tree repag packet

Enables Resilient Ethernet Protocol (REP) Access Gateway debugging commands.  

interface (MSTAG/​REPAG)

Enter the MSTAG interface configuration submode, and enables MSTAG for the specified port.  

instance (MSTAG/​REPAG)

Enters MSTAG Instance configuration mode or REPAG Instance configuration mode.  

spanning-tree mstag

Enters the MST Access Gateway configuration submode.  

spanning-tree repag

Enters the Resilient Ethernet Protocol Access Gateway (REPAG) configuration submode.  

show spanning-tree mstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree repag

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.

debug ethernet mvrp packets { brief | full | hexdump } [ direction { received | sent } ] [ interface interface-name | location node-id ]

no debug ethernet mvrp packets { brief | full | hexdump } [ direction { received | sent } ] [ interface interface-name | location node-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.

interface interface-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.

location node-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

Related Commands

Command

Description

debug ethernet mvrp protocol

Enables MVRP protocol debugging on a specific interface, location or vlan.  

mvrp static

Enables Multiple VLAN Registration Protocol (MVRP) in static mode.  

show ethernet mvrp mad

Displays the current state of the Multiple Registration Protocol (MRP) Attribute Declaration (MAD) component on a port.  

show ethernet mvrp statistics

Displays packet statistics per port.  

show ethernet mvrp status

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.

debug ethernet mvrp protocol [ vlan vlan-id ] [ interface interface-name | location node-id ]

no debug ethernet mvrp protocol [ vlan vlan-id ] [ interface interface-name | location node-id ]

Syntax Description

vlan vlan-id

{Optional} Specific vlan-id to filter on.

interface interface-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.

location node-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:

RP/0/RSP0/CPU0:router#debug ethernet mvrp protocol 
Thu Oct 28 03:05:21.575 DST

RP/0/RSP0/CPU0:router#debug ethernet mvrp protocol location 0/0/CPU0  
Mon Nov 15 20:11:56.607 PST

RP/0/RSP0/CPU0:router#debug ethernet mvrp protocol interface gigabitEthernet 0/0/0/1
Mon Nov 15 20:12:49.776 PST

Related Commands

Command

Description

debug ethernet mvrp packets

Enables debugging of sent and received MVRP packets.  

mvrp static

Enables Multiple VLAN Registration Protocol (MVRP) in static mode.  

show ethernet mvrp mad

Displays the current state of the Multiple Registration Protocol (MRP) Attribute Declaration (MAD) component on a port.  

show ethernet mvrp statistics

Displays packet statistics per port.  

show ethernet mvrp status

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.

debug spanning-tree mst packet { brief | full } { sent | received } [ interface interface-name ]

no debug spanning-tree mst packet { brief | full } { sent | received } [ interface interface-name ]

Syntax Description

brief

Enables brief debugging output.

full

Enables full debugging output.

sent

Display packets being sent.

received

Display packets being received.

interface interface-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

Related Commands

Command

Description

debug spanning-tree mst protocol-state

Enables debugging protocol-state changes such as port role or state changes, topology change notification.  

debug spanning-tree packet raw

Enables debugging raw packet output for all received packets or sent packets.  

spanning-tree mst

Enters the MSTP configuration submode  

show spanning-tree mst

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.

debug spanning-tree mst protocol-state [ instance instance-id ] [ interface interface-name ]

no debug spanning-tree mst protocol-state [ instance instance-id ] [ interface interface-name ]

Syntax Description

instance instance-id

View debug for a specific MSTI.

interface interface-name

View debug for a specific interface.

Command Default

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:

RP/0/RSP0/CPU0:router#debug spanning-tree mst protocol-state           
Mon Nov 15 20:53:52.793 PST

RP/0/RSP0/CPU0:router#debug spanning-tree mst protocol-state interface gigabitEthernet 0/0/0/1 
Mon Nov 15 20:54:57.310 PST

RP/0/RSP0/CPU0:router#debug spanning-tree mst protocol-state instance 4094
Mon Nov 15 20:59:35.860 PST

Related Commands

Command

Description

debug spanning-tree mst packet

Enables debugging for sent and received MSTP packets.  

spanning-tree mst

Enters the MSTP configuration submode  

show spanning-tree mst

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.

debug spanning-tree mstag packet { brief | full } { sent | received } [ interface interface-name ]

no debug spanning-tree mstag packet { brief | full } { sent | received } [ interface interface-name ]

Syntax Description

brief

Enables brief debugging output.

full

Enables full debugging output.

received

Display packets being received.

sent

Display packets being sent.

interface interface-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

Related Commands

Command

Description

debug spanning-tree packet raw

Enables debugging raw packet output for all received packets or sent packets.  

spanning-tree mstag

Enters the MST Access Gateway configuration submode.  

show spanning-tree mstag

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.

debug spanning-tree packet raw { sent | received } [ interface interface-name ]

no debug spanning-tree packet raw { sent | received } [ interface interface-name ]

Syntax Description

received

Display packets being received.

sent

Display packets being sent.

interface interface-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

Related Commands

Command

Description

debug spanning-tree mst packet

Enables debugging for sent and received MSTP packets.  

debug spanning-tree mstag packet

Enables MSTAG packet debugging.  

debug spanning-tree pvrstag packet

Enables packet debugging for sent and received PVRSTAG packets.  

debug spanning-tree pvstag packet

Enables packet debugging for sent and received PVSTAG packets.  

debug spanning-tree repag packet

Enables Resilient Ethernet Protocol (REP) Access Gateway debugging commands.  

spanning-tree mst

Enters the MSTP configuration submode  

spanning-tree mstag

Enters the MST Access Gateway configuration submode.  

spanning-tree pvrstag

Enters the Per VLAN Rapid Spanning Tree Access Gateway (PVRSTAG) configuration submode.  

spanning-tree pvstag

Enters the Per VLAN Spanning Tree Access Gateway (PVSTAG) configuration submode.  

spanning-tree repag

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.

debug spanning-tree pvrstag packet { brief | full } { sent | received } [ interface interface-name ]

no debug spanning-tree pvrstag packet { brief | full } { sent | received } [ interface interface-name ]

Syntax Description

brief

Enables brief debugging output.

full

Enables full debugging output.

sent

Indicates packets sent.

received

Indicates packets received.

interface interface-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

Related Commands

Command

Description

show spanning-tree pvrstag

Displays the values currently used for populating the BPDUs sent by all ports.  

spanning-tree pvrstag

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.

debug spanning-tree pvstag packet { brief | full } { sent | received } [ interface interface-name ]

no debug spanning-tree pvstag packet { brief | full } { sent | received } [ interface interface-name ]

Syntax Description

brief

Enables brief debugging output.

full

Enables full debugging output.

sent

Indicates packets sent.

received

Indicates packets received.

interface interface-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

Related Commands

Command

Description

show spanning-tree pvstag

Displays the values currently used for populating the BPDUs sent by all ports.  

spanning-tree pvstag

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.

debug spanning-tree repag packet { brief | full } { sent | received } [ interface interface-name ]

no debug spanning-tree repag packet { brief | full } { sent | received } [ interface interface-name ]

Syntax Description

brief

Enables brief debugging output.

full

Enables full debugging output.

received

Display packets being received.

sent

Display packets being sent.

interface interface-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

no edge-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:

RP/0/RSP0/CPU0:router#configure
RP/0/RSP0/CPU0:router(config)#spanning-tree mstag A
RP/0/RSP0/CPU0:router(config-mstag)#interface GigabitEthernet 0/2/0/1.1
RP/0/RSP0/CPU0:router(config-mstag-if)#instance 100
RP/0/RSP0/CPU0:router(config-mstag-if-inst)#edge-mode
RP/0/RSP0/CPU0:router(config-mstag-if-inst)#

Related Commands

Command

Description

spanning-tree mstag

Enters the MST Access Gateway configuration submode.  

show spanning-tree mstag

Displays the values currently used for populating the BPDUs sent by all ports.  

external-cost (MSTAG/REPAG)

To set the external path cost on the current port, use the external-cost command in MSTAG interface or REPAG interface configuration submode.

external-cost cost [ startup-value startup-cost ]

Syntax Description

cost

Interface external path 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-cost

Sets the external path cost.

Command Default

If no startup-value is configured, the startup value defaults to 200000000.

Command Modes

MSTAG interface configuration, REPAG Interface Configuration

Command History

Release

Modification

Release 3.9.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.

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:

RP/0/RSP0/CPU0:router(config-mstag-if)# external-cost 10000

Related Commands

Command

Description

debug spanning-tree mstag packet

Enables MSTAG packet debugging.  

debug spanning-tree repag packet

Enables Resilient Ethernet Protocol (REP) Access Gateway debugging commands.  

interface (MSTAG/​REPAG)

Enter the MSTAG interface configuration submode, and enables MSTAG for the specified port.  

spanning-tree mstag

Enters the MST Access Gateway configuration submode.  

spanning-tree repag

Enters the Resilient Ethernet Protocol Access Gateway (REPAG) configuration submode.  

show spanning-tree mstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree repag

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-cost cost

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:

RP/0/RSP0/CPU0:router:router(config-mstp-if)# external-cost 10000

Related Commands

Command

Description

debug spanning-tree mst packet

Enables debugging for sent and received MSTP packets.  

debug spanning-tree mst protocol-state

Enables debugging protocol-state changes such as port role or state changes, topology change notification.  

interface (MSTP)

Enters the MSTP interface configuration submode, and enables STP for the specified port.  

spanning-tree mst

Enters the MSTP configuration submode  

show spanning-tree mst

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.

flush containment disable

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:

RP/0/RSP0/CPU0:router(config-mstp)# flush containment disable

Related Commands

Command

Description

debug spanning-tree mst packet

Enables debugging for sent and received MSTP packets.  

debug spanning-tree mst protocol-state

Enables debugging protocol-state changes such as port role or state changes, topology change notification.  

spanning-tree mst

Enters the MSTP configuration submode  

show spanning-tree mst

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-delay seconds

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:

RP/0/RSP0/CPU0:router(config-mstp)# forward-delay 20

Related Commands

Command

Description

debug spanning-tree mst packet

Enables debugging for sent and received MSTP packets.  

debug spanning-tree mst protocol-state

Enables debugging protocol-state changes such as port role or state changes, topology change notification.  

spanning-tree mst

Enters the MSTP configuration submode  

show spanning-tree mst

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.

guard root

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:

RP/0/RSP0/CPU0:router(config-mstp-if)# guard root

Related Commands

Command

Description

debug spanning-tree mst packet

Enables debugging for sent and received MSTP packets.  

debug spanning-tree mst protocol-state

Enables debugging protocol-state changes such as port role or state changes, topology change notification.  

interface (MSTP)

Enters the MSTP interface configuration submode, and enables STP for the specified port.  

spanning-tree mst

Enters the MSTP configuration submode  

show spanning-tree mst

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.

guard topology-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:

RP/0/RSP0/CPU0:router(config-mstp-if)# guard topology-change

Related Commands

Command

Description

debug spanning-tree mst packet

Enables debugging for sent and received MSTP packets.  

debug spanning-tree mst protocol-state

Enables debugging protocol-state changes such as port role or state changes, topology change notification.  

interface (MSTP)

Enters the MSTP interface configuration submode, and enables STP for the specified port.  

spanning-tree mst

Enters the MSTP configuration submode  

show spanning-tree mst

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.

hello-time seconds

Syntax Description

seconds

Hello time in seconds. Range is 1 to 2.

Command Default

seconds: 2

Command Modes

MSTAG interface configuration, REPAG Interface configuration, PVSTAG VLAN configuration, PVRSTAG VLAN configuration

Command History

Release

Modification

Release 3.7.1

This command was introduced.

Release 4.0.0

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:

RP/0/RSP0/CPU0:router(config-mstag-if)# hello-time 1

Related Commands

Command

Description

debug spanning-tree mstag packet

Enables MSTAG packet debugging.  

debug spanning-tree pvrstag packet

Enables packet debugging for sent and received PVRSTAG packets.  

debug spanning-tree pvstag packet

Enables packet debugging for sent and received PVSTAG packets.  

debug spanning-tree repag packet

Enables Resilient Ethernet Protocol (REP) Access Gateway debugging commands.  

interface (MSTAG/​REPAG)

Enter the MSTAG interface configuration submode, and enables MSTAG for the specified port.  

interface (PVSTAG/​PVRSTAG)

Enters PVST or PVRST Access Gateway Interface configuration submode and enables either PVSTAG or PVRSTAG for the specified port.  

spanning-tree mstag

Enters the MST Access Gateway configuration submode.  

spanning-tree pvrstag

Enters the Per VLAN Rapid Spanning Tree Access Gateway (PVRSTAG) configuration submode.  

spanning-tree pvstag

Enters the Per VLAN Spanning Tree Access Gateway (PVSTAG) configuration submode.  

spanning-tree repag

Enters the Resilient Ethernet Protocol Access Gateway (REPAG) configuration submode.  

show spanning-tree mstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree pvrstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree pvstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree repag

Displays the values currently used for populating the BPDUs sent by all ports.  

vlan

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-time seconds

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:

RP/0/RSP0/CPU0:router(config-mstp-if)# hello-time 1

Related Commands

Command

Description

debug spanning-tree mst packet

Enables debugging for sent and received MSTP packets.  

debug spanning-tree mst protocol-state

Enables debugging protocol-state changes such as port role or state changes, topology change notification.  

interface (MSTP)

Enters the MSTP interface configuration submode, and enables STP for the specified port.  

spanning-tree mst

Enters the MSTP configuration submode  

show spanning-tree mst

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.

instance id

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:

RP/0/RSP0/CPU0:router(config-mstag)# instance 101
RP/0/RSP0/CPU0:router(config-mstag-inst)#

Related Commands

Command

Description

debug spanning-tree mstag packet

Enables MSTAG packet debugging.  

debug spanning-tree repag packet

Enables Resilient Ethernet Protocol (REP) Access Gateway debugging commands.  

interface (MSTAG/​REPAG)

Enter the MSTAG interface configuration submode, and enables MSTAG for the specified port.  

spanning-tree mstag

Enters the MST Access Gateway configuration submode.  

spanning-tree repag

Enters the Resilient Ethernet Protocol Access Gateway (REPAG) configuration submode.  

show spanning-tree mstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree repag

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.

instance id

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:

RP/0/RSP0/CPU0:router(config-mstp)# instance 101
RP/0/RSP0/CPU0:router(config-mstp-inst)#

Related Commands

Command

Description

debug spanning-tree mst packet

Enables debugging for sent and received MSTP packets.  

debug spanning-tree mst protocol-state

Enables debugging protocol-state changes such as port role or state changes, topology change notification.  

priority (MSTP)

Sets the bridge priority for the current MSTI  

show spanning-tree mst

Displays the multiple spanning tree protocol status information.  

spanning-tree mst

Enters the MSTP configuration submode  

vlan-id (MSTP)

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 cost command in MSTP interface configuration submode.

instance id cost cost

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:

RP/0/RSP0/CPU0:router(config-mstp-if)# instance 101 cost 10000

Related Commands

Command

Description

debug spanning-tree mst packet

Enables debugging for sent and received MSTP packets.  

debug spanning-tree mst protocol-state

Enables debugging protocol-state changes such as port role or state changes, topology change notification.  

interface (MSTP)

Enters the MSTP interface configuration submode, and enables STP for the specified port.  

spanning-tree mst

Enters the MSTP configuration submode  

show spanning-tree mst

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.

instance id port-priority priority

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:

RP/0/RSP0/CPU0:router(config-mstp-if)# instance 101 port-priority 160

Related Commands

Command

Description

debug spanning-tree mst packet

Enables debugging for sent and received MSTP packets.  

debug spanning-tree mst protocol-state

Enables debugging protocol-state changes such as port role or state changes, topology change notification.  

interface (MSTP)

Enters the MSTP interface configuration submode, and enables STP for the specified port.  

spanning-tree mst

Enters the MSTP configuration submode  

show spanning-tree mst

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.

interface { Bundle-Ether | GigabitEthernet | TenGigE } instance .subinterface

Syntax Description

instance.subinterface

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:

RP/0/RSP0/CPU0:router(config-mstag)# interface GigabitEthernet0/2/0/30.1
RP/0/RSP0/CPU0:router(config-mstag-if)#

Related Commands

Command

Description

debug spanning-tree mstag packet

Enables MSTAG packet debugging.  

debug spanning-tree repag packet

Enables Resilient Ethernet Protocol (REP) Access Gateway debugging commands.  

spanning-tree mstag

Enters the MST Access Gateway configuration submode.  

spanning-tree repag

Enters the Resilient Ethernet Protocol Access Gateway (REPAG) configuration submode.  

show spanning-tree mstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree repag

Displays the values currently used for populating the BPDUs sent by all ports.  

interface (MSTP)

To enter the MSTP interface configuration submode, and to enable STP for the specified port, use the interface command in MSTP configuration submode.

interface { Bundle-Ether | GigabitEthernet | TenGigE } instance

Syntax Description

instance

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:

RP/0/RSP0/CPU0:router(config-mstp)# interface GigabitEthernet 0/0/0/1
RP/0/RSP0/CPU0:router(config-mstp-if)#

Related Commands

Command

Description

debug spanning-tree mst packet

Enables debugging for sent and received MSTP packets.  

debug spanning-tree mst protocol-state

Enables debugging protocol-state changes such as port role or state changes, topology change notification.  

spanning-tree mst

Enters the MSTP configuration submode  

show spanning-tree mst

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:

RP/0/RSP0/CPU0:router(config-pvstag)# interface GigabitEthernet 0/0/0/1
RP/0/RSP0/CPU0:router(config-pvstag-if)#

Related Commands

Command

Description

debug spanning-tree pvrstag packet

Enables packet debugging for sent and received PVRSTAG packets.  

debug spanning-tree pvstag packet

Enables packet debugging for sent and received PVSTAG packets.  

show spanning-tree pvrstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree pvstag

Displays the values currently used for populating the BPDUs sent by all ports.  

spanning-tree pvrstag

Enters the Per VLAN Rapid Spanning Tree Access Gateway (PVRSTAG) configuration submode.  

spanning-tree pvstag

Enters the Per VLAN Spanning Tree Access Gateway (PVSTAG) configuration submode.  

vlan

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-time interval

no join-time interval

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:

RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# spanning-tree mst AA
RP/0/RSP0/CPU0:router(config-mstp)# mvrp static
RP/0/RSP0/CPU0:router(config-mvrp)# periodic transmit interval 5
RP/0/RSP0/CPU0:router(config-mvrp)# join-time 200
!

Related Commands

Command

Description

debug ethernet mvrp packets

Enables debugging of sent and received MVRP packets.  

debug ethernet mvrp protocol

Enables MVRP protocol debugging on a specific interface, location or vlan.  

mvrp static

Enables Multiple VLAN Registration Protocol (MVRP) in static mode.  

show ethernet mvrp mad

Displays the current state of the Multiple Registration Protocol (MRP) Attribute Declaration (MAD) component on a port.  

show ethernet mvrp statistics

Displays packet statistics per port.  

show ethernet mvrp status

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-time interval

no leave-time interval

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:

RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# spanning-tree mst AA
RP/0/RSP0/CPU0:router(config-mstp)# mvrp static
RP/0/RSP0/CPU0:router(config-mvrp)# periodic transmit interval 5
RP/0/RSP0/CPU0:router(config-mvrp)# leave-time 30!

Related Commands

Command

Description

debug ethernet mvrp packets

Enables debugging of sent and received MVRP packets.  

debug ethernet mvrp protocol

Enables MVRP protocol debugging on a specific interface, location or vlan.  

mvrp static

Enables Multiple VLAN Registration Protocol (MVRP) in static mode.  

show ethernet mvrp mad

Displays the current state of the Multiple Registration Protocol (MRP) Attribute Declaration (MAD) component on a port.  

show ethernet mvrp statistics

Displays packet statistics per port.  

show ethernet mvrp status

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-time interval

no leaveall-time interval

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:

RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# spanning-tree mst AA
RP/0/RSP0/CPU0:router(config-mstp)# mvrp static
RP/0/RSP0/CPU0:router(config-mvrp)# periodic transmit interval 5
RP/0/RSP0/CPU0:router(config-mvrp)# leaveall-time 20

Related Commands

Command

Description

debug ethernet mvrp packets

Enables debugging of sent and received MVRP packets.  

debug ethernet mvrp protocol

Enables MVRP protocol debugging on a specific interface, location or vlan.  

mvrp static

Enables Multiple VLAN Registration Protocol (MVRP) in static mode.  

show ethernet mvrp mad

Displays the current state of the Multiple Registration Protocol (MRP) Attribute Declaration (MAD) component on a port.  

show ethernet mvrp statistics

Displays packet statistics per port.  

show ethernet mvrp status

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:

RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# spanning-tree mst A
RP/0/RSP0/CPU0:router(config-mstp)# interface GigabitEthernet 0/3/0/3
RP/0/RSP0/CPU0:router(config-mstp-if)# link-type point-to-point

Related Commands

Command

Description

debug spanning-tree mst packet

Enables debugging for sent and received MSTP packets.  

debug spanning-tree mst protocol-state

Enables debugging protocol-state changes such as port role or state changes, topology change notification.  

interface (MSTP)

Enters the MSTP interface configuration submode, and enables STP for the specified port.  

spanning-tree mst

Enters the MSTP configuration submode  

show spanning-tree mst

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.

max age seconds

Syntax Description

seconds

Maximum age time for the bridge in seconds. Range is 6 to 40.

Command Default

seconds: 20

Command Modes

MSTAG interface configuration, REPAG interface configuration, PVSTAG VLAN configuration, PVRSTAG VLAN configuration

Command History

Release

Modification

Release 3.7.1

This command was introduced.

Release 4.0.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 maximum age time for the bridge to 20:

RP/0/RSP0/CPU0:router(config-mstag-if)# max age 20

Related Commands

Command

Description

debug spanning-tree mstag packet

Enables MSTAG packet debugging.  

debug spanning-tree pvrstag packet

Enables packet debugging for sent and received PVRSTAG packets.  

debug spanning-tree pvstag packet

Enables packet debugging for sent and received PVSTAG packets.  

debug spanning-tree repag packet

Enables Resilient Ethernet Protocol (REP) Access Gateway debugging commands.  

interface (MSTAG/​REPAG)

Enter the MSTAG interface configuration submode, and enables MSTAG for the specified port.  

interface (PVSTAG/​PVRSTAG)

Enters PVST or PVRST Access Gateway Interface configuration submode and enables either PVSTAG or PVRSTAG for the specified port.  

spanning-tree mstag

Enters the MST Access Gateway configuration submode.  

spanning-tree pvrstag

Enters the Per VLAN Rapid Spanning Tree Access Gateway (PVRSTAG) configuration submode.  

spanning-tree pvstag

Enters the Per VLAN Spanning Tree Access Gateway (PVSTAG) configuration submode.  

spanning-tree repag

Enters the Resilient Ethernet Protocol Access Gateway (REPAG) configuration submode.  

show spanning-tree mstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree pvrstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree pvstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree repag

Displays the values currently used for populating the BPDUs sent by all ports.  

vlan

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.

maximum age seconds

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

Related Commands

Command

Description

spanning-tree mst

Enters the MSTP configuration submode  

maximum hops (MSTP)

To set the maximum hops parameters for the bridge, use the maximum hops command in MSTP configuration submode.

maximum hops hops

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:

RP/0/RSP0/CPU0:router(config-mstp)# max hops 30

Related Commands

Command

Description

debug spanning-tree mst packet

Enables debugging for sent and received MSTP packets.  

debug spanning-tree mst protocol-state

Enables debugging protocol-state changes such as port role or state changes, topology change notification.  

spanning-tree mst

Enters the MSTP configuration submode  

show spanning-tree mst

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.

mvrp static

no mvrp static

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:

RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# spanning-tree mst AA
RP/0/RSP0/CPU0:router(config-mstp)# mvrp static
RP/0/RSP0/CPU0:router(config-mvrp)# 

Related Commands

Command

Description

debug ethernet mvrp packets

Enables debugging of sent and received MVRP packets.  

debug ethernet mvrp protocol

Enables MVRP protocol debugging on a specific interface, location or vlan.  

join-time

Sets the join time for all active ports.  

leave-time

Sets the leave time for all active ports.  

leaveall-time

Sets the leave all time for all active ports.  

periodic transmit

Sends periodic Multiple VLAN Registration Protocol Data Unit (MVRPDU) on all active ports.  

show ethernet mvrp mad

Displays the current state of the Multiple Registration Protocol (MRP) Attribute Declaration (MAD) component on a port.  

show ethernet mvrp statistics

Displays packet statistics per port.  

show ethernet mvrp status

Displays a summary of the VIDs that are declared or registered.  

spanning-tree mst

Enters the MSTP configuration submode  

name (MSTAG/REPAG)

To set the name of the MSTP region, use the name command in MSTAG interface configuration or REPAG interface configuration submode.

name name

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

MSTAG 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.

Task ID

Task ID

Operations

interface

read, write

Examples

The following example shows how to set the name of the MSTP region to leo:

RP/0/RSP0/CPU0:router(config-mstag-if)# name leo

Related Commands

Command

Description

debug spanning-tree mstag packet

Enables MSTAG packet debugging.  

debug spanning-tree repag packet

Enables Resilient Ethernet Protocol (REP) Access Gateway debugging commands.  

interface (MSTAG/​REPAG)

Enter the MSTAG interface configuration submode, and enables MSTAG for the specified port.  

spanning-tree mstag

Enters the MST Access Gateway configuration submode.  

spanning-tree repag

Enters the Resilient Ethernet Protocol Access Gateway (REPAG) configuration submode.  

show spanning-tree mstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree repag

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.

name name

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:

RP/0/RSP0/CPU0:router(config-mstp)# name m1

Related Commands

Command

Description

debug spanning-tree mst packet

Enables debugging for sent and received MSTP packets.  

debug spanning-tree mst protocol-state

Enables debugging protocol-state changes such as port role or state changes, topology change notification.  

spanning-tree mst

Enters the MSTP configuration submode  

show spanning-tree mst

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.

periodic transmit [ interval interval ]

no periodic transmit [ interval interval ]

Syntax Description

interval interval

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:

RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# spanning-tree mst AA
RP/0/RSP0/CPU0:router(config-mstp)# mvrp static
RP/0/RSP0/CPU0:router(config-mvrp)# periodic transmit interval 5

Related Commands

Command

Description

debug ethernet mvrp packets

Enables debugging of sent and received MVRP packets.  

debug ethernet mvrp protocol

Enables MVRP protocol debugging on a specific interface, location or vlan.  

mvrp static

Enables Multiple VLAN Registration Protocol (MVRP) in static mode.  

show ethernet mvrp mad

Displays the current state of the Multiple Registration Protocol (MRP) Attribute Declaration (MAD) component on a port.  

show ethernet mvrp statistics

Displays packet statistics per port.  

show ethernet mvrp status

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-id id [ startup-value startup-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.

Command Modes

MSTAG interface configuration, REPAG interface configuration, PVSTAG VLAN configuration, PVRSTAG VLAN configuration

Command History

Release

Modification

Release 3.7.1

This command was introduced.

Release 4.0.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.

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:

RP/0/RSP0/CPU0:router(config-mstag-if)# port-id 111

Related Commands

Command

Description

debug spanning-tree mstag packet

Enables MSTAG packet debugging.  

debug spanning-tree pvrstag packet

Enables packet debugging for sent and received PVRSTAG packets.  

debug spanning-tree pvstag packet

Enables packet debugging for sent and received PVSTAG packets.  

debug spanning-tree repag packet

Enables Resilient Ethernet Protocol (REP) Access Gateway debugging commands.  

interface (MSTAG/​REPAG)

Enter the MSTAG interface configuration submode, and enables MSTAG for the specified port.  

interface (PVSTAG/​PVRSTAG)

Enters PVST or PVRST Access Gateway Interface configuration submode and enables either PVSTAG or PVRSTAG for the specified port.  

instance (MSTAG/​REPAG)

Enters MSTAG Instance configuration mode or REPAG Instance configuration mode.  

spanning-tree mstag

Enters the MST Access Gateway configuration submode.  

spanning-tree pvrstag

Enters the Per VLAN Rapid Spanning Tree Access Gateway (PVRSTAG) configuration submode.  

spanning-tree pvstag

Enters the Per VLAN Spanning Tree Access Gateway (PVSTAG) configuration submode.  

spanning-tree repag

Enters the Resilient Ethernet Protocol Access Gateway (REPAG) configuration submode.  

show spanning-tree mstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree pvrstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree pvstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree repag

Displays the values currently used for populating the BPDUs sent by all ports.  

vlan

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.

port-priority priority [ startup-value startup-priority ]

Syntax Description

priority

Port priority. For MSTAG, REPAG and PVRSTAG, the range is between 0 to 40 in multiples of 16. For PVSTAG, the range is between 0 to 255.

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 port priority.

Command Default

If no startup-value is configured, the normal value is used during startup.

Command Modes

MSTAG instance configuration, REPAG instance configuration, PVSTAG VLAN configuration, PVRSTAG VLAN configuration

Command History

Release

Modification

Release 3.7.1

This command was introduced.

Release 4.0.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 port priority to 160:

RP/0/RSP0/CPU0:router(config-mstag-if-inst)# port-priority 160

Related Commands

Command

Description

debug spanning-tree mstag packet

Enables MSTAG packet debugging.  

debug spanning-tree pvrstag packet

Enables packet debugging for sent and received PVRSTAG packets.  

debug spanning-tree pvstag packet

Enables packet debugging for sent and received PVSTAG packets.  

debug spanning-tree repag packet

Enables Resilient Ethernet Protocol (REP) Access Gateway debugging commands.  

interface (MSTAG/​REPAG)

Enter the MSTAG interface configuration submode, and enables MSTAG for the specified port.  

interface (PVSTAG/​PVRSTAG)

Enters PVST or PVRST Access Gateway Interface configuration submode and enables either PVSTAG or PVRSTAG for the specified port.  

instance (MSTAG/​REPAG)

Enters MSTAG Instance configuration mode or REPAG Instance configuration mode.  

spanning-tree mstag

Enters the MST Access Gateway configuration submode.  

spanning-tree pvrstag

Enters the Per VLAN Rapid Spanning Tree Access Gateway (PVRSTAG) configuration submode.  

spanning-tree pvstag

Enters the Per VLAN Spanning Tree Access Gateway (PVSTAG) configuration submode.  

spanning-tree repag

Enters the Resilient Ethernet Protocol Access Gateway (REPAG) configuration submode.  

show spanning-tree mstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree pvrstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree pvstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree repag

Displays the values currently used for populating the BPDUs sent by all ports.  

vlan

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:

RP/0/RSP0/CPU0:router(config-mstp-if)# portfast 

RP/0/RSP0/CPU0:router(config-mstp-if)# portfast bpduguard

Related Commands

Command

Description

debug spanning-tree mst packet

Enables debugging for sent and received MSTP packets.  

debug spanning-tree mst protocol-state

Enables debugging protocol-state changes such as port role or state changes, topology change notification.  

interface (MSTP)

Enters the MSTP interface configuration submode, and enables STP for the specified port.  

spanning-tree mst

Enters the MSTP configuration submode  

show spanning-tree mst

Displays the multiple spanning tree protocol status information.  

preempt delay

To enable topology control and set the preempt delay on startup, use the preempt delay command in MSTAG, REPAG, PVSTAG or PVRSTAG configuration mode.

preempt delay { for time { seconds | minutes | hours } | until hh :mm :ss }

Syntax Description

for

Specifies length of time to delay preempting for in seconds, minutes or hours.

until

Specifies time to delay preempting until the mentioned interval (24-hour hh:mm:ss).

Command Default

Startup topology control is disabled.

Command Modes

MSTAG configuration, REPAG configuration, PVSTAG configuration, PVRSTAG configuration

Command History

Release

Modification

Release 3.7.1

This command was introduced.

Release 4.0.0

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

Related Commands

Command

Description

spanning-tree mstag

Enters the MST Access Gateway configuration submode.  

spanning-tree pvrstag

Enters the Per VLAN Rapid Spanning Tree Access Gateway (PVRSTAG) configuration submode.  

spanning-tree pvstag

Enters the Per VLAN Spanning Tree Access Gateway (PVSTAG) configuration submode.  

spanning-tree repag

Enters the Resilient Ethernet Protocol Access Gateway (REPAG) configuration submode.  

show spanning-tree mstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree pvrstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree pvstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree repag

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.

priority priority [ startup-value startup-priority ]

Syntax Description

priority

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.

Command Modes

MSTAG instance configuration, REPAG instance configuration, PVSTAG VLAN configuration, PVRSTAG VLAN configuration

Command History

Release

Modification

Release 3.7.1

This command was introduced.

Release 4.0.0

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:

RP/0/RSP0/CPU0:router(config-mstag-if-inst)# priority 4096 startup-value 32768

Related Commands

Command

Description

spanning-tree mstag

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.

priority priority

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:

RP/0/RSP0/CPU0:router(config-mstp-inst)# priority 8192

Related Commands

Command

Description

debug spanning-tree mst packet

Enables debugging for sent and received MSTP packets.  

debug spanning-tree mst protocol-state

Enables debugging protocol-state changes such as port role or state changes, topology change notification.  

instance (MSTP)

Enters the multiple spanning tree instance (MSTI) configuration submode.  

spanning-tree mst

Enters the MSTP configuration submode  

show spanning-tree mst

Displays the multiple spanning tree protocol status information.  

provider-bridge (MSTAG/REPAG)

To place the current instance of the protocol in 802.1ad mode, use the provider-bridge command in MSTAG or REPAG interface configuration submode.

provider-bridge

Syntax Description

This command has no keywords or arguments.

Command Default

The default value is FALSE.

Command Modes

MSTAG 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.

Task ID

Task ID

Operations

interface

read, write

Examples

The following example shows how to use the provider-bridge command:

RP/0/RSP0/CPU0:router(config-mstag-if)# provider-bridge

Related Commands

Command

Description

debug spanning-tree mstag packet

Enables MSTAG packet debugging.  

debug spanning-tree repag packet

Enables Resilient Ethernet Protocol (REP) Access Gateway debugging commands.  

interface (MSTAG/​REPAG)

Enter the MSTAG interface configuration submode, and enables MSTAG for the specified port.  

spanning-tree mstag

Enters the MST Access Gateway configuration submode.  

spanning-tree repag

Enters the Resilient Ethernet Protocol Access Gateway (REPAG) configuration submode.  

show spanning-tree mstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree repag

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:

RP/0/RSP0/CPU0:router(config-mstp)# provider-bridge

Related Commands

Command

Description

spanning-tree mst

Enters the MSTP configuration submode  

revision (MSTAG/REPAG)

To set the revision level in the BPDUs sent from this interface, use the revision command in MSTAG or REPAG interface configuration submode.

revision revision-number

Syntax Description

revision-number

Revision level of the MSTP region. Range is 0 to 65535.

Command Default

revision-number: 0

Command Modes

MSTAG 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.

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:

RP/0/RSP0/CPU0:router(config-mstag-if)# revision 1

Related Commands

Command

Description

debug spanning-tree mstag packet

Enables MSTAG packet debugging.  

debug spanning-tree repag packet

Enables Resilient Ethernet Protocol (REP) Access Gateway debugging commands.  

interface (MSTAG/​REPAG)

Enter the MSTAG interface configuration submode, and enables MSTAG for the specified port.  

spanning-tree mstag

Enters the MST Access Gateway configuration submode.  

spanning-tree repag

Enters the Resilient Ethernet Protocol Access Gateway (REPAG) configuration submode.  

show spanning-tree mstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree repag

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.

revision revision-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:

RP/0/RSP0/CPU0:router(config-mstp)# revision 10

Related Commands

Command

Description

debug spanning-tree mst packet

Enables debugging for sent and received MSTP packets.  

debug spanning-tree mst protocol-state

Enables debugging protocol-state changes such as port role or state changes, topology change notification.  

spanning-tree mst

Enters the MSTP configuration submode  

show spanning-tree mst

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-cost cost [ startup-value startup-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.

Command Modes

PVSTAG VLAN configuration, PVRSTAG VLAN 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.

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:

RP/0/RSP0/CPU0:router(config-pvrstag-if-vlan)# root-cost 1000000

Related Commands

Command

Description

debug spanning-tree pvrstag packet

Enables packet debugging for sent and received PVRSTAG packets.  

debug spanning-tree pvstag packet

Enables packet debugging for sent and received PVSTAG packets.  

interface (PVSTAG/​PVRSTAG)

Enters PVST or PVRST Access Gateway Interface configuration submode and enables either PVSTAG or PVRSTAG for the specified port.  

show spanning-tree pvrstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree pvstag

Displays the values currently used for populating the BPDUs sent by all ports.  

spanning-tree pvrstag

Enters the Per VLAN Rapid Spanning Tree Access Gateway (PVRSTAG) configuration submode.  

spanning-tree pvstag

Enters the Per VLAN Spanning Tree Access Gateway (PVSTAG) configuration submode.  

vlan

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-id id [ startup-value startup-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.

Command Modes

MSTAG instance configuration, REPAG instance configuration, PVSTAG VLAN configuration, PVRSTAG VLAN configuration

Command History

Release

Modification

Release 3.7.1

This command was introduced.

Release 4.0.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 identifier of the root bridge for BPDUs:

RP/0/RSP0/CPU0:router(config-pvstag-if-vlan)#root-id 0000.0000.0000 startup-value 0000.0000.0001

Related Commands

Command

Description

debug spanning-tree mstag packet

Enables MSTAG packet debugging.  

debug spanning-tree pvrstag packet

Enables packet debugging for sent and received PVRSTAG packets.  

debug spanning-tree pvstag packet

Enables packet debugging for sent and received PVSTAG packets.  

debug spanning-tree repag packet

Enables Resilient Ethernet Protocol (REP) Access Gateway debugging commands.  

interface (MSTAG/​REPAG)

Enter the MSTAG interface configuration submode, and enables MSTAG for the specified port.  

interface (PVSTAG/​PVRSTAG)

Enters PVST or PVRST Access Gateway Interface configuration submode and enables either PVSTAG or PVRSTAG for the specified port.  

instance (MSTAG/​REPAG)

Enters MSTAG Instance configuration mode or REPAG Instance configuration mode.  

spanning-tree mstag

Enters the MST Access Gateway configuration submode.  

spanning-tree pvrstag

Enters the Per VLAN Rapid Spanning Tree Access Gateway (PVRSTAG) configuration submode.  

spanning-tree pvstag

Enters the Per VLAN Spanning Tree Access Gateway (PVSTAG) configuration submode.  

spanning-tree repag

Enters the Resilient Ethernet Protocol Access Gateway (REPAG) configuration submode.  

show spanning-tree mstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree pvrstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree pvstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree repag

Displays the values currently used for populating the BPDUs sent by all ports.  

vlan

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.

root-priority priority [ startup-value startup-priority ]

Syntax Description

priority

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.

Command Modes

MSTAG instance configuration, REPAG instance configuration, PVSTAG VLAN configuration, PVRSTAG VLAN configuration

Command History

Release

Modification

Release 3.7.1

This command was introduced.

Release 4.0.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:

RP/0/RSP0/CPU0:router(config-pvstag-if-vlan)# root-priority 4096 startup-value 8192

Related Commands

Command

Description

debug spanning-tree mstag packet

Enables MSTAG packet debugging.  

debug spanning-tree pvrstag packet

Enables packet debugging for sent and received PVRSTAG packets.  

debug spanning-tree pvstag packet

Enables packet debugging for sent and received PVSTAG packets.  

debug spanning-tree repag packet

Enables Resilient Ethernet Protocol (REP) Access Gateway debugging commands.  

interface (MSTAG/​REPAG)

Enter the MSTAG interface configuration submode, and enables MSTAG for the specified port.  

interface (PVSTAG/​PVRSTAG)

Enters PVST or PVRST Access Gateway Interface configuration submode and enables either PVSTAG or PVRSTAG for the specified port.  

instance (MSTAG/​REPAG)

Enters MSTAG Instance configuration mode or REPAG Instance configuration mode.  

spanning-tree mstag

Enters the MST Access Gateway configuration submode.  

spanning-tree pvrstag

Enters the Per VLAN Rapid Spanning Tree Access Gateway (PVRSTAG) configuration submode.  

spanning-tree pvstag

Enters the Per VLAN Spanning Tree Access Gateway (PVSTAG) configuration submode.  

spanning-tree repag

Enters the Resilient Ethernet Protocol Access Gateway (REPAG) configuration submode.  

show spanning-tree mstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree pvrstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree pvstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree repag

Displays the values currently used for populating the BPDUs sent by all ports.  

vlan

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.

show ethernet mvrp mad [brief] [ interface interface-name ] [ vlan vlan-id ]

Syntax Description

brief

(Optional) Displays a brief view.

interface

(Optional) Displays the MVRP state for the given subinterface or base interface name.

interface-name

(Optional) Displays the interface name.

vlan vlan-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    

Related Commands

Command

Description

debug ethernet mvrp packets

Enables debugging of sent and received MVRP packets.  

debug ethernet mvrp protocol

Enables MVRP protocol debugging on a specific interface, location or vlan.  

mvrp static

Enables Multiple VLAN Registration Protocol (MVRP) in static mode.  

show ethernet mvrp statistics

Displays packet statistics per port.  

show ethernet mvrp status

Displays a summary of the VIDs that are declared or registered.  

show ethernet mvrp statistics

To display packet statistics per port, use the show ethernet mvrp statistics command in EXEC mode.

show ethernet mvrp statistics [ interface type interface-path-id ]

Syntax Description

interface

(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:

RP/0/RSP0/CPU0:router# show ethernet mvrp statistics interface GigabitEthernet 0/1/0/1
GigabitEthernet0/1/0/1
  MVRPDUs TX:    1245
  MVRPDUs RX:       7
  Dropped TX:       0
  Dropped RX:      42
  Invalid RX:      12

Related Commands

Command

Description

debug ethernet mvrp packets

Enables debugging of sent and received MVRP packets.  

debug ethernet mvrp protocol

Enables MVRP protocol debugging on a specific interface, location or vlan.  

mvrp static

Enables Multiple VLAN Registration Protocol (MVRP) in static mode.  

show ethernet mvrp mad

Displays the current state of the Multiple Registration Protocol (MRP) Attribute Declaration (MAD) component on a port.  

show ethernet mvrp status

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.

show ethernet mvrp status [ interface type interface-path-id ]

Syntax Description

interface

(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

Related Commands

Command

Description

debug ethernet mvrp packets

Enables debugging of sent and received MVRP packets.  

debug ethernet mvrp protocol

Enables MVRP protocol debugging on a specific interface, location or vlan.  

mvrp static

Enables Multiple VLAN Registration Protocol (MVRP) in static mode.  

show ethernet mvrp mad

Displays the current state of the Multiple Registration Protocol (MRP) Attribute Declaration (MAD) component on a port.  

show ethernet mvrp statistics

Displays packet statistics per port.  

show l2vpn mstp port

To display the internal MSTI number and number of ports for each VLAN, use the show l2vpn mstp port command in EXEC mode.

show l2vpn mstp port [ interface type interface-path-id ] [ msti value ]

Syntax Description

interface

(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.

msti value

(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

Related Commands

Command

Description

spanning-tree mst

Enters the MSTP configuration submode  

spanning-tree mstag

Enters the MST Access Gateway configuration submode.  

spanning-tree pvrstag

Enters the Per VLAN Rapid Spanning Tree Access Gateway (PVRSTAG) configuration submode.  

spanning-tree pvstag

Enters the Per VLAN Spanning Tree Access Gateway (PVSTAG) configuration submode.  

spanning-tree mst

Enters the MSTP configuration submode  

spanning-tree mstag

Enters the MST Access Gateway configuration submode.  

show l2vpn mstp vlan

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.

show l2vpn mstp vlan [ interface type interface-path-id ] [ msti value ] [ vlan-id value ]

Syntax Description

interface

(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.

msti value

(Optional) Displays the filter for Multiple Spanning Tree Instance (MSTI). The range is from 0 to 100.

vlan-id value

(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:

RP/0/RSP0/CPU0:router# show l2vpn mstp vlan interface gigabitethernet 0/1/0/0 msti 5 vlan-id 5

Related Commands

Command

Description

spanning-tree mst

Enters the MSTP configuration submode  

spanning-tree mstag

Enters the MST Access Gateway configuration submode.  

spanning-tree pvrstag

Enters the Per VLAN Rapid Spanning Tree Access Gateway (PVRSTAG) configuration submode.  

spanning-tree pvstag

Enters the Per VLAN Spanning Tree Access Gateway (PVSTAG) configuration submode.  

spanning-tree mst

Enters the MSTP configuration submode  

spanning-tree mstag

Enters the MST Access Gateway configuration submode.  

show l2vpn mstp port

Displays the internal MSTI number and number of ports for each VLAN.  

show spanning-tree mst

To display the multiple spanning tree protocol status information, use the show spanning-tree mst command in EXEC mode.

show spanning-tree mst protocol instance identifier [ instance instance-id ] [ blocked-ports | brief ]

Syntax Description

protocol instance identifier

String of a maximum of 25 characters that identifies the protocol instance.

instance instance-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 
...

Related Commands

Command

Description

debug spanning-tree mst packet

Enables debugging for sent and received MSTP packets.  

debug spanning-tree mst protocol-state

Enables debugging protocol-state changes such as port role or state changes, topology change notification.  

show l2vpn mstp port

Displays the internal MSTI number and number of ports for each VLAN.  

show l2vpn mstp vlan

Displays the Multiple Spanning Tree Protocol (MSTP) state for the virtual local area network (VLAN) on a given interface.  

show spanning-tree mst bpdu interface

Displays the contents of MSTP BPDUs being sent and received on a particular interface.  

show spanning-tree mst configuration

Displays the VLAN ID to MSTI mapping table.  

show spanning-tree mst errors

Displays information about misconfiguration affecting MSTP.  

show spanning-tree mst interface

Displays detailed information on the interface state.  

show spanning-tree mst topology-change flushes

Displays details of the last topology change that occurred for each pair of port and instance.  

spanning-tree mst

Enters the MSTP configuration submode  

show spanning-tree mst bpdu interface

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.

show spanning-tree mst protocol instance identifier bpdu interface type interface-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
...

Related Commands

Command

Description

debug spanning-tree mst packet

Enables debugging for sent and received MSTP packets.  

debug spanning-tree mst protocol-state

Enables debugging protocol-state changes such as port role or state changes, topology change notification.  

show l2vpn mstp port

Displays the internal MSTI number and number of ports for each VLAN.  

show l2vpn mstp vlan

Displays the Multiple Spanning Tree Protocol (MSTP) state for the virtual local area network (VLAN) on a given interface.  

show spanning-tree mst

Displays the multiple spanning tree protocol status information.  

show spanning-tree mst configuration

Displays the VLAN ID to MSTI mapping table.  

show spanning-tree mst errors

Displays information about misconfiguration affecting MSTP.  

show spanning-tree mst interface

Displays detailed information on the interface state.  

show spanning-tree mst topology-change flushes

Displays details of the last topology change that occurred for each pair of port and instance.  

spanning-tree mst

Enters the MSTP configuration submode  

show spanning-tree mst configuration

To display the VLAN ID to MSTI mapping table, use the show spanning-tree mst configuration command in the EXEC mode.

show spanning-tree mst protocol instance identifier configuration

Syntax Description

protocol instance identifier

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
------------------------------------------

Related Commands

Command

Description

debug spanning-tree mst packet

Enables debugging for sent and received MSTP packets.  

debug spanning-tree mst protocol-state

Enables debugging protocol-state changes such as port role or state changes, topology change notification.  

show l2vpn mstp port

Displays the internal MSTI number and number of ports for each VLAN.  

show l2vpn mstp vlan

Displays the Multiple Spanning Tree Protocol (MSTP) state for the virtual local area network (VLAN) on a given interface.  

show spanning-tree mst

Displays the multiple spanning tree protocol status information.  

show spanning-tree mst bpdu interface

Displays the contents of MSTP BPDUs being sent and received on a particular interface.  

show spanning-tree mst errors

Displays information about misconfiguration affecting MSTP.  

show spanning-tree mst interface

Displays detailed information on the interface state.  

show spanning-tree mst topology-change flushes

Displays details of the last topology change that occurred for each pair of port and instance.  

spanning-tree mst

Enters the MSTP configuration submode  

show spanning-tree mst errors

To display information about misconfiguration affecting MSTP, use the show spanning-tree mst errors in the EXEC mode.

show spanning-tree mst protocol instance identifier errors

Syntax Description

protocol instance identifier

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.

Related Commands

Command

Description

debug spanning-tree mst packet

Enables debugging for sent and received MSTP packets.  

debug spanning-tree mst protocol-state

Enables debugging protocol-state changes such as port role or state changes, topology change notification.  

show l2vpn mstp port

Displays the internal MSTI number and number of ports for each VLAN.  

show l2vpn mstp vlan

Displays the Multiple Spanning Tree Protocol (MSTP) state for the virtual local area network (VLAN) on a given interface.  

show spanning-tree mst

Displays the multiple spanning tree protocol status information.  

show spanning-tree mst bpdu interface

Displays the contents of MSTP BPDUs being sent and received on a particular interface.  

show spanning-tree mst configuration

Displays the VLAN ID to MSTI mapping table.  

show spanning-tree mst interface

Displays detailed information on the interface state.  

show spanning-tree mst topology-change flushes

Displays details of the last topology change that occurred for each pair of port and instance.  

spanning-tree mst

Enters the MSTP configuration submode  

show spanning-tree mst interface

To display detailed information on the interface state, use the show spanning-tree mst interface command in EXEC mode.

show spanning-tree mst protocol instance identifier interface type interface-path-id [ instance id ]

Syntax Description

protocol instance identifier

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.

instance id

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)
  • State transitions to reach this state.
  • Topology changes to reach this state.
Flush containment status for this MSTI.

Related Commands

Command

Description

debug spanning-tree mst packet

Enables debugging for sent and received MSTP packets.  

debug spanning-tree mst protocol-state

Enables debugging protocol-state changes such as port role or state changes, topology change notification.  

show l2vpn mstp port

Displays the internal MSTI number and number of ports for each VLAN.  

show l2vpn mstp vlan

Displays the Multiple Spanning Tree Protocol (MSTP) state for the virtual local area network (VLAN) on a given interface.  

show spanning-tree mst

Displays the multiple spanning tree protocol status information.  

show spanning-tree mst bpdu interface

Displays the contents of MSTP BPDUs being sent and received on a particular interface.  

show spanning-tree mst configuration

Displays the VLAN ID to MSTI mapping table.  

show spanning-tree mst errors

Displays information about misconfiguration affecting MSTP.  

show spanning-tree mst topology-change flushes

Displays details of the last topology change that occurred for each pair of port and instance.  

spanning-tree mst

Enters the MSTP configuration submode  

show spanning-tree mst 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 mst topology-change flushes command in the EXEC mode.

show spanning-tree mst protocol instance identifier topology-change flushes [ instance id ] [ interface type interface-path-id | latest ]

Syntax Description

protocol instance identifier

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.

instance id

Instance for which information needs to be displayed.

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.


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
#
#

Related Commands

Command

Description

debug spanning-tree mst packet

Enables debugging for sent and received MSTP packets.  

debug spanning-tree mst protocol-state

Enables debugging protocol-state changes such as port role or state changes, topology change notification.  

show l2vpn mstp port

Displays the internal MSTI number and number of ports for each VLAN.  

show l2vpn mstp vlan

Displays the Multiple Spanning Tree Protocol (MSTP) state for the virtual local area network (VLAN) on a given interface.  

show spanning-tree mst

Displays the multiple spanning tree protocol status information.  

show spanning-tree mst bpdu interface

Displays the contents of MSTP BPDUs being sent and received on a particular interface.  

show spanning-tree mst configuration

Displays the VLAN ID to MSTI mapping table.  

show spanning-tree mst errors

Displays information about misconfiguration affecting MSTP.  

show spanning-tree mst interface

Displays detailed information on the interface state.  

spanning-tree mst

Enters the MSTP configuration submode  

show spanning-tree mstag

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.

show spanning-tree mstag protocol instance identifier

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:

RP/0/RSP0/CPU0:router# show spanning-tree mstag A
GigabitEthernet0/0/0/1
  Preempt delay is disabled.
  Name:            6161:6161:6161
  Revision:        0
  Max Age:         20
  Provider Bridge: no
  Bridge ID:       6161.6161.6161
  Port ID:         1
  External Cost:   0
  Hello Time:      2
  Active:          no
  BPDUs sent:      0
    MSTI 0 (CIST):
    VLAN IDs:         1-9,32-39,41-4094
    Role:             Designated
    Bridge Priority:  32768
    Port Priority:    128
    Cost:             0
    Root Bridge:      6161.6161.6161
    Root Priority:    32768
    Topology Changes: 123
  MSTI 2
    VLAN IDs:         10-31
    Role:             Designated
    Bridge Priority:  32768
    Port Priority:    128
    Cost:             0
    Root Bridge:      6161.6161.6161
    Root Priority:    32768
    Topology Changes: 123
  MSTI 10
	VLAN IDs:         40
    Role:             Root (Edge mode)
    Bridge Priority:  32768
    Port Priority:    128
    Cost:             200000000
    Root Bridge:      6161.6161.6161
    Root Priority:    61440
    Topology Changes: 0

Related Commands

Command

Description

debug spanning-tree mstag packet

Enables MSTAG packet debugging.  

show spanning-tree mstag bpdu interface

Displays the content of the BPDUs being sent from this interface.  

show spanning-tree mstag topology-change flushes

Displays details of the last topology change that occurred for each pair of port and instance.  

spanning-tree mstag

Enters the MST Access Gateway configuration submode.  

show spanning-tree mstag bpdu interface

To view the content of the BPDUs being sent from this interface, use the show spanning-tree mstag bpdu interface command in the EXEC mode.

show spanning-tree mstag protocol instance identifier bpdu interface type interface-path-id

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.

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:

RP/0/RSP0/CPU0:router#show spanning-tree mstag foo bpdu interface GigabitEthernet 0/0/0/0
Transmitted:
  MSTI 0 (CIST):
ProtocolIdentifier: 0
ProtocolVersionIdentifier: 3
BPDUType: 2
CISTFlags: Top Change Ack  0
           Agreement       1
           Forwarding      1
           Learning        1
           Role            3
           Proposal        0
           Topology Change 0
CISTRootIdentifier: priority 8, MSTI 0, address 6969.6969.6969
CISTExternalPathCost: 0
CISTRegionalRootIdentifier: priority 8, MSTI 0, address 6969.6969.6969
CISTPortIdentifierPriority: 8
CISTPortIdentifierId: 1
MessageAge: 0
MaxAge: 20
HelloTime: 2
ForwardDelay: 15
Version1Length: 0
Version3Length: 80
FormatSelector: 0
Name: 6969:6969:6969
Revision: 0
MD5Digest: ac36177f 50283cd4 b83821d8 ab26de62
CISTInternalRootPathCost: 0
CISTBridgeIdentifier: priority 8, MSTI 0, address 6969.6969.6969
CISTRemainingHops: 20
  MSTI 1:
MSTIFlags: Master          0
           Agreement       1
           Forwarding      1
           Learning        1
           Role            3
           Proposal        0
           Topology Change 0
MSTIRegionalRootIdentifier: priority 8, MSTI 1, address 6969.6969.6969
MSTIInternalRootPathCost: 0
MSTIBridgePriority: 1
MSTIPortPriority: 8
MSTIRemainingHops: 20

Related Commands

Command

Description

debug spanning-tree mstag packet

Enables MSTAG packet debugging.  

show spanning-tree mstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree mstag topology-change flushes

Displays details of the last topology change that occurred for each pair of port and instance.  

spanning-tree mstag

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.


show spanning-tree mstag protocol instance identifier topology-change flushes [ instance id ] [ interface type interface-path-id | latest ]

Syntax Description

protocol instance identifier

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

Related Commands

Command

Description

debug spanning-tree mstag packet

Enables MSTAG packet debugging.  

show spanning-tree mstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree mstag bpdu interface

Displays the content of the BPDUs being sent from this interface.  

spanning-tree mstag

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.

show spanning-tree pvrstag protocol instance identifier [ interface type interface-path-id ]

Syntax Description

protocol instance identifier

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

Related Commands

Command

Description

debug spanning-tree pvrstag packet

Enables packet debugging for sent and received PVRSTAG packets.  

spanning-tree pvrstag

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.

show spanning-tree pvstag protocol instance identifier [ interface type interface-path-id ]

Syntax Description

protocol instance identifier

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.

show spanning-tree repag protocol instance identifier [ interface type interface-path-id ] [brief]

Syntax Description

protocol instance identifier

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

Related Commands

Command

Description

debug spanning-tree repag packet

Enables Resilient Ethernet Protocol (REP) Access Gateway debugging commands.  

show spanning-tree repag bpdu interface

Displays BPDU information from root (bridge ID, cost, and priority) and the BPDU information being sent on the port.  

show spanning-tree repag topology-change flushes

Displays details of the last topology change that occurred for each pair of port and instance.  

spanning-tree repag

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.

show spanning-tree repag protocol instance identifier [ bpdu interface type interface-path-id ]

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.

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:

RP/0/RSP0/CPU0:router#show spanning-tree mstag foo bpdu interface GigabitEthernet 0/0/0/0
Transmitted:
  MSTI 0 (CIST):
ProtocolIdentifier: 0
ProtocolVersionIdentifier: 3
BPDUType: 2
CISTFlags: Top Change Ack  0
           Agreement       1
           Forwarding      1
           Learning        1
           Role            3
           Proposal        0
           Topology Change 0
CISTRootIdentifier: priority 8, MSTI 0, address 6969.6969.6969
CISTExternalPathCost: 0
CISTRegionalRootIdentifier: priority 8, MSTI 0, address 6969.6969.6969
CISTPortIdentifierPriority: 8
CISTPortIdentifierId: 1
MessageAge: 0
MaxAge: 20
HelloTime: 2
ForwardDelay: 15
Version1Length: 0
Version3Length: 80
FormatSelector: 0
Name: 6969:6969:6969
Revision: 0
MD5Digest: ac36177f 50283cd4 b83821d8 ab26de62
CISTInternalRootPathCost: 0
CISTBridgeIdentifier: priority 8, MSTI 0, address 6969.6969.6969
CISTRemainingHops: 20
  MSTI 1:
MSTIFlags: Master          0
           Agreement       1
           Forwarding      1
           Learning        1
           Role            3
           Proposal        0
           Topology Change 0
MSTIRegionalRootIdentifier: priority 8, MSTI 1, address 6969.6969.6969
MSTIInternalRootPathCost: 0
MSTIBridgePriority: 1
MSTIPortPriority: 8
MSTIRemainingHops: 20

Related Commands

Command

Description

debug spanning-tree repag packet

Enables Resilient Ethernet Protocol (REP) Access Gateway debugging commands.  

show spanning-tree repag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree repag topology-change flushes

Displays details of the last topology change that occurred for each pair of port and instance.  

spanning-tree repag

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.


show spanning-tree repag protocol instance identifier topology-change flushes [ instance id ] [ interface type interface-path-id | latest ]

Syntax Description

protocol instance identifier

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 :

RP/0/RSP0/CPU0:router#show spanning-tree repag 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

Related Commands

Command

Description

debug spanning-tree repag packet

Enables Resilient Ethernet Protocol (REP) Access Gateway debugging commands.  

show spanning-tree repag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree repag bpdu interface

Displays BPDU information from root (bridge ID, cost, and priority) and the BPDU information being sent on the port.  

spanning-tree repag

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-tree mst protocol instance identifier

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:

RP/0/RSP0/CPU0:router(config)# spanning-tree mst a
RP/0/RSP0/CPU0:router(config-mstp)#

Related Commands

Command

Description

debug spanning-tree mst packet

Enables debugging for sent and received MSTP packets.  

debug spanning-tree mst protocol-state

Enables debugging protocol-state changes such as port role or state changes, topology change notification.  

instance (MSTP)

Enters the multiple spanning tree instance (MSTI) configuration submode.  

interface (MSTP)

Enters the MSTP interface configuration submode, and enables STP for the specified port.  

mvrp static

Enables Multiple VLAN Registration Protocol (MVRP) in static mode.  

show spanning-tree mst

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-tree mstag protocol instance identifier

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:

RP/0/RSP0/CPU0:router(config)# spanning-tree mstag a
RP/0/RSP0/CPU0:router(config-mstag)#

Related Commands

Command

Description

debug spanning-tree mstag packet

Enables MSTAG packet debugging.  

interface (MSTAG/​REPAG)

Enter the MSTAG interface configuration submode, and enables MSTAG for the specified port.  

instance (MSTAG/​REPAG)

Enters MSTAG Instance configuration mode or REPAG Instance configuration mode.  

show spanning-tree mstag

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-tree pvrstag protocol instance identifier

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:

RP/0/RSP0/CPU0:router(config)# spanning-tree pvrstag a
RP/0/RSP0/CPU0:router(config-pvrstag)#

Related Commands

Command

Description

debug spanning-tree pvrstag packet

Enables packet debugging for sent and received PVRSTAG packets.  

interface (PVSTAG/​PVRSTAG)

Enters PVST or PVRST Access Gateway Interface configuration submode and enables either PVSTAG or PVRSTAG for the specified port.  

show spanning-tree pvrstag

Displays the values currently used for populating the BPDUs sent by all ports.  

vlan

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-tree pvstag protocol instance identifier

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:

RP/0/RSP0/CPU0:router(config)# spanning-tree pvstag a
RP/0/RSP0/CPU0:router(config-pvstag)#

Related Commands

Command

Description

debug spanning-tree pvstag packet

Enables packet debugging for sent and received PVSTAG packets.  

interface (PVSTAG/​PVRSTAG)

Enters PVST or PVRST Access Gateway Interface configuration submode and enables either PVSTAG or PVRSTAG for the specified port.  

show spanning-tree pvstag

Displays the values currently used for populating the BPDUs sent by all ports.  

vlan

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-tree repag protocol instance identifier

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:

RP/0/RSP0/CPU0:router(config)# spanning-tree repag a
RP/0/RSP0/CPU0:router(config-repag)#

Related Commands

Command

Description

debug spanning-tree repag packet

Enables Resilient Ethernet Protocol (REP) Access Gateway debugging commands.  

interface (MSTAG/​REPAG)

Enter the MSTAG interface configuration submode, and enables MSTAG for the specified port.  

instance (MSTAG/​REPAG)

Enters MSTAG Instance configuration mode or REPAG Instance configuration mode.  

show spanning-tree repag

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.

transmit hold-count count

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:

RP/0/RSP0/CPU0:router(config)# spanning-tree mst A
RP/0/RSP0/CPU0:router(config-mstp)# transmit hold-count 8

Related Commands

Command

Description

debug spanning-tree mst packet

Enables debugging for sent and received MSTP packets.  

debug spanning-tree mst protocol-state

Enables debugging protocol-state changes such as port role or state changes, topology change notification.  

spanning-tree mst

Enters the MSTP configuration submode  

show spanning-tree mst

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.

vlan vlan-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.

Command Default

None

Command Modes

PVRSTAG interface configuration, PVSTAG interface 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.

Task ID

Task ID

Operations

ethernet-services

read, write

Examples

The following example shows how to enable a VLAN in the PVSTAG configuration mode:

RP/0/RSP0/CPU0:router(config)# spanning-tree pvstag A
RP/0/RSP0/CPU0:router(config-pvstag)# interface GigabitEthernet 0/3/03
RP/0/RSP0/CPU0:router(config-pvstag-if)# vlan 100
RP/0/RSP0/CPU0:router(config-pvstag-if-vlan)#

Related Commands

Command

Description

debug spanning-tree pvrstag packet

Enables packet debugging for sent and received PVRSTAG packets.  

debug spanning-tree pvstag packet

Enables packet debugging for sent and received PVSTAG packets.  

interface (PVSTAG/​PVRSTAG)

Enters PVST or PVRST Access Gateway Interface configuration submode and enables either PVSTAG or PVRSTAG for the specified port.  

show spanning-tree pvrstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree pvstag

Displays the values currently used for populating the BPDUs sent by all ports.  

spanning-tree pvrstag

Enters the Per VLAN Rapid Spanning Tree Access Gateway (PVRSTAG) configuration submode.  

spanning-tree pvstag

Enters the Per VLAN Spanning Tree Access Gateway (PVSTAG) configuration submode.  

vlan-ids (MSTAG/REPAG)

To associate a set of VLAN IDs with the current MSTI, use the vlan-id command in MSTAG or REPAG instance configuration submode.

vlan-id vlan-range [vlan-range] [vlan-range] [vlan-range]

Syntax Description

vlan-range

List of VLAN ranges in the form a-b, c, d, e-f, g etc.

Command Default

None

Command Modes

MSTAG Instance configuration mode, REPAG Instance configuration mode.

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:

RP/0/RSP0/CPU0:router(config-mstag-inst)# vlan-id 2-1005

Related Commands

Command

Description

debug spanning-tree mstag packet

Enables MSTAG packet debugging.  

debug spanning-tree repag packet

Enables Resilient Ethernet Protocol (REP) Access Gateway debugging commands.  

interface (MSTAG/​REPAG)

Enter the MSTAG interface configuration submode, and enables MSTAG for the specified port.  

instance (MSTAG/​REPAG)

Enters MSTAG Instance configuration mode or REPAG Instance configuration mode.  

spanning-tree mstag

Enters the MST Access Gateway configuration submode.  

spanning-tree repag

Enters the Resilient Ethernet Protocol Access Gateway (REPAG) configuration submode.  

show spanning-tree mstag

Displays the values currently used for populating the BPDUs sent by all ports.  

show spanning-tree repag

Displays the values currently used for populating the BPDUs sent by all ports.  

vlan-id (MSTP)

To associate a set of VLAN IDs with the current MSTI, use the vlan-id command in MSTI configuration submode.

vlan-id vlan-range [vlan-range] [vlan-range] [vlan-range]

Syntax Description

vlan-range

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:

RP/0/RSP0/CPU0:router(config-mstp-inst)# vlan-id 2-1005

Related Commands

Command

Description

debug spanning-tree mst packet

Enables debugging for sent and received MSTP packets.  

debug spanning-tree mst protocol-state

Enables debugging protocol-state changes such as port role or state changes, topology change notification.  

instance (MSTP)

Enters the multiple spanning tree instance (MSTI) configuration submode.  

spanning-tree mst

Enters the MSTP configuration submode  

show spanning-tree mst

Displays the multiple spanning tree protocol status information.