show spantree adminpathcost
SecureStack C2 Configuration Guide 9-37
show spantree adminpathcost
Useî ±thisî ±commandî ±toî ±displayî ±theî ±adminî ±pathî ±costî ±forî ±aî ±portî ±onî ±oneî ±orî ±moreî ±Spanningî ±Trees.î ±
Syntax
show spantree adminpathcost [port port-string] [sid sid]
Parameters
Defaults
Ifî ±portâstringî ±isî ±notî ±specified,î ±adminî ±pathî ±costî ±forî ±allî ±Spanningî ±Treeî ±portsî ±willî ±beî ±displayed.
Ifî ±sidî ±isî ±notî ±specified,î ±adminî ±pathî ±costî ±forî ±Spanningî ±Treeî ±0î ±willî ±beî ±displayed.
Mode
Switchî ±command,î ±readâonly.
Example
Thisî ±exampleî ±showsî ±howî ±toî ±displayî ±theî ±adminî ±pathî ±costî ±forî ±ge.3.4î ±onî ±SIDî ±1:
C2(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.
portî ±portâstring (Optional)î ±Displaysî ±theî ±adminî ±pathî ±costî ±valueî ±forî ±specificî ±port(s).î ±Forî ±aî ±
detailedî ±descriptionî ±ofî ±possibleî ±portâstringî ±values,î ±referî ±toî ±âPortî ±Stringî ±
Syntaxî ±Usedî ±inî ±theî ±CLIâî ±onî ±page 7â2.
sidî ±sid (Optional)î ±Displaysî ±theî ±adminî ±pathî ±costî ±forî ±aî ±specificî ±Spanningî ±Treeî ±
identifier.
î ±Validî ±valuesî ±areî ±0î ±âî ±4094.î ±Ifî ±notî ±specif ied,î ±SIDî ±0î ±willî ±beî ±assumed.
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 7â2.
cost Specifiesî ±theî ±portî ±pathî ±cost.î ±Va1idî ±valuesî ±areî ±0î ±âî ±2000 00000.
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.