show interfaces mac-database
構文
show interfaces mac-database (ge-fpc/pic/port | ge-fpc/pic/port.n | aex| xe-fpc/pic/port | xe-fpc/pic/port.n | et-fpc/pic/port | et-fpc/pic/port.n) <mac-address mac-address>
説明
(M Series、T Series、MXシリーズルーター、PTXシリーズパケットトランスポートルーターのみ)指定されたインターフェイスの MAC(メディア アクセス制御)アドレス情報を表示します。
オプション
ge-fpc/pic/port | 特定の物理インターフェイス上のすべての論理インターフェイスで学習されたMACアドレスを表示します。 |
ge-fpc/pic/port.n | 特定の論理インターフェイスで学習されたMACアドレスを表示します。 |
aex | 特定の集合型イーサネットインターフェイスで学習されたMACアドレスを表示します。 |
xe-fpc/pic/port | 特定の物理インターフェイス上のすべての論理インターフェイスで学習されたMACアドレスを表示します。 |
xe-fpc/pic/port.n | 特定の論理インターフェイスで学習されたMACアドレスを表示します。 |
et-fpc/pic/port | 特定の物理インターフェイス上のすべての論理インターフェイスで学習されたMACアドレスを表示します。 |
et-fpc/pic/port.n | 特定の論理インターフェイスで学習されたMACアドレスを表示します。 |
mac-address mac-address | (オプション)、 |
詳細な情報
IQ2 PICインターフェイスでは、テーブルがフルではない場合、MACアドレステーブル内のエントリーの最大保持のデフォルト値が変更されました。新しい保持時間は12時間です。以前の3分間の保持時間も、テーブルがフルになると、有効になります。
必要な権限レベル
ビュー
出力フィールド
表 1 に、このコマンドの出力フィールド show interfaces mac-database
を示します。出力フィールドは、表示されるおおよその順序に従って示しています。
フィールド名 |
フィールドの説明 |
---|---|
物理インターフェイス | |
物理インターフェイス |
物理インターフェイスの名前。 |
有効 |
物理インターフェイスの状態。可能な値については、 一般的な出力フィールドの説明の「有効フィールド」セクションで説明しています。 |
インターフェイスインデックス |
初期化シーケンスを反映した物理インターフェイスインデックス番号。 |
SNMP ifIndex |
物理インターフェイスのSNMPインデックス番号。 |
説明 |
インターフェイスの説明と名前。 |
リンクレベルタイプ |
物理インターフェイスで使用されているカプセル化。 |
Mtu |
物理インターフェイス上のMTUサイズ。 |
速度 |
インターフェイスが実行される速度。 |
ループバック |
ループバックが有効になっているかどうか、およびループバックのタイプ: ローカル または リモート。 |
送信元フィルタリング |
送信元フィルターが構成されているかどうか。 |
フロー制御 |
フロー制御が有効になっているかどうか。 |
|
(集合型イーサネットインターフェイスのみ)集合型インターフェイスが動作するために動作する必要がある子リンクの数。 |
|
(集合型イーサネットインターフェイスのみ)集合型インターフェイスが動作するために動作する必要がある子リンクの最小帯域幅。 |
デバイスフラグ |
物理デバイスに関する情報。可能な値については、 一般的な出力フィールドの説明の「デバイスフラグ」セクションで説明しています。 |
|
(集合型イーサネットインターフェイスのみ)設定されているMACアドレス。 |
|
(集合型イーサネットインターフェイスのみ)ハードウェアMACアドレス。 |
|
(集合型イーサネットインターフェイスのみ)日付、時刻、およびインターフェイスがダウンからアップまたはアップからダウンになった時間。フォーマットは |
|
(集合型イーサネットインターフェイスのみ)bps(ビット/秒)とpps(パケット/秒)で示す入力レート。 |
|
(集合型イーサネットインターフェイスのみ)bpsとppsで示す出力レート。 |
インターフェイス フラグ |
インターフェイスに関する情報。可能な値については、 一般的な出力フィールドの説明の「リンクフラグ」セクションで説明しています。 |
リンクフラグ |
リンクに関する情報。可能なv4aluesについては、 一般的な出力フィールドの説明の「デバイスフラグ」セクションで説明しています。 |
論理インターフェイス | |
論理インターフェイス |
論理インターフェイスの名前。 |
インデックス |
初期化シーケンスを反映する論理インターフェイスインデックス番号。 |
SNMP ifIndex |
論理インターフェイスのSNMPインターフェイスインデックス番号。 |
フラグ |
論理インターフェイスに関する情報(可能な値については、 一般的な出力フィールドの説明の「論理インターフェイスフラグ」セクションで説明しています)。 |
カプセル 化 |
論理インターフェイスでのカプセル化。 |
MACアドレス、入力フレーム、入力バイト、出力フレーム、出力バイト |
MACアドレスと、対応する入力フレーム、入力バイト、出力フレーム、および出力バイトの対応する数。 |
MACアドレスの数 |
構成されたMACアドレスの数。 |
ポリサー統計情報 |
(、
|
サンプル出力
- show interfaces mac-database(ポート上のすべてのMACアドレス)
- show interfaces mac-database(集合型イーサネットインターフェイス上のすべてのMACアドレス)
- show interfaces mac-database(サービス上のすべてのMACアドレス)
- show interfaces mac-database mac-address
- show interfaces mac-database(物理インターフェイス)
- show interfaces mac-database(論理インターフェイス)
- show interfaces mac-database(集合型イーサネット)
show interfaces mac-database(ポート上のすべてのMACアドレス)
user@host> show interfaces mac-database xe-0/3/3 Physical interface: xe-0/3/3, Enabled, Physical link is Up Interface index: 372, SNMP ifIndex: 788 Link-level type: Ethernet, MTU: 1514, LAN-PHY mode, Speed: 10Gbps, Loopback: None, Source filtering: Disabled, Flow control: Enabled Device flags : Present Running Interface flags: SNMP-Traps Internal: 0x4000 Link flags : None Logical interface xe-0/3/3.0 (Index 364) (SNMP ifIndex 829) Flags: SNMP-Traps 0x4004000 Encapsulation: ENET2 MAC address Input frames Input bytes Output frames Output bytes 00:00:00:00:00:00 1 56 0 0 00:00:c0:01:01:02 7023810 323095260 0 0 00:00:c0:01:01:03 7023810 323095260 0 0 00:00:c0:01:01:04 7023810 323095260 0 0 00:00:c0:01:01:05 7023810 323095260 0 0 00:00:c0:01:01:06 7023810 323095260 0 0 00:00:c0:01:01:07 7023810 323095260 0 0 00:00:c0:01:01:08 7023809 323095214 0 0 00:00:c0:01:01:09 7023809 323095214 0 0 00:00:c0:01:01:0a 7023809 323095214 0 0 00:00:c0:01:01:0b 7023809 323095214 0 0 00:00:c8:01:01:02 30424784 1399540064 37448598 1722635508 00:00:c8:01:01:03 30424784 1399540064 37448598 1722635508 00:00:c8:01:01:04 30424716 1399536936 37448523 1722632058 00:00:c8:01:01:05 30424789 1399540294 37448598 1722635508 00:00:c8:01:01:06 30424788 1399540248 37448597 1722635462 00:00:c8:01:01:07 30424783 1399540018 37448597 1722635462 00:00:c8:01:01:08 30424783 1399540018 37448596 1722635416 00:00:c8:01:01:09 8836796 406492616 8836795 406492570 00:00:c8:01:01:0a 30424712 1399536752 37448521 1722631966 00:00:c8:01:01:0b 30424715 1399536890 37448523 1722632058 Number of MAC addresses : 21
show interfaces mac-database(集合型イーサネットインターフェイス上のすべてのMACアドレス)
user@host> show interfaces mac-database ae4 Physical interface: ae4, Enabled, Physical link is Up Interface index: 132, SNMP ifIndex: 588 Description: Member links xe-0/2/0 Link-level type: Ethernet, MTU: 9188, Speed: Unspecified, BPDU Error: None, MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled, Flow control: Disabled, Minimum links needed: 1, Minimum bandwidth needed: 0 Device flags : Present Running Interface flags: Interface flags: SNMP-Traps Internal: 0x4000 Current address: 00:22:83:76:ff:c4, Hardware address: 00:22:83:76:ff:c4 Last flapped : 2013-12-18 04:33:22 PST (1w5d 22:23 ago) Input rate : 62756384 bps (85266 pps) Output rate : 62759472 bps (85272 pps) Logical interface ae4.0 (Index 334) (SNMP ifIndex 647) Flags: SNMP-Traps 0x4004000 Encapsulation: ENET2 MAC address Input frames Input bytes Output frames Output bytes 00:00:00:aa:00:02 23888711 2627758118 300 22200 00:00:00:aa:00:03 0 0 0 0 00:00:00:aa:00:04 0 0 0 0 Number of MAC addresses : 3
show interfaces mac-database(サービス上のすべてのMACアドレス)
user@host> show interfaces mac-database xe-0/3/3 Logical interface xe-0/3/3.0 (Index 364) (SNMP ifIndex 829) Flags: SNMP-Traps 0x4004000 Encapsulation: ENET2 MAC address Input frames Input bytes Output frames Output bytes 00:00:00:00:00:00 1 56 0 0 00:00:c0:01:01:02 7023810 323095260 0 0 00:00:c0:01:01:03 7023810 323095260 0 0 00:00:c0:01:01:04 7023810 323095260 0 0 00:00:c0:01:01:05 7023810 323095260 0 0 00:00:c0:01:01:06 7023810 323095260 0 0 00:00:c0:01:01:07 7023810 323095260 0 0 00:00:c0:01:01:08 7023809 323095214 0 0 00:00:c0:01:01:09 7023809 323095214 0 0 00:00:c0:01:01:0a 7023809 323095214 0 0 00:00:c0:01:01:0b 7023809 323095214 0 0 00:00:c8:01:01:02 31016568 1426762128 38040381 1749857526 00:00:c8:01:01:03 31016568 1426762128 38040382 1749857572 00:00:c8:01:01:04 31016499 1426758954 38040306 1749854076 00:00:c8:01:01:05 31016573 1426762358 38040381 1749857526 00:00:c8:01:01:06 31016573 1426762358 38040381 1749857526 00:00:c8:01:01:07 31016567 1426762082 38040380 1749857480 00:00:c8:01:01:08 31016567 1426762082 38040379 1749857434 00:00:c8:01:01:09 9428580 433714680 9428580 433714680 00:00:c8:01:01:0a 31016496 1426758816 38040304 1749853984 00:00:c8:01:01:0b 31016498 1426758908 38040307 1749854122
show interfaces mac-database mac-address
user@host> show interfaces mac-database xe-0/3/3 mac-address 00:00:c8:01:01:09 Physical interface: xe-0/3/3, Enabled, Physical link is Up Interface index: 372, SNMP ifIndex: 788 Link-level type: Ethernet, MTU: 1514, LAN-PHY mode, Speed: 10Gbps, Loopback: None, Source filtering: Disabled, Flow control: Enabled Device flags : Present Running Interface flags: SNMP-Traps Internal: 0x4000 Link flags : None Logical interface xe-0/3/3.0 (Index 364) (SNMP ifIndex 829) Flags: SNMP-Traps 0x4004000 Encapsulation: ENET2 MAC address: 00:00:c8:01:01:09, Type: Configured, Input bytes : 202324652 Output bytes : 202324560 Input frames : 4398362 Output frames : 4398360 Policer statistics: Policer type Discarded frames Discarded bytes Output aggregate 3992386 183649756
show interfaces mac-database(物理インターフェイス)
user@host> show interfaces mac-database et-1/0/1 Physical interface: et-1/0/1, Enabled, Physical link is Up Interface index: 1022, SNMP ifIndex: 533 Link-level type: Ethernet, MTU: 1514, LAN-PHY mode, Speed: 400Gbps, BPDU Error: None, Loop Detect PDU Error: None, MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled, Flow control: Enabled, Auto-negotiation: Disabled, Media type: Fiber Device flags : Present Running Interface flags: SNMP-Traps Logical interface et-1/0/1.0 (Index 1005) (SNMP ifIndex 545) Flags: Up SNMP-Traps Encapsulation: ENET2 MAC address Input frames Input bytes Output frames Output bytes 00:00:00:00:00:00 1 56 0 0 00:00:c0:01:01:02 7023810 323095260 0 0 00:00:c0:01:01:03 7023810 323095260 0 0 00:00:c0:01:01:04 7023810 323095260 0 0 00:00:c0:01:01:05 7023810 323095260 0 0 00:00:c0:01:01:06 7023810 323095260 0 0 00:00:c0:01:01:07 7023810 323095260 0 0 00:00:c0:01:01:08 7023809 323095214 0 0 00:00:c0:01:01:09 7023809 323095214 0 0 00:00:c0:01:01:0a 7023809 323095214 0 0 00:00:c0:01:01:0b 7023809 323095214 0 0 00:00:c8:01:01:02 30424784 1399540064 37448598 1722635508 00:00:c8:01:01:03 30424784 1399540064 37448598 1722635508 00:00:c8:01:01:04 30424716 1399536936 37448523 1722632058 00:00:c8:01:01:05 30424789 1399540294 37448598 1722635508 00:00:c8:01:01:06 30424788 1399540248 37448597 1722635462 00:00:c8:01:01:07 30424783 1399540018 37448597 1722635462 00:00:c8:01:01:08 30424783 1399540018 37448596 1722635416 00:00:c8:01:01:09 8836796 406492616 8836795 406492570 00:00:c8:01:01:0a 30424712 1399536752 37448521 1722631966 00:00:c8:01:01:0b 30424715 1399536890 37448523 1722632058 Number of MAC addresses : 21
show interfaces mac-database(論理インターフェイス)
user@host> show interfaces mac-database et-1/0/1.0 Logical interface et-1/0/1.0 (Index 1005) (SNMP ifIndex 545) Flags: SNMP-Traps Encapsulation: ENET2 MAC address Input frames Input bytes Output frames Output bytes 00:00:00:00:00:00 1 56 0 0 00:00:c0:01:01:02 7023810 323095260 0 0 00:00:c0:01:01:03 7023810 323095260 0 0 00:00:c0:01:01:04 7023810 323095260 0 0 00:00:c0:01:01:05 7023810 323095260 0 0 00:00:c0:01:01:06 7023810 323095260 0 0 00:00:c0:01:01:07 7023810 323095260 0 0 00:00:c0:01:01:08 7023809 323095214 0 0 00:00:c0:01:01:09 7023809 323095214 0 0 00:00:c0:01:01:0a 7023809 323095214 0 0 00:00:c0:01:01:0b 7023809 323095214 0 0 00:00:c8:01:01:02 30424784 1399540064 37448598 1722635508 00:00:c8:01:01:03 30424784 1399540064 37448598 1722635508 00:00:c8:01:01:04 30424716 1399536936 37448523 1722632058 00:00:c8:01:01:05 30424789 1399540294 37448598 1722635508 00:00:c8:01:01:06 30424788 1399540248 37448597 1722635462 00:00:c8:01:01:07 30424783 1399540018 37448597 1722635462 00:00:c8:01:01:08 30424783 1399540018 37448596 1722635416 00:00:c8:01:01:09 8836796 406492616 8836795 406492570 00:00:c8:01:01:0a 30424712 1399536752 37448521 1722631966 00:00:c8:01:01:0b 30424715 1399536890 37448523 1722632058
show interfaces mac-database(集合型イーサネット)
user@host> show interfaces mac-database ae0 Physical interface: ae0, up, Physical link is Up Interface index: 6000, SNMP ifIndex: 541 Link-level type: Ethernet, MTU: 1514, Speed: 800Gbps, BPDU Error: None, MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled, Flow control: Enabled, Minimum links needed: 1, Minimum bandwidth needed: 1bps Device flags : Present Running Interface flags: SNMP-Traps Current address: da:5e:26:3b:03:57, Hardware address: da:5e:26:3b:03:57 Last flapped : 2021-12-16 12:08:26 IST (00:04:00 ago) Input rate : 0 bps (0 pps) Output rate : 0 bps (0 pps) Logical interface ae0.0 (Index 9700) (SNMP ifIndex 546) Flags: Up SNMP-Traps Encapsulation: Ethernet-Bridge MAC address Input frames Input bytes Output frames Output bytes 00:00:00:aa:00:02 23888711 2627758118 300 22200 00:00:00:aa:00:03 0 0 0 0 00:00:00:aa:00:04 0 0 0 0 Number of MAC addresses : 3
リリース情報
Junos OSリリース7.4より前に導入されたコマンド。
Junos OSリリース12.1のPTXシリーズ パケットトランスポートルーターで導入されたコマンド。
Junos OSリリース15.1で導入された オプションを使用した aex
ステートメントのサポート。