BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

F5 Networks 301b Exam - Topic 2 Question 133 Discussion

Posted by Martin on Oct 15, 2026 at 08:09 PM

A virtual server for a set of web services is constructed on an LTM device. The LTM Specialist has created an iRule and applied this iRule to the virtual server:

when HTTP_REQUEST {

switch [HTTP::uri] {

"/WS1/ws.jsp" {

log local0. "[HTTP::uri]-Redirected to JSP Pool"

pool JSP

}

default { log local0. "[HTTP::uri]-Redirected to Non-JSP Pool"

pool NonJSP

}

}

}

However, the iRule is NOT behaving as expected. Below is a snapshot of the log:

/WS1/ws.jsp-Redirected to JSP Pool

/WS1/ws.jsp-Redirected to JSP Pool

/WS1/ws.jsp-Redirected to JSP Pool

/WS1/WS.jsp-Redirected to Non-JSP Pool

/ws1/WS.jsp-Redirected to Non-JSP Pool

/WS1/ws.jsp-Redirected to JSP Pool

/ws1/ws.jsp-Redirected to Non-JSP Pool

What is the problem?

Suggested Answer: A

Get Premium 301b Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
9 comments · newest first
JO
Johnna 3 days ago
I thought the pools could handle case differences automatically?
JO
Johnna 9 days ago
I think the 'switch' command is fine, it's the case sensitivity that's messing it up.
KA
Kate 14 days ago
Wait, is there a way to make it case-insensitive?
EL
Elinore 19 days ago
Totally agree, case sensitivity is a common issue!
WI
Willetta 24 days ago
The condition in the iRule is case sensitive.
ER
Erinn 29 days ago
I thought the pools themselves could be case-insensitive, but I'm not confident about that. It could be a factor in this situation.
RO
Royce 1 month ago
I feel like we talked about the "Process Case-Insensitivity" option, but I can't recall if it applies here. It might be worth considering.
GL
Glen 1 month ago
I'm not entirely sure, but I think the 'switch' command is supposed to handle different cases. Maybe we used it incorrectly in a similar question?
CA
Cassandra 1 month ago
I remember discussing case sensitivity in iRules during our last practice session. It seems like the issue might be related to that.
0/2000 characters

Save Cancel