set spantree adminpathcost
6-36 Spanning Tree Configuration
Example
Thisî ±exampleî ±showsî ±howî ±toî ±displayî ±theî ±adminî ±pathî ±costî ±forî ±ge.3.4î ±onî ±SIDî ±1:
D2(su)->show spantree adminpathcost port ge.3.4 sid 1
Port ge.3.4 has a Port Admin Path Cost of 0 on SID 1
set spantree adminpathcost
Useî ±thisî ±commandî ±toî ±setî ±theî ±administrativeî ±pathî ±costî ±onî ±aî ±portî ±andî ±oneî ±orî ±moreî ±Spanningî ±Trees.
Syntax
set spantree adminpathcost port-string cost [sid sid]
Parameters
Defaults
Ifî ±sidî ±isî ±notî ±specified,î ±adminî ±pathî ±costî ±willî ±beî ±setî ±forî ±Spanningî ±Treeî ±0.
Mode
Switchî ±command,î ±readâwrite.
Example
Thisî ±exampleî ±showsî ±howî ±toî ±setî ±theî ±adminî ±pathî ±costî ±toî ±200î ±forî ±ge.3.2î ±onî ±SIDî ±1:
D2(su)->set spantree adminpathcost ge.3.2 200 sid 1
clear spantree adminpathcost
Useî ±thisî ±commandî ±toî ±resetî ±theî ±Spanningî ±Treeî ±defaultî ±valueî ±forî ±portî ±adminî ±pathî ±costî ±toî ±0.
Syntax
clear spantree adminpathcost port-string [sid sid]
Parameters
portâstring Specifiesî ±theî ±port(s)î ±onî ±whichî ±toî ±setî ±anî ±adminî ±pathî ±cost.î ±Forî ±aî ±detailedî ±
descriptionî ±ofî ±possibleî ±portâstringî ±values,î ±referî ±toî ±âPortî ±Stringî ±Syntaxî ±Usedî ±
inî ±theî ±CLIâî ±onî ±page 4â1.
cost Specifiesî ±theî ±portî ±pathî ±cost.î ±Va1idî ±valuesî ±areî ±0î ±âî ±200000000.
sidî ±sid (Optional)î ±Setsî ±theî ±adminî ±pathî ±
costî ±forî ±aî ±specificî ±Spanningî ±Treeî ±identifier.î ±
Validî ±valuesî ±areî ±0î ±âî ±4094.î ±Ifî ±notî ±specified,î ±SIDî ±0î ±willî ±beî ±assumed.
portâstring Specifiesî ±theî ±port(s)î ±forî ±whichî ±toî ±resetî ±adminî ±pathî ±cost.î ±Forî ±aî ±detailedî ±
descriptionî ±ofî ±possibleî ±portâstringî ±values,î ±referî ±toî ±âPortî ±Stringî ±Syntaxî ±
Usedî ±inî ±theî ±CLIâî ±onî ±page 4â1.
sidî ±sid (Optional)î ±Resetsî ±theî ±adminî ±pathî ±costî ±forî ±specificî ±Spanning î ±Tree(s).î ±
Validî ±valuesî ±areî ±0î ±âî ±4094.î ±If
î ±notî ±specified,î ±SIDî ±0î ±isî ±assumed.