SRX Services Gateway
Highlighted
SRX Services Gateway

How to find out which node in the cluster is forwarding traffic ?

‎02-23-2012 11:03 PM

This might seem a dumb question Smiley Sad

 

how can one find out which cluster is actually forwarding the traffic ( other than issuing " show chassis cluster status " and checking which "rg" is primary on what node )

 

 

Thanks,
Viks

3 REPLIES 3
Highlighted
SRX Services Gateway
Solution
Accepted by topic author viks_a
‎08-26-2015 01:27 AM

Re: How to find out which node in the cluster is forwarding traffic ?

‎02-24-2012 12:18 AM

Not sure what answer are you looking for, but one thing I sometimes do is execute

show security flow session

 

session counters on backup node will remain "0"

 

Session ID: 371, Policy name: XXXXX/4, State: Backup, Timeout: 14382, Valid

  In: xx.xx.xx.xx/16286 --> xx.xx.xx.xx/80;tcp, If: reth1.0, Pkts: 0, Bytes: 0  

 Out: xx.xx.xx.xx/80--> xx.xx.xx.xx/16286;tcp, If: reth0.0, Pkts: 0, Bytes: 0

Highlighted
SRX Services Gateway

Re: How to find out which node in the cluster is forwarding traffic ?

‎02-24-2012 12:24 AM

Thanks you . This is what I was looking for

Highlighted
SRX Services Gateway

Re: How to find out which node in the cluster is forwarding traffic ?

‎02-24-2012 06:25 AM

There's a even beter way, I think.

 

Look at the outout below

The State column actually tells you excatly what that node state is at that moment.

 

node0:
--------------------------------------------------------------------------

Session ID: XXXX, Policy name: lnx/7, State: Backup, Timeout: 704, Valid
In: XX.XX.XX.XX/22016 --> XX.XX.XX.XX/2222;tcp, If: reth0.0, Pkts: 0, Bytes: 0
Out: XX.XX.XX.XX/22 --> XX.XX.XX.XX/22016;tcp, If: reth1.0, Pkts: 0, Bytes: 0

 

node1:
--------------------------------------------------------------------------

Session ID: XXXX, Policy name: lnx/7, State: Active, Timeout: 1776, Valid
In: XX.XX.XX.XX/22016 --> XX.XX.XX.XX/2222;tcp, If: reth0.0, Pkts: 982806, Bytes: 45557515
Out: XX.XX.XX.XX/22 --> XX.XX.XX.XX/22016;tcp, If: reth1.0, Pkts: 1763618, Bytes: 2482431535

 

-John

 

JNCIP-SEC
Feedback