Configures the MSTP name for the device.

mstp name name
no mstp name name

The default name for the device is blank (no name).

name
The MSTP name for the device.

Global configuration mode

Each switch that is running MSTP should be configured with a name. The name applies to the switch that can have many different VLANs that can belong to many different MSTP regions.

The no form of the command resets the MSTP name to blank (no name).

The following example configures the MSTP name as Device1.

device(config)# mstp name Device1