Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

fellow traffic

Ganns
Nimbostratus
Nimbostratus

hi everyone!

I need to know how to check the traffic hits on specific VS whether this traffic is local or external through the CLI or configuration utility. 

1 ACCEPTED SOLUTION

Paulius
MVP
MVP

@Ganns You should be able using the following iRule.

when CLIENT_ACCEPTED priority 500 {

    log local0. "[virtual] - client ip=[IP::client_addr]:[TCP::client_port]"

}

Alternatively, if you needed to see it right then in the CLI you can look at the connection table and look at the client_addr section to see the true client IP. The following page should provide additional information to assist you.

https://my.f5.com/manage/s/article/K53851362

View solution in original post

3 REPLIES 3

Paulius
MVP
MVP

@Ganns You should be able using the following iRule.

when CLIENT_ACCEPTED priority 500 {

    log local0. "[virtual] - client ip=[IP::client_addr]:[TCP::client_port]"

}

Alternatively, if you needed to see it right then in the CLI you can look at the connection table and look at the client_addr section to see the true client IP. The following page should provide additional information to assist you.

https://my.f5.com/manage/s/article/K53851362

Ganns
Nimbostratus
Nimbostratus

hi Paulius, 

thanks for  your feedback. 

HaylieSenger
Nimbostratus
Nimbostratus

To check traffic hits on a specific Virtual Server (VS) in Citrix ADC through the CLI, use the command: `nsconmsg -K /var/nslog/newnslog -d stats -g service -c showstats | grep "<VS_NAME>"`. Analyze the output for hit count details.