22 spanning-tree cost-format, 23 spanning-tree mst loopguard, 21 spanning-tree cost-format -110 – PLANET WGSW-52040 User Manual

Page 341: 22 spanning-tree mst loopguard -110

Advertising
background image

19-110

19.1.22 spanning-tree cost-format

Command:

spanning-tree cost-format {dot1d | dot1t}

Function:

In global mode, users can select path-cost format with dot1d or dot1t, the default format is dot1t.

Command Mode:

Global mode.

Default:

count path-cost with dot1t format.

Usage Guide:

There are two formats about cost value: they are dot1d marked on IEEE802.1d-2008 and dot1t marked on

IEEE802.1t, but path-cost ranges of them are different, dot1d range from 1 to 65535, and dot1t range from 1 to

200,000,000.

If users already configured the cost value of link with spanning-tree cost command manually, changing path-cost

format with cost-format command is successful after the previous configuration is cleared only.

Example:

Set the cost format in global mode

Switch(config)#spanning-tree cost-format dot1d

19.1.23 spanning-tree mst loopguard

Command:

spanning-tree [mst <instance-id>] loopguard

no spanning-tree [mst <instance-id>] loopguard

Function:

Enable the loopguard function for specified instance, the no command disables this function.

Parameter:

<instance-id>: MSTP instance ID.

Advertising