monitor interface
構文
monitor interface <interface-name | traffic <detail>>
説明
インターフェイスに関するリアルタイム統計を表示し、毎秒統計情報を更新します。SONET/SDHやT3アラーム、検出されたループバック、フレーミングエラーの増加など、一般的なインターフェイスの障害を確認して表示します。
Junos OS Evolvedでは、 コマンドを monitor interface
SSHセッション上で使用できますが、コンソールおよびTelnetセッションはサポートされていません。
このコマンドは、QFX3000 QFabricスイッチではサポートされていません。
オプション
none | すべてのインターフェイスのリアルタイム統計情報を表示します。 |
detail | (オプション)トラフィック オプションのみの場合は、詳細な出力を表示します。 |
interface-name | (オプション)指定されたインターフェイスのリアルタイム統計情報を表示します。TX Matrix または TX Matrix Plus ルーターでは、指定された LCC(ラインカード シャーシ)上の物理インターフェイスのリアルタイム統計情報のみを表示します。 |
traffic | (オプション)すべてのアクティブなインターフェイスのトラフィック データを表示します。TX Matrix または TX Matrix Plus ルーターでは、指定された LCC 上の物理インターフェイスのリアルタイム統計情報のみを表示します。 |
その他の情報
このコマンドの出力は、コマンドを開始してから、または c キーを押してカウンターをクリアしてから、各フィールドがどの程度変更されたかを示しています。このコマンドの出力で提供される統計情報の説明については、CLI Explorer の特定のインターフェイス タイプに関する コマンドを参照してくださいshow interfaces extensive
。実行中のコマンドの出力をmonitor interface
制御するには、表 1 に示すキーを使用します。キーの大文字と小文字は区別されません。
キー |
アクション |
---|---|
C |
開始してから |
F |
ディスプレイをフリーズさせ、更新された統計情報とデルタカウンターの表示を停止します。 |
私 |
別のインターフェイスに関する情報を表示します。コマンドは、特定のインターフェイスの名前を入力するよう求められます。 |
N |
次のインターフェイスに関する情報を表示します。コマンドは |
q または Esc |
コマンドを終了し、コマンド プロンプトに戻ります。 |
T |
ディスプレイのフリーズを解除し、統計情報とデルタ カウンターの更新を再開します。 |
実行中のコマンドの出力を monitor interface traffic
制御するには、 表 2 に示すキーを使用します。キーの大文字と小文字は区別されません。
キー |
アクション |
---|---|
B |
統計情報をバイト数とビット/秒(bps)で表示します。 |
C |
列のデルタ カウンター |
D |
|
P |
統計情報をパケット数と 1 秒あたりのパケット数(pps)で表示します。 |
q または Esc |
コマンドを終了し、コマンド プロンプトに戻ります。 |
R |
bps と pps でレート列(列ではなく |
必要な権限レベル
トレース
出力フィールド
表 3 は、 コマンドの出力フィールドを monitor interface
示しています。出力フィールドは、概して表示される順序で一覧表示されます。
フィールド名 |
フィールドの説明 |
出力レベル |
---|---|---|
|
ルーターのホスト名。 |
すべてのレベル |
|
monitor interface コマンドが実行されている時間またはカウンターを最後にクリアしてからの時間。 |
すべてのレベル |
|
現在の時刻(UTC)。 |
すべてのレベル |
|
統計情報が表示された時間と実際のクロック時間の時差。
|
すべてのレベル |
|
名前、ステータス、カプセル化を含む、インターフェイスの簡単な説明。 |
すべてのレベル |
|
リンクの状態: |
すべてのレベル |
|
コマンドを開始した、または最後にカウンターをクリアしてからの時間である [秒] フィールドに表示された時間以降の、問題のカウンターの累積数。 |
すべてのレベル |
|
(論理インターフェイスのみ)指定されたインターフェイスを介してルーターまたはスイッチ宛てのバイトおよびパケットの数とレート。トラフィックのバーストを受信すると、出力パケット レート フィールドの値がピーク セル レートをわずかに超える可能性があります。通常、このカウンターが安定するのに1秒未満かかります。
|
すべてのレベル |
|
(論理インターフェイスのみ)ルーターまたはスイッチを通過するトラフィックの統計情報。トラフィックのバーストを受信すると、出力パケット レート フィールドの値がピーク セル レートをわずかに超える可能性があります。通常、このカウンターが安定するのに1秒未満かかります。
|
すべてのレベル |
トラフィック統計 |
インターフェイスで送受信されたバイトとパケットの総数。これらの統計情報は、ローカルおよびリモートの統計情報の合計です。トラフィックのバーストを受信すると、出力パケット レート フィールドの値がピーク セル レートをわずかに超える可能性があります。通常、このカウンターが安定するのに1秒未満かかります。
|
すべてのレベル |
|
オプションを |
|
入力エラー |
フレーム受信停止とFCSエラーの合計。 |
すべてのレベル |
入力ドロップ |
- I/O マネージャー ASIC の入力キューによってドロップされたパケットの数。インターフェイスが飽和状態にある場合、ASICのREDメカニズムによってドロップされたパケットごとに、この数は1回増加します。 |
すべてのレベル |
入力フレーミング エラー |
- 無効なフレーム チェックサム(FCS)で受信したパケット数。 |
すべてのレベル |
ポリサード破棄 |
- 受信パケット一致コードが認識されなかったか、興味を持たないために破棄されたフレームの数。通常、このフィールドはJunos OSが処理しないプロトコルを報告します。 |
すべてのレベル |
L3 未完了 |
- ヘッダーのレイヤー 3(通常は IPv4)サニティー チェックに失敗したために破棄された受信パケットの数。例えば、利用可能な IP ヘッダーが 20 バイト未満のフレームは破棄されます。L3不完全エラーは、 ステートメントを |
すべてのレベル |
L2 チャネル エラー |
- ソフトウェアが受信フレームに対して有効な論理インターフェイスを見つけられなかった回数。 |
すべてのレベル |
L2 不一致タイムアウト |
- 受信パケット ハンドラーが読み取り不可としてフレームを破棄する原因となった、異常または短いパケットの数。 |
すべてのレベル |
サンプル出力
- monitor interface(物理)
- モニター インターフェイス(OTN インターフェイス)
- モニター インターフェイス(MPC5E および 10 ギガビット イーサネット OTN インターフェイスを搭載した MX480 ルーター)
- モニター インターフェイス(MPC5E および 100 ギガビット イーサネット インターフェイスを搭載した MX480 ルーター)
- モニター インターフェイス(MPC6E および 10 ギガビット イーサネット OTN インターフェイスを搭載した MX2010 ルーター)
- モニター インターフェイス(MPC6E および 100 ギガビット イーサネット OTN インターフェイスを搭載した MX2010 ルーター)
- モニター インターフェイス(MPC6E および 10 ギガビット イーサネット OTN インターフェイスを搭載した MX2020 ルーター)
- monitor interface(論理)
- monitor interface(QFX3500スイッチ)
- インターフェイストラフィックの監視
- インターフェイストラフィック監視(QFX3500スイッチ)
- インターフェイストラフィックの詳細監視(QFX3500スイッチ)
monitor interface(物理)
user@host> monitor interface so-0/0/0 router1 Seconds: 19 Time: 15:46:29 Interface: so-0/0/0, Enabled, Link is Up Encapsulation: PPP, Keepalives, Speed: OC48 Traffic statistics: Current Delta Input packets: 6045 (0 pps) [11] Input bytes: 6290065 (0 bps) [13882] Output packets: 10376 (0 pps) [10] Output bytes: 10365540 (0 bps) [9418] Encapsulation statistics: Input keepalives: 1901 [2] Output keepalives: 1901 [2] NCP state: Opened LCP state: Opened Error statistics: Input errors: 0 [0] Input drops: 0 [0] Input framing errors: 0 [0] Policed discards: 0 [0] L3 incompletes: 0 [0] L2 channel errors: 0 [0] L2 mismatch timeouts: 0 [0] Carrier transitions: 1 [0] Output errors: 0 [0] Output drops: 0 [0] Aged packets: 0 [0] Active alarms : None Active defects: None SONET error counts/seconds: LOS count 1 [0] LOF count 1 [0] SEF count 1 [0] ES-S 0 [0] SES-S 0 [0] SONET statistics: BIP-B1 458871 [0] BIP-B2 460072 [0] REI-L 465610 [0] BIP-B3 458978 [0] REI-P 458773 [0] Received SONET overhead: F1 : 0x00 J0 : 0x00 K1 : 0x00 K2 : 0x00 S1 : 0x00 C2 : 0x00 C2(cmp) : 0x00 F2 : 0x00 Z3 : 0x00 Z4 : 0x00 S1(cmp) : 0x00 Transmitted SONET overhead: F1 : 0x00 J0 : 0x01 K1 : 0x00 K2 : 0x00 S1 : 0x00 C2 : 0xcf F2 : 0x00 Z3 : 0x00 Z4 : 0x00 Next='n', Quit='q' or ESC, Freeze='f', Thaw='t', Clear='c', Interface='i'
モニター インターフェイス(OTN インターフェイス)
user@host> monitor interface ge-7/0/0 Interface: ge-7/0/0, Enabled, Link is Up Encapsulation: Ethernet, Speed: 10000mbps Traffic statistics: Input bytes: 0 (0 bps) Output bytes: 0 (0 bps) Input packets: 0 (0 pps) Output packets: 0 (0 pps) Error statistics: Input errors: 0 Input drops: 0 Input framing errors: 0 Policed discards: 0 L3 incompletes: 0 L2 channel errors: 0 L2 mismatch timeouts: 0 Carrier transitions: 5 Output errors: 0 Output drops: 0 Aged packets: 0 Active alarms : None Active defects: None Input MAC/Filter statistics: Unicast packets 0 Broadcast packets 0 Multicast packets 0 Oversized frames 0 Packet reject count 0 DA rejects 0 SA rejects 0 Output MAC/Filter Statistics: Unicast packets 0 Broadcast packets 0 Multicast packets 0 Packet pad count 0 Packet error count 0 OTN Link 0 OTN Alarms: OTU_BDI, OTU_TTIM, ODU_BDI OTN Defects: OTU_BDI, OTU_TTIM, ODU_BDI, ODU_TTIM OTN OC - Seconds LOS 2 LOF 9 OTN OTU - FEC Statistics Corr err ratio N/A Corr bytes 0 Uncorr words 0 OTN OTU - Counters BIP 0 BBE 0 ES 0 SES 0 UAS 422 OTN ODU - Counters BIP 0 BBE 0 ES 0 SES 0 UAS 422 OTN ODU - Received Overhead APSPCC 0-3: 0
モニター インターフェイス(MPC5E および 10 ギガビット イーサネット OTN インターフェイスを搭載した MX480 ルーター)
user@host> monitor interface xe-0/0/3
Interface: xe-0/0/3, Enabled, Link is Up
Encapsulation: Ethernet, Speed: 10000mbps
Traffic statistics: Current delta
Input bytes: 0 (0 bps) [0]
Output bytes: 0 (0 bps) [0]
Input packets: 0 (0 pps) [0]
Output packets: 0 (0 pps) [0]
Error statistics:
Input errors: 0 [0]
Input drops: 0 [0]
Input framing errors: 0 [0]
Policed discards: 0 [0]
L3 incompletes: 0 [0]
L2 channel errors: 0 [0]
L2 mismatch timeouts: 0 [0]
Carrier transitions: 5 [0]
Output errors: 0 [0]
Output drops: 0 [0]
Aged packets: 0 [0]
Active alarms : None
Active defects: None
PCS statistics: Seconds
Bit Errors 0 [0]
Errored blocks 4 [0]
Input MAC/Filter statistics:
Unicast packets 0 [0]
Broadcast packets 0 [0]
Multicast packets 0 [0]
Oversized frames 0 [0]
Packet reject count 0 [0]
DA rejects 0 [0]
SA rejects 0 [0]
Output MAC/Filter Statistics:
Unicast packets 0 [0]
Broadcast packets 0 [0]
Multicast packets 0 [0]
Packet pad count 0 [0]
Packet error count 0 [0]
Next='n', Quit='q' or ESC, Freeze='f', Thaw='t', Clear='c', Interface='i'
モニター インターフェイス(MPC5E および 100 ギガビット イーサネット インターフェイスを搭載した MX480 ルーター)
user@host> monitor interface et-2/1/0
Interface: et-2/1/0, Enabled, Link is Up
Encapsulation: Ethernet, Speed: 100000mbps
Traffic statistics: Current delta
Input bytes: 0 (0 bps) [0]
Output bytes: 0 (0 bps) [0]
Input packets: 0 (0 pps) [0]
Output packets: 0 (0 pps) [0]
Error statistics:
Input errors: 0 [0]
Input drops: 0 [0]
Input framing errors: 0 [0]
Policed discards: 0 [0]
L3 incompletes: 0 [0]
L2 channel errors: 0 [0]
L2 mismatch timeouts: 0 [0]
Carrier transitions: 263 [0]
Output errors: 0 [0]
Output drops: 0 [0]
Aged packets: 0 [0]
OTN Link 0
OTN Alarms:
OTN Defects:
OTN OC - Seconds
LOS 129 [0]
LOF 2 [0]
OTN OTU - FEC Statistics
Corr err ratio <8E-5
Corr bytes 169828399453 [0]
Uncorr words 28939961456 [0]
OTN OTU - Counters [0]
BIP 0
BBE 0 [0]
ES 24 [0]
SES 0 [0]
UAS 1255 [0]
OTN ODU - Counters [0]
BIP 0
BBE 0 [0]
ES 24 [0]
SES 0 [0]
UAS 1256 [0]
OTN ODU - Received Overhead [0]
APSPCC 0-3: 00 00 00 00
Next='n', Quit='q' or ESC, Freeze='f', Thaw='t', Clear='c', Interface='i'
モニター インターフェイス(MPC6E および 10 ギガビット イーサネット OTN インターフェイスを搭載した MX2010 ルーター)
user@host> monitor interface xe-6/1/0
Interface: xe-6/1/0, Enabled, Link is Up
Encapsulation: Ethernet, Speed: 10000mbps
Traffic statistics: Current delta
Input bytes: 0 (0 bps) [0]
Output bytes: 0 (0 bps) [0]
Input packets: 0 (0 pps) [0]
Output packets: 0 (0 pps) [0]
Error statistics:
Input errors: 0 [0]
Input drops: 0 [0]
Input framing errors: 0 [0]
Policed discards: 0 [0]
L3 incompletes: 0 [0]
L2 channel errors: 0 [0]
L2 mismatch timeouts: 0 [0]
Carrier transitions: 1 [0]
Output errors: 0 [0]
Output drops: 0 [0]
Aged packets: 0 [0]
Active alarms : None
Active defects: None
PCS statistics: Seconds
Bit Errors 0 [0]
Errored blocks 1 [0]
Input MAC/Filter statistics:
Unicast packets 0 [0]
Broadcast packets 0 [0]
Multicast packets 0 [0]
Oversized frames 0 [0]
Packet reject count 0 [0]
DA rejects 0 [0]
SA rejects 0 [0]
Output MAC/Filter Statistics:
Unicast packets 0 [0]
Broadcast packets 0 [0]
Multicast packets 0 [0]
Packet pad count 0 [0]
Packet error count 0 [0]
Next='n', Quit='q' or ESC, Freeze='f', Thaw='t', Clear='c', Interface='i'
モニター インターフェイス(MPC6E および 100 ギガビット イーサネット OTN インターフェイスを搭載した MX2010 ルーター)
user@host> monitor interface et-9/0/0
Interface: et-9/0/0, Enabled, Link is Up
Encapsulation: Ethernet, Speed: 100000mbps
Traffic statistics: Current delta
Input bytes: 0 (0 bps) [0]
Output bytes: 0 (0 bps) [0]
Input packets: 0 (0 pps) [0]
Output packets: 0 (0 pps) [0]
Error statistics:
Input errors: 0 [0]
Input drops: 0 [0]
Input framing errors: 0 [0]
Policed discards: 0 [0]
L3 incompletes: 0 [0]
L2 channel errors: 0 [0]
L2 mismatch timeouts: 0 [0]
Carrier transitions: 1 [0]
Output errors: 0 [0]
Output drops: 0 [0]
Aged packets: 0 [0]
Next='n', Quit='q' or ESC, Freeze='f', Thaw='t', Clear='c', Interface='i'
モニター インターフェイス(MPC6E および 10 ギガビット イーサネット OTN インターフェイスを搭載した MX2020 ルーター)
user@host> monitor interface xe-3/0/0
host name Seconds: 67 Time: 23:46:46
Delay: 0/0/13
Interface: xe-3/0/0, Enabled, Link is Up
Encapsulation: Ethernet, Speed: 10000mbps
Traffic statistics: Current delta
Input bytes: 0 (0 bps) [0]
Output bytes: 0 (0 bps) [0]
Input packets: 0 (0 pps) [0]
Output packets: 0 (0 pps) [0]
Error statistics:
Input errors: 0 [0]
Input drops: 0 [0]
Input framing errors: 0 [0]
Policed discards: 0 [0]
L3 incompletes: 0 [0]
L2 channel errors: 0 [0]
L2 mismatch timeouts: 0 [0]
Carrier transitions: 3 [0]
Output errors: 0 [0]
Output drops: 0 [0]
Aged packets: 0 [0]
OTN Link 0
OTN Alarms:
OTN Defects:
OTN OC - Seconds
LOS 0 [0]
LOF 0 [0]
OTN OTU - FEC Statistics
Corr err ratio N/A
Corr bytes 0 [0]
Uncorr words 0 [0]
OTN OTU - Counters [0]
BIP 0
BBE 0 [0]
ES 0 [0]
SES 0 [0]
UAS 0 [0]
OTN ODU - Counters [0]
BIP 0
BBE 0 [0]
ES 0 [0]
SES 0 [0]
UAS 0 [0]
OTN ODU - Received Overhead [0]
APSPCC 0-3: 00 00 00 00
Next='n', Quit='q' or ESC, Freeze='f', Thaw='t', Clear='c', Interface='i'
monitor interface(論理)
user@host> monitor interface so-1/0/0.0 host name Seconds: 16 Time: 15:33:39 Delay: 0/0/1 Interface: so-1/0/0.0, Enabled, Link is Down Flags: Hardware-Down Point-To-Point SNMP-Traps Encapsulation: PPP Local statistics: Current delta Input bytes: 0 [0] Output bytes: 0 [0] Input packets: 0 [0] Output packets: 0 [0] Remote statistics: Input bytes: 0 (0 bps) [0] Output bytes: 0 (0 bps) [0] Input packets: 0 (0 pps) [0] Output packets: 0 (0 pps) [0] Traffic statistics: Destination address: 192.168.8.193, Local: 192.168.8.21 Next='n', Quit='q' or ESC, Freeze='f', Thaw='t', Clear='c', Interface='i'
monitor interface(QFX3500スイッチ)
user@switch> monitor interface ge-0/0/0 Interface: ge-0/0/0, Enabled, Link is Down Encapsulation: Ethernet, Speed: Unspecified Traffic statistics: Current delta Input bytes: 0 (0 bps) [0] Output bytes: 0 (0 bps) [0] Input packets: 0 (0 pps) [0] Output packets: 0 (0 pps) [0] Error statistics: Input errors: 0 [0] Input drops: 0 [0] Input framing errors: 0 [0] Policed discards: 0 [0] L3 incompletes: 0 [0] L2 channel errors: 0 [0] L2 mismatch timeouts: 0 [0] Carrier transitions: 0 [0] Output errors: 0 [0] Output drops: 0 [0] Aged packets: 0 [0] Active alarms : LINK Active defects: LINK Input MAC/Filter statistics: Unicast packets 0 [0] Broadcast packets 0 Multicast packet [0] Interface warnings: o Outstanding LINK alarm
インターフェイストラフィックの監視
user@host> monitor interface traffic host name Seconds: 15 Time: 12:31:09 Interface Link Input packets (pps) Output packets (pps) so-1/0/0 Down 0 (0) 0 (0) so-1/1/0 Down 0 (0) 0 (0) so-1/1/1 Down 0 (0) 0 (0) so-1/1/2 Down 0 (0) 0 (0) so-1/1/3 Down 0 (0) 0 (0) t3-1/2/0 Down 0 (0) 0 (0) t3-1/2/1 Down 0 (0) 0 (0) t3-1/2/2 Down 0 (0) 0 (0) t3-1/2/3 Down 0 (0) 0 (0) so-2/0/0 Up 211035 (1) 36778 (0) so-2/0/1 Up 192753 (1) 36782 (0) so-2/0/2 Up 211020 (1) 36779 (0) so-2/0/3 Up 211029 (1) 36776 (0) so-2/1/0 Up 189378 (1) 36349 (0) so-2/1/1 Down 0 (0) 18747 (0) so-2/1/2 Down 0 (0) 16078 (0) so-2/1/3 Up 0 (0) 80338 (0) at-2/3/0 Up 0 (0) 0 (0) at-2/3/1 Down 0 (0) 0 (0) Bytes=b, Clear=c, Delta=d, Packets=p, Quit=q or ESC, Rate=r, Up=^U, Down=^D
インターフェイストラフィック監視(QFX3500スイッチ)
user@switch> monitor interface traffic switch Seconds: 7 Time: 16:04:37 Interface Link Input packets (pps) Output packets (pps) ge-0/0/0 Down 0 (0) 0 (0) ge-0/0/1 Up 392187 (0) 392170 (0) ge-0/0/2 Down 0 (0) 0 (0) ge-0/0/3 Down 0 (0) 0 (0) ge-0/0/4 Down 0 (0) 0 (0) ge-0/0/5 Down 0 (0) 0 (0) ge-0/0/6 Down 0 (0) 0 (0) ge-0/0/7 Down 0 (0) 0 (0) ge-0/0/8 Down 0 (0) 0 (0) ge-0/0/9 Up 392184 (0) 392171 (0) ge-0/0/10 Down 0 (0) 0 (0) ge-0/0/11 Down 0 (0) 0 (0) ge-0/0/12 Down 0 (0) 0 (0) ge-0/0/13 Down 0 (0) 0 (0) ge-0/0/14 Down 0 (0) 0 (0) ge-0/0/15 Down 0 (0) 0 (0) ge-0/0/16 Down 0 (0) 0 (0) ge-0/0/17 Down 0 (0) 0 (0) ge-0/0/18 Down 0 (0) 0 (0) ge-0/0/19 Down 0 (0) 0 (0) ge-0/0/20 Down 0 (0) 0 (0) ge-0/0/21 Down 0 (0) 0 (0) ge-0/0/22 Up 392172 (0) 392187 (0) ge-0/0/23 Up 392185 (0) 392173 (0) vcp-0 Down 0 0 vcp-1 Down 0 0 ae0 Down 0 (0) 0 (0) bme0 Up 0 1568706
インターフェイストラフィックの詳細監視(QFX3500スイッチ)
user@switch> monitor interface traffic detail switch Seconds: 74 Time: 16:03:02 Interface Link Input packets (pps) Output packets (pps) Description ge-0/0/0 Down 0 (0) 0 (0) ge-0/0/1 Up 392183 (0) 392166 (0) ge-0/0/2 Down 0 (0) 0 (0) ge-0/0/3 Down 0 (0) 0 (0) ge-0/0/4 Down 0 (0) 0 (0) ge-0/0/5 Down 0 (0) 0 (0) ge-0/0/6 Down 0 (0) 0 (0) ge-0/0/7 Down 0 (0) 0 (0) ge-0/0/8 Down 0 (0) 0 (0) ge-0/0/9 Up 392181 (0) 392168 (0) ge-0/0/10 Down 0 (0) 0 (0) ge-0/0/11 Down 0 (0) 0 (0) ge-0/0/12 Down 0 (0) 0 (0) ge-0/0/13 Down 0 (0) 0 (0) ge-0/0/14 Down 0 (0) 0 (0) ge-0/0/15 Down 0 (0) 0 (0) ge-0/0/16 Down 0 (0) 0 (0) ge-0/0/17 Down 0 (0) 0 (0) ge-0/0/18 Down 0 (0) 0 (0) ge-0/0/19 Down 0 (0) 0 (0) ge-0/0/20 Down 0 (0) 0 (0) ge-0/0/21 Down 0 (0) 0 (0) ge-0/0/22 Up 392169 (0) 392184 (1) ge-0/0/23 Up 392182 (0) 392170 (0) vcp-0 Down 0 0 vcp-1 Down 0 0 ae0 Down 0 (0) 0 (0) bme0 Up 0 1568693
リリース情報
Junos OS リリース 7.4 より前に導入されたコマンド。