background image
53
第 5 章 - 命令行界面
華碩 GigaX 系列
5.3.3
橋接命令
[Spanning Tree is] [
STP Enabled/ RSTP Enabled/ Disabled]
允許用戶指定是否讓交換機採用生成樹協議 (STP/ RSTP)。
CLI 命令 : l2 stp start <
stp / rstp>
CLI 命令 : l2 stp
stop
[Hello Time]
[Forward Delay]
[Max Age]
[Bridge Priority]
顯示當前的 STP/RSTP 橋接參數設置。
CLI 命令 : l2 stp bridge set
Hello Time (1..10 seconds): [
old Hello Time] <new Hello Time>
Max Age (6..40 seconds): [
old Max Age] <new Max Age>
Forward Delay (4..30 seconds): [
old Forward Delay] <new Forward
Delay>
Bridge Priority (0.. 61440): [
old Bridge Priority] <new Bridge Priority>
[Priority]
[Path Cost]
[Edge Port]
[Point-to-point]
顯示當前的 STP/RSTP 端口參數設置。
CLI 命令 : l2 stp port set
Port Settings (all,…): [all] <
select a port number, or just type ‘all’ to
iteratively config>
Port <port number> Priority (0..240): [old port Priority] <
new port
Priority>
Port <port number> Path Cost (1..200000000): [old port Path Cost]
<
new port Path Cost>