# Root Guard

Port > Configure > Spanning Tree > Root Guard

From the Root Guard dialog box, you can disallow a switch port from becoming the root port in STP.

To view the definition for a particular MIB variable, click the appropriate link from the following list:

- Root Guard Capability (stpxRootGuardConfigEnabled)

- MST Instance Number (0..15) (stpxRootInconsistencyIndex)

- MISTP Instance Number (1..16) (stpxRootInconsistencyIndex)

- VLAN Number (1..4095) (stpxRootInconsistencyIndex)

- Module Number (moduleIndex)

- Port Number (portIndex)

- Inconsistency State (stpxRootInconsistencyState)

Do one of the following:

- Click Apply to save the changes made in the dialog box.

- Click Find Inconsistency to find root inconsistencies based on the combination of the VLAN Number, Module Number, and Port Number values.

- Click Cancel to close the dialog box.

- Click Print to print the contents of the dialog box.

- Click Help to access online help.

Root Guard Capability (stpxRootGuardConfigEnabled)

Shows whether RootGuard capability is enabled on port.

Note: Root Guard cannot be enabled if Uplink Guard is enabled. However, it can be enabled when Loop Guard is not enabled.

MST Instance Number (0..15) (stpxRootInconsistencyIndex)

Number of MST instances supported by device when value of stpxSpanningTreeType is mst(4). Valid values for this object range from 0 to 15.

MISTP Instance Number (1..16) (stpxRootInconsistencyIndex)

Number of MISTP instances supported by device when value of stpxSpanningTreeType is mistp(2) or mistpPvstPlus(3). Valid values for this object range from 1 to 16.

VLAN Number (1..4095) (stpxRootInconsistencyIndex)

The VLAN ID if the object value of stpxSpanningTreeType is pvstPlus(1). Valid values for this object range from 1 to 4095.

Note: Depending on the Spanning Tree type, CiscoView will display either MST Instance Number, MISTP Instance Number, or VLAN Number.

Module Number (moduleIndex)

Module number of the port.

Port Number (portIndex)

Port number.

Inconsistency State (stpxRootInconsistencyState)

Indicates whether the port on a particular VLAN or MISTP instance is in root-inconsistent state.