Hello PL2,
Greeting!
I have dumped the same configuration on one of the lab devices and I was able to see both filters. IPv4 sample and IPv6 Sampling.
labroot@re0> show version
Hostname: jtac-mx480-r2032-re0
Model: mx480
Junos: 19.1R1-S4.2
[edit firewall family inet]
labroot@re0# show
filter ip4_sample {
term t1 {
then {
count ip4_sampling_count;
sample;
}
}
}
[edit firewall family inet6]
labroot@re0# show
filter ip6_sampling {
term t1 {
then {
count ip6_sampling_count;
sample;
}
}
}
[edit forwarding-options sampling]
labroot@re0# show
input {
rate 2000;
}
family inet {
output {
flow-server 192.168.0.1 {
port 1000;
}
}
}
family inet6 {
output {
flow-server 192.168.0.2 {
port 1000;
version9 {
template {
v6;
}
}
}
inline-jflow {
source-address 1.1.1.1;
}
}
}
[edit interfaces ae0]
labroot@re0# show
aggregated-ether-options {
lacp {
active;
}
}
unit 0 {
family inet {
filter {
input ip4_sample;
output ip4_sample;
}
address 1.1.1.1/32;
}
family inet6 {
filter {
input ip6_sampling;
output ip6_sampling;
}
}
}
---------------------------------------------------------------------------------------------
Each iteration was taken after 30-40 seconds after the previous one:
[edit]
labroot@re0# run show interfaces ae0 detail |match filters
Input Filters: ip4_sample
Output Filters: ip4_sample
Input Filters: ip6_sampling
Output Filters: ip6_sampling
[edit]
labroot@re0# run show interfaces ae0 detail |match filters
Input Filters: ip4_sample
Output Filters: ip4_sample
Input Filters: ip6_sampling
Output Filters: ip6_sampling
[edit]
labroot@re0# run show interfaces ae0 detail |match filters
Input Filters: ip4_sample
Output Filters: ip4_sample
Input Filters: ip6_sampling
Output Filters: ip6_sampling
labroot@re0# run show interfaces ae0 detail |match filters
Input Filters: ip4_sample
Output Filters: ip4_sample
Input Filters: ip6_sampling
Output Filters: ip6_sampling
[edit]
labroot@re0# run show interfaces ae0 detail |match filters
Input Filters: ip4_sample
Output Filters: ip4_sample
Input Filters: ip6_sampling
Output Filters: ip6_sampling
Can you please tell me which version you are seeing the issue and on which device?
I hope this helps. Please mark this post "Accept as solution" if this answers your query.
Kudos are always appreciated!
Best Regards,
Lingabasappa H