Configuration example

# In MSTP mode, perform the following tasks:

<Sysname> system-view
[Sysname] stp pathcost-standard dot1d-1998
Cost of every port will be reset and automatically re-calculated after you change the current pathcost standard. Continue?[Y/N]:y
Cost of every port has been re-calculated.
[Sysname] interface gigabitethernet 2/1/3
[Sysname-GigabitEthernet2/1/3] stp instance 2 cost 200