[j-nsp] command monitor

david.roy at orange.com david.roy at orange.com
Tue Oct 8 14:29:27 EDT 2013


Hi

You can activate soft sampling (netflow) and select file as output. (but no stat will be done) you can just view sampled flows in file


EX. 

Config 

show configuration forwarding-options
sampling {
    input {
        rate 4000;
        run-length 0;
        max-packets-per-second 4000;
    }
    family inet {
        output {
            flow-inactive-timeout 15;
            flow-active-timeout 60;
            file filename sampled_v5 files 5 size 1m;
        }
    }
}

And monitoring : 

file show /var/tmp/sampled_v5
or monitor start /var/tmp/sampled_v5

# Sep 27 18:34:49
#          Dest             Src  Dest   Src Proto  TOS   Pkt  Intf    IP   TCP
#          addr            addr  port  port              len   num  frag flags
  10.1.1..8   10.1.1..94   161 34985    17  0x0   205 65543   0x4000   0x0
  10.1.1..64  10.1.1..218  2816     0     1  0x0    56   329   0x0   0x0
  10.1.1..98   10.1.1..94   443 14043     6  0x0   209 65543   0x4000   0x18
  10.1.1..64  10.1.1..218  2816     0     1  0x0    56   329   0x0   0x0
  10.1.1..64  10.1.1..218  2816     0     1  0x0    56   329   0x0   0x0

 
David Roy 
IP/MPLS NOC engineer - Orange France
Ph. : +33 2 99 87 64 72
Mob. : +33 6 85 52 22 13
SkypeID : davidroy.35
david.roy at orange.com
 
/--------------------/
JNCIE-SP #703 
JNCIE-ENT #305
JNCIP-SEC


-----Message d'origine-----
De : juniper-nsp [mailto:juniper-nsp-bounces at puck.nether.net] De la part de Rodrigo Augusto
Envoyé : mardi 8 octobre 2013 19:22
À : juniper-nsp at puck.nether.net
Objet : [j-nsp] command monitor

Hi folks!
 
Does anyone knows if junos have a command as equal linux iftop ?!
Thanks!
Rodrigo Augusto
Gestor de T.I. Grupo Connectoway
http://www.connectoway.com.br <http://www.connectoway.com.br/> http://www.1telecom.com.br <http://www.1telecom.com.br/>
* rodrigo at connectoway.com.br
( (81) 3366-7376
( (81) 8184-3646
( INOC-DBA 52965*100





_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net https://puck.nether.net/mailman/listinfo/juniper-nsp

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.




More information about the juniper-nsp mailing list