問題 ccnp-350-501-topic-1-question-118-v-c5d0ff3c・第6版

問題

Cisco NCS560のIOS XR 7.6を対象とする。複数の新しい機器から、gRPCによるDial-out Telemetry Streamを送る構成を作る。機器側ではTLSを無効にする必要がある。適用する設定はどれか。

  1. A 
    telemetry model-driven
    destination-group ciscotest
    address-family ipv4 192.168.1.0 port 57500
    encoding self-describing-gpb
    protocol grpc tls-hostname ciscotest.com
    commit
    
  2. B 
    telemetry model-driven
    destination-group DGroup1
    address-family ipv4 172.0.0.0 port 5432
    encoding self-describing-gpb
    protocol tcp
    commit
    
  3. C 
    telemetry model-driven
    destination-group ciscotest
    address-family ipv4 192.168.1.0 port 57500
    encoding self-describing-gpb
    protocol grpc no-tls
    commit
    
  4. D 
    telemetry model-driven
    destination-group ciscotest
    address-family ipv4 192.168.1.0 port 57500
    encoding self-describing-gpb
    protocol grpc
    commit
    

正解:C

理由

NCS560のIOS XR7.6では、モデル駆動TelemetryのgRPC Dial-outは既定でTLSを使い、no-tlsで無効にする。tls-hostnameはTLSの証明書へ対応させる名前であり、TLSを無効にしない。self-describing-gpbはEncoding、gRPCはTransportの指定である。TLSを無効にすると、この接続のTLSによる暗号化と相手の検証がなくなるため、必要な通信路の保護を別に設計する。

選択肢ごとの説明

A.
telemetry model-driven
destination-group ciscotest
address-family ipv4 192.168.1.0 port 57500
encoding self-describing-gpb
protocol grpc tls-hostname ciscotest.com
commit

tls-hostnameはTLSで証明書へ対応させる相手の名前を指定する。TLSを使う接続の名前の条件である。

B.
telemetry model-driven
destination-group DGroup1
address-family ipv4 172.0.0.0 port 5432
encoding self-describing-gpb
protocol tcp
commit

protocol tcpはgRPCを選ぶ設定とは異なる。gRPCが下位の通信にTCPを使うことと、CLIのProtocolへtcpを指定することは同じ設定ではない。

C.
telemetry model-driven
destination-group ciscotest
address-family ipv4 192.168.1.0 port 57500
encoding self-describing-gpb
protocol grpc no-tls
commit

IOS XR7.6のモデル駆動TelemetryではgRPC Dial-outは既定でTLSを使う。protocol grpcへno-tlsを指定し、TLSを無効にする。

D.
telemetry model-driven
destination-group ciscotest
address-family ipv4 192.168.1.0 port 57500
encoding self-describing-gpb
protocol grpc
commit

protocol grpcだけでは既定のTLSが残る。EncodingとProtocolを指定することに加え、TLSを無効にするno-tlsの指定が必要になる。

参考資料

お問い合わせ

演習する →