問題 ccnp-300-415-topic-1-question-336・第3版

問題

図のサブインターフェースでVLAN 100のトラフィックをシェーピングしたい。どのポリシー設定が要件を満たすか。

設定図

  1. A 
    policy-map shape_GigabitEthernet4.100
     class class Queue0
      service-policy xyz_QoS-model
      shape average 100000000
    !
    interface GigabitEthernet4.100
     encapsulation dot1Q 200
     service-policy output shape_GigabitEthernet4.100
    

    設定図

  2. B 
    policy-map shape_GigabitEthernet4.200
     class class-default
      service-policy xyz_QoS-model
      shape average 100000000
    !
    interface GigabitEthernet4.100
     encapsulation dot1Q 100
     service-policy output shape_GigabitEthernet4.200
    

    設定図

  3. C 
    policy-map shape_GigabitEthernet4.100
     class class-default
      service-policy xyz_QoS-model
      shape average 100000000
    !
    interface GigabitEthernet4.100
     encapsulation dot1Q 200
     service-policy output shape_GigabitEthernet4.100
    

    設定図

  4. D 
    policy-map shape_GigabitEthernet4.200
     class class Queue0
      service-policy xyz_QoS-model
      shape average 100000000
    !
    interface GigabitEthernet4.100
     encapsulation dot1Q 100
     service-policy output shape_GigabitEthernet4.100
    

    設定図

正解:B

理由

VLANはencapsulationの値で決まり、適用するservice-policy名は定義したpolicy-map名と一致させる。

選択肢ごとの説明

A.
policy-map shape_GigabitEthernet4.100
 class class Queue0
  service-policy xyz_QoS-model
  shape average 100000000
!
interface GigabitEthernet4.100
 encapsulation dot1Q 200
 service-policy output shape_GigabitEthernet4.100

設定図

encapsulation dot1Q 200

この指定のため、サブインターフェース名が.100でもVLAN 200を扱う。

B.
policy-map shape_GigabitEthernet4.200
 class class-default
  service-policy xyz_QoS-model
  shape average 100000000
!
interface GigabitEthernet4.100
 encapsulation dot1Q 100
 service-policy output shape_GigabitEthernet4.200

設定図

VLAN 100を指定し、定義したshape_GigabitEthernet4.200をそのまま適用する。ポリシー名に含まれる200は任意の名前であり、VLANを決めない。

C.
policy-map shape_GigabitEthernet4.100
 class class-default
  service-policy xyz_QoS-model
  shape average 100000000
!
interface GigabitEthernet4.100
 encapsulation dot1Q 200
 service-policy output shape_GigabitEthernet4.100

設定図

encapsulation dot1Q 200

この指定のため、要求されたVLAN 100を扱わない。

D.
policy-map shape_GigabitEthernet4.200
 class class Queue0
  service-policy xyz_QoS-model
  shape average 100000000
!
interface GigabitEthernet4.100
 encapsulation dot1Q 100
 service-policy output shape_GigabitEthernet4.100

設定図

定義はshape_GigabitEthernet4.200だが、適用する名前はshape_GigabitEthernet4.100で一致していない。

関連する解説

Shapingとpolicingの設定
お問い合わせ

演習する →