show interfaces status

CiscoルータやCatalystのshow interfaces statusコマンドについて、構文や表示された結果の見方を表示例交えて説明しています。

説明

show interfaces statusコマンドを使うと、インターフェースのLinkUP/Downや速度、全二重/半二重などの情報を確認できます。

構文

show interfaces statusコマンドの構文は、以下のとおりです。

show interfaces [ インターフェース ] status

インターフェースを指定すると、指定したインターフェースの情報だけ表示されます。指定方法は、例えばgigabitethernet0/1などです。

表示例

show interfaces statusの表示例はm以下のとおりです

Cisco# show interfaces status
Port Name Status     Vlan Duplex Speed  Type
Gi0/1     connected  1    full   100    10/100/1000BaseTX
Gi0/2     connected  1    a-full a-1000 10/100/1000BaseTX
Gi0/3     notconnect 1    auto   auto   10/100/1000BaseTX
・・・

Statusの例として、以下があります。

【show interfaces statusのStatus例】
Status 意味
connected LinkUP
notconnect LinkDown
err-disabled エラー

err-disabledになると、エラーとなった要因を取り除くまでLinkUPしません。障害対処しても自動でLinkUPしない場合は、インターフェースを一旦shutdownし、no shutdownするとLinkUPします。

Duplexの例として、以下があります。

【show interfaces statusのDuplex例】
Duplex 意味
auto オートネゴシエーション有効(LinkDown時)
half,full 半二重、又は全二重固定
a-half,a-full オートネゴシエーションで全二重/半二重決定(LinkUP時)

Speedの例として、以下があります。

【show interfaces statusのSpeed例】
Speed 意味
auto オートネゴシエーション有効(LinkDown時)
10,100,1000 速度固定
a-10,a-100,a-1000 オートネゴシエーションで速度決定(LinkUP時)

Typeは10/100/1000Base-Tや1000Base-SXなどの種別を示しますが、CiscoでサポートしていないSFP(他社製)を利用すると、unsupportedと表示されます。

利用可能なモード

  • 特権EXECモード

関連ページ

設定編「インターフェースの設定
CiscoルーターやCatalystで、インターフェース速度や全二重/半二重、メディアタイプなどを設定する方法について説明しています。