aydinnmu
(musa)
January 3, 2017, 8:41am
1
Hi guys,
i want to check multiple condition in if statement.
my filter like that but it is not working. it pass everything it worked when i was only one condition.
1 ) doesnt work ->
if [logid] == "%LINK-3-UPDOWN" or "%ETHPORT-5-IF_DOWN_LINK_FAILURE" or "%ETH_PORT_CHANNEL-5-PORT_DOWN"
workb->
if [logid] == "%LINK-3-UPDOWN"
sincerely
You need this:
if [logid] == "%LINK-3-UPDOWN" or [logid] == "%ETHPORT-5-IF_DOWN_LINK_FAILURE" or [logid] == "%ETH_PORT_CHANNEL-5-PORT_DOWN"
6 Likes
aydinnmu
(musa)
January 3, 2017, 10:35am
3
thank you magnus. that is definitly works.
1 Like
system
(system)
Closed
January 31, 2017, 10:36am
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.