show qos-flow
QoSフローグループコマンド(コンフィグレーションコマンドip qos-flow-group,ipv6 qos-flow-group,mac qos-flow-group,advance qos-flow-group)でインタフェースに適用したQoSフローリストのフロー検出条件に一致したフレームの統計情報を表示します。
なお,ポリサーエントリを動作に指定しているQoSフローリストの統計情報は,show policerコマンドで表示します。
[入力形式]
show qos-flow show qos-flow interface <interface type> <interface number> [<qos flow list name>] [{in | out}] [sequence <sequence list>]
[入力モード]
一般ユーザモードおよび装置管理者モード
[パラメータ]
- interface <interface type> <interface number>
-
指定したインタフェースのうち,表示できる統計情報を表示します。
<interface type> <interface number>には,次に示すインタフェース種別グループに対応するインタフェース名およびインタフェース番号を指定できます。詳細は,「パラメータに指定できる値」の「■インタフェースの指定方法」を参照してください。
また,複数のインタフェースを指定する場合は,上記に加えて「パラメータに指定できる値」の「■インタフェース複数指定」を参照してください。
-
イーサネットインタフェース
-
イーサネットサブインタフェース
-
ポートチャネルサブインタフェース
-
VLANインタフェース
-
- <qos flow list name>
-
指定したインタフェースのうち,指定したQoSフローリスト名の統計情報を表示します。QoSフローリスト名の指定方法は,「パラメータに指定できる値」を参照してください。
- 本パラメータ省略時の動作
-
指定したインタフェースに適用したすべてのQoSフローリストの統計情報を表示します。
- {in | out}
-
指定したインタフェースの受信側または送信側を対象として,統計情報を表示します。
- in
-
受信側を指定します。
- out
-
送信側を指定します。
- 本パラメータ省略時の動作
-
指定したインタフェースの受信側と送信側の両方を対象として,統計情報を表示します。
- sequence <sequence list>
-
指定したQoSフローリスト内のシーケンス番号の統計情報を表示します。<sequence list>の指定方法および値の指定範囲については,「パラメータに指定できる値」を参照してください。
- 本パラメータ省略時の動作
-
指定したインタフェースに適用したすべてのQoSフローリストの統計情報を表示します。
- すべてのパラメータ省略時の動作
-
すべてのインタフェースの,すべてのQoSフローリストを対象として,統計情報を表示します。
[実行例]
> show qos-flow interface port-channel 10.2000 http-qos out Date 20XX/01/01 12:00:00 UTC Using interface : port-channel 10.2000 out IP qos-flow-list : http-qos remark "QoS for http" 10 tcp(6) any host 10.10.10.2 eq http(80) action priority-class 4 Matched packets Matched bytes Total : 3050990400 4387539310660 PRU 1 : 1174699826 2190847093480 PRU 3 : 1876290574 2196692217180 > |
> show qos-flow interface gigabitethernet 3/5 out Date 20XX/01/01 12:00:00 UTC Using interface : gigabitethernet 3/5 out IP qos-flow-list : ftp-qos remark "QoS for ftp" 10 tcp(6) any any eq ftp(21) action priority-class 3 discard-class 1 Matched packets Matched bytes Total : 5488465101 1089412302036 PRU 1 : 5488465101 1089412302036 20 tcp(6) any host 10.10.10.2 eq http(80) action policer HTTP-QoS-POLICER refer to policer statistics 20 premium tcp(6) host 10.10.10.1 host 10.10.10.2 eq http(80) refer to policer statistics IPv6 qos-flow-list : telnet-qos remark "QoS for telnet" 10 tcp(6) any host 2001:db8:811:ff00::1 eq telnet(23) action priority-class 6 discard-class 2 Matched packets Matched bytes Total : 387252415 612184432164 PRU 1 : 387252415 612184432164 > |
> show qos-flow Date 20XX/01/01 12:00:00 UTC Using interface : port-channel 10.2000 out IP qos-flow-list : http-qos remark "QoS for http" 10 tcp(6) any host 10.10.10.2 eq http(80) action priority-class 4 Matched packets Matched bytes Total : 3050990400 4387539310660 PRU 1 : 1174699826 2190847093480 PRU 3 : 1876290574 2196692217180 Using interface : tengigabitethernet 1/3 out MAC qos-flow-list : ipv6-qos remark "QoS for ipv6" 10 any any ipv6(0x86dd) action priority-class 5 discard-class 2 Matched packets Matched bytes Total : 5642 10222540 PRU 1 : 5642 10222540 Using interface : gigabitethernet 1/5 in IP qos-flow-list : ftp-qos remark "QoS for ftp" 10 tcp(6) any any eq ftp(21) action priority-class 3 discard-class 1 Matched packets Matched bytes Total : 1684236799 184002215840 PRU 1 : 1684236799 184002215840 20 tcp(6) any host 10.10.10.2 eq http(80) action policer HTTP-QoS-POLICER refer to policer statistics 20 premium tcp(6) host 10.10.10.1 host 10.10.10.2 eq http(80) refer to policer statistics IPv6 qos-flow-list : telnet-qos remark "QoS for telnet" 10 tcp(6) any host 2001:db8:811:ff00::1 eq telnet(23) action priority-class 6 discard-class 2 Matched packets Matched bytes Total : 3454813846 5278421002544 PRU 1 : 3454813846 5278421002544 Using interface : gigabitethernet 1/5 out IP qos-flow-list : smtp-qos remark "QoS for smtp" 10 tcp(6) any any eq smtp(25) action priority-class 5 discard-class 3 Matched packets Matched bytes Total : 5484365 12111254620 PRU 1 : 5484365 12111254620 Using interface : gigabitethernet 1/12.2000 in IP qos-flow-list : pc-a1024 remark "ftp-http-qos" 5 tcp(6) any any eq ftp(21) action priority-class 1 Matched packets Matched bytes Total : 146723 150244352 PRU 1 : 146723 150244352 10 tcp(6) any any eq http(80) action priority-class 3 Matched packets Matched bytes Total : 92720 34945280 PRU 1 : 92720 34945280 11 tcp(6) any any action priority-class 5 Matched packets Matched bytes Total : 7246485 2420400640 PRU 1 : 7246485 2420400640 20 ip any any action priority-class 7 Matched packets Matched bytes Total : 3445567 1677894556 PRU 1 : 3445567 1677894556 Using interface : gigabitethernet 3/5 in IPv6 qos-flow-list : telnet-qos remark "QoS for telnet" 10 tcp(6) any host 2001:db8:811:ff00::1 eq telnet(23) action priority-class 6 discard-class 2 Matched packets Matched bytes Total : 612359745 334563628944 PRU 1 : 612359745 334563628944 Advance qos-flow-list : telnet-qos-ad remark "QoS for mac-ipv6" 10 mac-ipv6 0012.e200.1234 ffff.ffff.0000 any tcp(6) any host 2001:db8:1:fe00::1 layer3 action priority-class 5 discard-class 1 Matched packets Matched bytes Total : 345356711 434125685660 PRU 1 : 345356711 434125685660 Using interface : gigabitethernet 3/5 out IP qos-flow-list : ftp-qos-out remark "Outbound QoS for ftp" 10 tcp(6) any any eq ftp(21) action priority-class 3 discard-class 1 Matched packets Matched bytes Total : 5488465101 1089412302036 PRU 1 : 5488465101 1089412302036 20 tcp(6) any host 10.10.10.2 eq http(80) action policer HTTP-QoS-POLICER-OUT refer to policer statistics 20 premium tcp(6) host 10.10.10.1 host 10.10.10.2 eq http(80) refer to policer statistics IPv6 qos-flow-list : telnet-qos-out remark "Outbound QoS for telnet" 10 tcp(6) any host 2001:db8:811:ff00::1 eq telnet(23) action priority-class 6 discard-class 2 Matched packets Matched bytes Total : 387252415 612184432164 PRU 1 : 387252415 612184432164 Using interface : vlan 10 in IPv6 qos-flow-list : telnet-qos remark "QoS for telnet" 10 tcp(6) any host 2001:db8:811:ff00::1 eq telnet(23) action priority-class 6 discard-class 2 Matched packets Matched bytes Total : 25800211584 38700317376022 PRU 1 : 25800211584 38700317376022 Advance qos-flow-list : telnet-qos-ad remark "QoS for mac-ipv6" 10 mac-ipv6 0012.e200.1234 ffff.ffff.0000 any tcp(6) any host 2001:db8:1:fe00::1 layer3 action priority-class 5 discard-class 1 Matched packets Matched bytes Total : 745286301 1117929451532 PRU 1 : 745286301 1117929451532 Using interface : vlan 10 out IP qos-flow-list : ftp-qos-out remark "Outbound QoS for ftp" 10 tcp(6) any any eq ftp(21) action priority-class 3 discard-class 1 Matched packets Matched bytes Total : 451032156826 676548235239032 PRU 1 : 451032156826 676548235239032 20 tcp(6) any host 10.10.10.2 eq http(80) action policer HTTP-QoS-POLICER-OUT refer to policer statistics 20 premium tcp(6) host 10.10.10.1 host 10.10.10.2 eq http(80) refer to policer statistics IPv6 qos-flow-list : telnet-qos-out remark "Outbound QoS for telnet" 10 tcp(6) any host 2001:db8:811:ff00::1 eq telnet(23) action priority-class 6 discard-class 2 Matched packets Matched bytes Total : 286 228816 PRU 1 : 286 228816 > |
[表示説明]
表示項目 |
表示内容 |
---|---|
Using interface : <interface type> <interface number> in |
受信側にQoSフローリストを適用したインタフェース情報 |
Using interface : <interface type> <interface number> out |
送信側にQoSフローリストを適用したインタフェース情報 |
MAC qos-flow-list : <qos flow list name> |
MAC QoSフローリスト名 |
IP qos-flow-list : <qos flow list name> |
IPv4 QoSフローリスト名 |
IPv6 qos-flow-list : <qos flow list name> |
IPv6 QoSフローリスト名 |
Advance qos-flow-list : <qos flow list name> |
Advance QoSフローリスト名 |
remark <remark> |
QoSフローコマンドで設定した補足説明 |
<sequence> <target flow > <action specification> |
QoSフローコマンドで設定したフロー検出条件および動作指定 |
<sequence> premium <target flow> <action specification> |
premiumコマンドで設定したフロー検出条件および動作指定 |
Total : <matched packets> <matched bytes> |
QoSフローリストのフロー検出条件に一致したパケット数およびバイト数※ PRUがactiveではない,QoSフローエントリが設定されていない,または設定中のため統計情報が表示できない場合は"-"を表示します。 |
PRU <pru no.> : <matched packets> <matched bytes> |
QoSフローリストを設定しているPRUごとのQoSフローリストのフロー検出条件に一致したパケット数およびバイト数※ PRUがactiveではない場合は"Not active"を表示します。 QoSフローエントリが設定されていない,または設定中の場合は"Unset"を表示します。 |
refer to policer statistics |
QoSフローリストの動作に指定しているポリサーエントリの統計情報を参照してください。 統計情報は,show policerコマンドで確認できます。 |
注※ MACヘッダからFCSまでのバイト数を表示します。
[通信への影響]
なし
[応答メッセージ]
メッセージ |
内容 |
---|---|
The command cannot be executed in the standby system. |
このコマンドは待機系では実行できません。 |
The command cannot be executed. Try again. |
コマンドを実行できません。再実行してください。 |
The command is not authorized by the RADIUS/TACACS+ server or the configuration. |
このコマンドはRADIUSサーバ,TACACS+サーバ,またはコンフィグレーションで承認されていません。 |
The specified interface does not exist. |
指定したインタフェースが設定されていません。指定したパラメータを確認して再実行してください。 |
The specified interface type is incorrect. |
指定した<interface type>が不正です。指定パラメータを確認して再実行してください。 |
The specified qos-flow-group does not exist. |
指定したインタフェースにQoSフローグループが設定されていません。指定したパラメータやQoSフローグループの設定を確認して再実行してください。 |
The specified qos-flow-list does not exist. |
指定したQoSフローリスト名のQoSフローリストが設定されていません。指定したパラメータやQoSフローリストの設定を確認して再実行してください。 |
The specified sequence number does not exist. |
指定したシーケンス番号にQoSフローリストが設定されていません。指定したパラメータやQoSフローリストの設定を確認して再実行してください。 |
[注意事項]
なし