An IT administrator wants to log which server is being load balanced to by a user with IP address 10.10.10.25. Which iRule should the LTM Specialist use to fulfill the request?
A.
when SERVER_CONNECTED { if { [IP::addr [IP::remote_addr]] equals 10.10.10.25]} { log local0. "client 10.10.10.25 connected to pool member [IP::addr [LB::server addr]]" } }
B.
when CLIENT_ACCEPTED { if { [IP::addr [clientside [IP::remote_addr]] equals 10.10.10.25]} { log local0. "client 10.10.10.25 connected to pool member [IP::addr [LB::server addr]]" } }
C.
when SERVER_CONNECTED { if { [IP::addr [clientside [IP::remote_addr]] equals 10.10.10.25]} { log local0. "client 10.10.10.25 connected to pool member [IP::addr [LB::server addr]]" } }
D.
when CLIENT_ACCEPTED { if { [IP::addr [IP::remote_addr] equals 10.10.10.25]} { log local0. "client 10.10.10.25 connected to pool member [IP::addr [LB::server addr]]" }
C is the closest but there are two issues:
1. IP::remote_addr should be enclosed with braces, not brackets.
2. The log entry should only reference [LB::server addr]. IP::addr should only be used when making comparisons.
upvoted 3 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Turd
4 months, 2 weeks ago