Quantcast
Channel: All Ethernet Switching posts
Viewing all articles
Browse latest Browse all 10307

Re: sflow sampling for qfx5100 virtual chassis for junos space

$
0
0

Hi Folks,

The SFlow global configuration CLI would look something like this and the show commands to verify the same are below. I would suggest to direct  the traffic to a unix box and take a tcpdump to isolate the behavior.

 

protocols {

sflow {

agent-id <ip-address>;

source-ip <ip-address>;

collector {

ip-address <ip address>;

udp-port <port number>;

} [4];

interfaces <interface-name> {

polling-interval <number>;

sample-rate {

egress <rate>;

ingress <rate>;

}

}

polling-interval <number>;

sample-rate {

egress <rate>;

ingress <rate>;

}

}

}

show sflow global configurations – displays the global default parameters.

root> show sflow

sFlow : Enabled

Sample rate egress : 1:500 Enabled

Sample rate ingress : 1:2000 Disabled

Sample limit : 300 packets/second

Polling interval : 20 seconds

Agent ID : a.b.c.d

Source IP address : x.y.z.q

The sample rate Ingress and egress and polling interval mentioned here are of

sampling/polling rate configured globally.

Sample limit is Adaptive sample rate which is not configurable.

show sflow interfaces – displays the interfaces on which sflow is enabled and the

sampling parameters on them.

root> show sflow interfaces

Interface Status Sample-rate Actual Polling-interval

Egress Ingress Egress Ingress Egress Ingress

Tor1:xe-1/0/0.0 Enabled Disabled 300 200 1200 1400 20 sec

Tor2:xe-1/0/1.0 Enabled Enabled 200 500 800 500 30 sec

 


Viewing all articles
Browse latest Browse all 10307

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>