Configuring Ethernet MSTP MSTI

Use the following procedure to configure the Ethernet MSTP MSTI parameters on a port.

Procedure

  1. Enter GigabitEthernet Interface Configuration mode:

    enable

    configure terminal

    interface GigabitEthernet {slot/port[/sub-port][-slot/port[/sub-port]][,...]}

    Note

    Note

    If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

  2. Configure Ethernet MSTP MSTI:

    spanning-tree mstp msti <1-63> [cost <1–200000000>] [force-port-state enable] [port {slot/port[/sub-port][-slot/port[/sub-port]][,...]}] [priority <0–240>]

Example

Configure Ethernet MSTP MSTI:

Switch(config-if)# spanning-tree mstp msti 62 priority 32

Variable definitions

Use the data in the following table to use the spanning-tree mstp msti <1-63> command.

Table 1. Variable definitions

Variable

Value

<1–63>

Specifies the instance ID.

cost <1–200000000>

Configures the path cost for the port

force-port-state enable

Enables MSTI learning for the port.

{slot/port[/sub-port][-slot/port[/sub-port]][,...]}

Identifies the slot and port in one of the following formats: a single slot and port (slot/port), a range of slots and ports (slot/port-slot/port), or a series of slots and ports (slot/port,slot/port,slot/port). If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

priority <0–240>

Configures the priority for the port. Enter the priority value (0–240) as increments of 16.