21 spanning-tree force-version – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 144

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 144 of 855

Examples

Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# spanning-tree guard root

Related Commands

7.21 spanning-tree force-version

Use this command to specify the version. A version identifier of less than a value of 2 enforces the
spanning tree protocol. Although the command supports an input range of 0-3, for RSTP, the valid
range is 0-2. Use the no parameter with this command to set the default protocol version.


Command Syntax

spanning-tree force-version number
no spanning-tree force-version

number

Version identifier. (0 - STP, 1- Not supported, 2 - RSTP, 3 - MSTP)


Command Mode

Interface mode

Default

Usage

Examples

Set the value to enforce the spanning tree protocol:
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# spanning-tree force-version 1
Set the default protocol version:
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# no spanning-tree force-version

Related Commands

Advertising