問題
IPv4の宛先210.10.65.1に対するICMP Echo Requestを分類したい。該当するclass-mapの条件はどれか。
- A
match destination-address ipv4 210.10.65.1 match protocol 7 match ipv4 icmp-type 3 - B
match destination-address ipv4 210.10.65.1 match protocol 1 match ipv4 icmp-type 8 - C
match destination-address ipv4 210.10.65.1 match protocol 3 match ipv4 icmp-type 5 - D
match destination-address ipv4 210.10.65.1 match protocol 6 match ipv4 icmp-type 9
正解:B
理由
IPv4 ICMPはIP protocol 1、Echo RequestはICMP type 8である。分類した通信を転送先変更等のアクションへ関連付ける。
選択肢ごとの説明
- A.
match destination-address ipv4 210.10.65.1 match protocol 7 match ipv4 icmp-type 3 IPv4のICMPはprotocol 1で、Echo Requestはtype 8である。
- B.
match destination-address ipv4 210.10.65.1 match protocol 1 match ipv4 icmp-type 8 宛先に加え、ICMPのprotocol 1とEcho Requestのtype 8を指定する。
- C.
match destination-address ipv4 210.10.65.1 match protocol 3 match ipv4 icmp-type 5 ICMPのprotocol値とEcho Requestのtype値が一致しない。
- D.
match destination-address ipv4 210.10.65.1 match protocol 6 match ipv4 icmp-type 9 protocol 6はTCPを表す。