ほぼ全ての機能を新サイトへ移行しました

spanning-tree port-priority anchor.png

機種
Switch(K)
モード
Interface(M)
デフォルト
128
IOS
12.0(7)XE
試験レベル
BCMSN
構文
spanning-tree vlan-id port-priority port-priority
使用例
Switch#show spanning-tree

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     000c.8589.ba80
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    1      (priority 0 sys-id-ext 1)
             Address     000c.8589.ba80
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time 300

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/21           Desg FWD 19        128.21   Edge P2p
Fa0/22           Desg FWD 19        128.22  P2p
Po1              Desg FWD 12        128.65   P2p

Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#interface fa0/22
Switch(config-if)#spanning-tree port-priority ?
  <0-240>  port priority in increments of 16

Switch(config-if)#spanning-tree port-priority 80
Switch(config-if)#end
Switch#show spanning-tree

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    1
             Address     000c.8589.ba80
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    1      (priority 0 sys-id-ext 1)
             Address     000c.8589.ba80
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time 300

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/21           Desg FWD 19        128.21   Edge P2p
Fa0/22           Desg FWD 19         80.22  P2p
Po1              Desg FWD 12        128.65   P2p

Switch#
解説
スパニングツリーのポートプライオリティ値を設定・変更します。
0〜240の範囲でプライオリティ値を変更する事が出来ます。
デフォルトの値は128です。
Tips
参考リンク
ネットワークエンジニアとして STP - Catalyst Switch
Google検索
タグ
STP

トップ   凍結 差分 バックアップ 複製 名前変更 リロード   ページ新規作成 全ページ一覧 単語検索 最新ページの一覧   ヘルプ   最新ページのRSS 1.0 最新ページのRSS 2.0 最新ページのRSS Atom
Counter: 6413, today: 1, yesterday: 1
最終更新: 2009-08-04 (火) 16:03:18 (JST) (5385d) by staff_mita
Copyright (c) 2020 Ping-t All rights reserved.
ログイン
ユーザ名 or E-Mailアドレス:

パスワード:







プレミアムコンテンツ

受験チケット(割引)

Contact

LPI-Japan Logo

LPI Logo