-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Huawei IPv6 Config Sample #52
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,42 @@ | ||
|
||
slot 1 | ||
ip netstream sampler to slot self | ||
# | ||
slot 2 | ||
ipv6 netstream sampler to slot self | ||
# | ||
ip netstream timeout active 1 | ||
ip netstream timeout inactive 15 | ||
ip netstream export version 9 | ||
|
||
ip netstream export version 9 origin-as | ||
# | ||
# this command is only necessary if you run VRP >= 5.0 | ||
# it will store interface indices in 32bit counters (as SNMP does) instead of 16bit. | ||
ip netstream export index-switch 32 | ||
|
||
ip netstream export template timeout-rate 1 | ||
ip netstream sampler fix-packets {{device_sample_rate}} inbound | ||
ip netstream export source {IP-ADDRESS} | ||
ip netstream export host{{kentik_ingest_IP}} {{kentik_ingest_PORT}} vpn-instance INTERNET | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. either remove |
||
# | ||
ipv6 netstream timeout active 1 | ||
ipv6 netstream timeout inactive 15 | ||
ipv6 netstream export version 9 origin-as | ||
# | ||
ip netstream monitor FLOW-IPv4 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I could not find any references about the |
||
ip netstream export host {{kentik_ingest_IP}} {{kentik_ingest_PORT}} vpn-instance INTERNET version 9 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. either remove |
||
# | ||
ipv6 netstream monitor FLOW-IPv6 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I could not find any references about the |
||
# | ||
# | ||
set flow-stat interval 30 | ||
ipv6 enable | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove this line |
||
ip netstream inbound | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this command should not be in the global configuration mode. It is supposed to be implemented at the interface? |
||
# | ||
ip netstream sampler fix-packets {{device_sample_rate}} inbound | ||
ip netstream export source {{device_sending_ip}} | ||
ip netstream export host {{kentik_ingest_ip_from_UI}} {{kentik_ingest_UDP_port_from_UI}} | ||
# or for randomsampling: | ||
# ip netstream sampler random-packets {{device_sample_rate}} inbound | ||
# | ||
ipv6 netstream inbound | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this command should not be in the global configuration mode. It is supposed to be implemented at the interface? |
||
ipv6 netstream sampler random-packets {{device_sample_rate}} inbound | ||
ip netstream monitor FLOW-IPv4 inbound | ||
ipv6 netstream monitor FLOW-IPv6 inbound | ||
# |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can remove "slots" part as this is already referenced in this file
https://github.com/kentik/config-snippets/blob/cmcgrath138-patch-1/Huawei/netflow-9-linecards.conf
You can add ipv6 statement in that file