09-12-2016 01:18 AM - edited 03-05-2019 04:41 AM
Hello,
Equipement: CISCO2921/K9
Cisco 22921 is used as Customer Edge
I have one interface g0/0 which is configured with subinterfaces (g0/0.200, g0/300).
g0/0 haven't IP adress but each subinterface have IP address.
interface GigabitEthernet0/0
no ip address
no ip unreachables
no ip proxy-arp
duplex auto
speed auto
no mop enabled
interface GigabitEthernet0/0.200
description
encapsulation dot1Q 200
ip address 10.150.20.XX 255.255.255.248
Question :
Is it possible to setup netflow just only on g0/0 to get all flow to this interface instead to setup on each subinterface?
09-12-2016 02:07 AM
Hello ,
Yes it is possible to configure Netflow just on the gig0/0.
By doing that you will only have one entry for both sub-interfaces instead of having two separates entries.
09-12-2016 02:37 AM
Hello,
Thanks for your answer.
Can you tell me how to implement it on 2921/K9?.
How can you do without IP adress on g0/0?.
regards.
09-12-2016 02:59 AM
Cisco recommend that Netflow should be configured on the physical interface as well as on the sub-interfaces.
The reason is that when configure only on sub-interfaces Netflow performs additional check for status of each sub-interfaces which requires more cpu processing.
But when enabled on the physical interface and sub-interfaces Netflow only check status of the physical interface so less cpu processing.
for more detail and configuration related command kindly refer to this link :
http://www.cisco.com/c/en/us/td/docs/ios/12_2s/feature/guide/fs_nfsub.pdf
Regards
Verlein
09-12-2016 04:13 AM
Hello Verlein,
I agree with you that cisco recommended that we can use Netflow on the physical interface as well as the subinterfaces. But they have never specified if we should have an IP adress on the Physical or not.
I read your link http://www.cisco.com/c/en/us/td/docs/ios/12_2s/feature/guide/fs_nfsub.pdf but I don't find the answer.
As you know, in some configuration the physical adress is up but the ip adresses is unsinged. And till now I don't find a cisco documentation in which they specify with IP address or whitout it.
Regards,
Rim
09-12-2016 04:24 AM
Hi Rim ,
The Netflow configuration doesn't require to have an ip on the physical interface.
As long as traffic flows through that interface , Netflow will be able to capture informations and create entries.
hope that answers your question.
Regards.
verlein
09-12-2016 05:26 AM
Yes thank you Verlein :)
Regards,
Rim
09-13-2016 06:33 AM
Hi verlein,
is it depending on netflow version ? or any version (5 and 9), implementation of netflow on physical interface on g0/0 is possible?.
09-13-2016 06:38 AM
hello ,
This is irrespective of the version you are using. Netflow version 9 is for MPLS
Regards
Verlein
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide