hardware smt

Enables or disables simultaneous multithreading (SMT).

Syntax

hardware smt { enable | disable }

Command Default

By default, SMT is enabled.

Parameters

enable
Enables SMT.
disable
Disables SMT.

Modes

Privileged EXEC mode

Usage Guidelines

SMT is a performance optimization mechanism deployed by Intel processors. To help mitigate security vulnerabilities related to SMT, use the hardware smt command to enable or disable SMT.

By enabling SMT, you disable the security mitigation in favor of better performance. By disabling SMT, you enable the security mitigation.

You need to restart the device to enable changes. A warning message in the CLI reminds you to do so.

This command is supported only on devices based on the Broadcom DNX chipset family. For a list of such devices, see the Supported Hardware topic.

Examples

This example enables SMT.

device# hardware smt enable
Warning: Please reload the switch to activate the new SMT setting.

This example disables SMT.

device# hardware smt disable
Warning: Performance will be impacted with SMT disabled.
Warning: Please reload the switch to activate the new SMT setting.