Configuring, Modifying, and Monitoring the Unit
38
Example
set-prt-prio 4 128
Priority was changed for port 4
SYS_console>
Enabling/disabling a port: set-prt-enb
To enable or disable spanning tree on a port. The default value is disabled.
set-prt-enb <port-number> {enable|disable}
Example
SYS_console>set-prt-enb 4 enable
The Port State was changed to <enable> for port 4
SYS_console>
Changing the path cost: set-prt-pcost
set-prt-pcost <dport> <path_cost>
The parameter dport is the integer port number, and the path_cost parameter is an integer path
cost in the range 1..65535. Using 0 as path_cost causes the switch to calculate the path cost
automatically according to the port speed. The default values are 4, 10, and 100.
Example
set-prt-pcost 4 20
The Port Path Cost was changed for port 4
SYS_console>