問題
対応するIOS switchで、GigabitEthernet1/0/1へ適用したQoS policyのclass counterとmarking処理を調べるcommandはどれか。
- A
show class-map interface GigabitEthernet1/0/1 - B
show policy-map interface GigabitEthernet1/0/1 - C
show policy-map - D
show access-lists
正解:B
理由
Show policy-map interfaceで、適用方向・class match・marking/dropのcounterを読む。Platformが表示するcounterの範囲へ合わせて判断する。
選択肢ごとの説明
- A.
show class-map interface GigabitEthernet1/0/1 この候補のcommandでは、指定interfaceに適用したpolicyのcounterを表示できない。
- B.
show policy-map interface GigabitEthernet1/0/1 Interfaceへ適用したservice policyとclassごとのmatch・処理counterを表示する。
- C.
show policy-map Policyの定義を表示するが、指定interfaceの実traffic counterを調べるにはinterfaceを付ける。
- D.
show access-lists ACLの定義やcounterを表示する。全classのmarking処理を示すpolicy統計とは異なる。