{"id":11885,"date":"2019-04-12T17:41:46","date_gmt":"2019-04-12T20:41:46","guid":{"rendered":"https:\/\/made4it.com.br\/configuracion-netflow-en-enrutadores-huawei\/"},"modified":"2023-03-09T14:55:34","modified_gmt":"2023-03-09T17:55:34","slug":"configuracion-netflow-en-enrutadores-huawei","status":"publish","type":"post","link":"https:\/\/made4it.com.br\/es\/configuracion-netflow-en-enrutadores-huawei\/","title":{"rendered":"Configuraci\u00f3n de Netflow en routers Huawei"},"content":{"rendered":"\n<p>Hola<\/p>\n\n<p>Hoy vamos a desglosar c\u00f3mo configurar su router Huawei para exportar Netflow (Netstream IP).  <\/p>\n\n<p>Esta es la topolog\u00eda de la red y la informaci\u00f3n del servidor Netflow<\/p>\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"362\" src=\"https:\/\/www.made4it.com.br\/wp-content\/uploads\/2019\/04\/netflow-1024x362.png\" alt=\"\" class=\"wp-image-805\" srcset=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2019\/04\/netflow-1024x362.png 1024w, https:\/\/made4it.com.br\/wp-content\/uploads\/2019\/04\/netflow-300x106.png 300w, https:\/\/made4it.com.br\/wp-content\/uploads\/2019\/04\/netflow-768x272.png 768w, https:\/\/made4it.com.br\/wp-content\/uploads\/2019\/04\/netflow.png 1066w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>Topolog\u00eda e informaci\u00f3n del servidor Netflow<\/figcaption><\/figure>\n\n<p>Estos son los pasos necesarios para configurar el router de Huawei para exportar Netflow v5\/v9 a trav\u00e9s de Netstream IP<\/p>\n\n<ol class=\"wp-block-list\"><li>Configurar el servidor NTP<\/li><li>Configurar la ranura para exportar informaci\u00f3n<\/li><li>Configuraci\u00f3n de Netstream IP con Netflow Server<\/li><li>Configurar la interfaz para activar Netflow en la interfaz<\/li><\/ol>\n\n<p>Vamos con la configuraci\u00f3n paso a paso<\/p>\n\n<h3 class=\"wp-block-heading\">1.Configuraci\u00f3n del servidor NTP<\/h3>\n\n<p>Es importante configurar un servidor NTP ya que los datos de Flows utilizan  \ntimestamp seg\u00fan la hora del router, si el router es  \nuna hora de servidor diferente los datos no coincidir\u00e1n con los  \ntiempo, generando un desajuste de la informaci\u00f3n.<\/p>\n\n<p>Es importante que configures al menos 2 servidores NTP y tambi\u00e9n la zona horaria de tu router.<\/p>\n\n<pre class=\"wp-block-preformatted\">ntp-service server disable  <br\/>ntp-service ipv6 server disable  <br\/>ntp-service unicast-peer 200.160.0.8<br\/>ntp-service unicast-peer 200.189.40.8<br\/><\/pre>\n\n<h3 class=\"wp-block-heading\">2. Configurar la ranura para exportar informaci\u00f3n<\/h3>\n\n<p>En los routers Huawei es necesario configurar el Slot para exportar informaci\u00f3n, para ello utilice los comandos:<\/p>\n\n<pre class=\"wp-block-preformatted\">ranura 3  <br\/>ip netstream sampler to slot self  <br\/>ipv6 netstream sampler to slot self<\/pre>\n\n<h3 class=\"wp-block-heading\">3. Configuraci\u00f3n de Netstream IP con Netflow Server<\/h3>\n\n<p>En los routers Huawei debe configurar la IP de Netflow para decir qu\u00e9 servidor recibir\u00e1 los datos de Netflow, qu\u00e9 muestreo (sampler), qu\u00e9 versi\u00f3n de Netflow y la IP de origen de Netflow. Para la configuraci\u00f3n utilice los siguientes comandos:<\/p>\n\n<pre class=\"wp-block-preformatted\">  ip netstream timeout active 1<br\/>  ip netstream timeout inactive 15<br\/>  ip netstream export versi\u00f3n 9<br\/>  ip netstream export index-switch 32<br\/>  ip netstream export template timeout-rate 1<br\/>  ip netstream sampler fix-packets 500 inbound<br\/>  ip netstream sampler fix-packets 500 outbound<br\/>  ip netstream export source 192.168.210.49<br\/>  ip netstream export host 192.168.210.47 2055<br\/>  ip netstream export template option sampler<br\/>  ip netstream export template option timeout-rate 1<br\/>  ip netstream as-mode 32<\/pre>\n\n<pre class=\"wp-block-preformatted\">  ipv6 netstream as-mode 32<br\/>  ipv6 netstream timeout active 1<br\/>  ipv6 netstream timeout inactive 15<br\/>  ipv6 netstream export versi\u00f3n 9<br\/>  ipv6 netstream export index-switch 32<br\/>  ipv6 netstream export template timeout-rate 1<br\/>  ipv6 netstream sampler fix-packets 500 inbound<br\/>  ipv6 netstream sampler fix-packets 500 outbound<br\/>  ipv6 netstream export source 192.168.210.49<br\/>  ipv6 netstream export host 192.168.210.47 2055<br\/>  ipv6 netstream export template option sampler<br\/>  ipv6 netstream export template option timeout-rate 1<br\/>  ipv6 netstream as-mode 32<\/pre>\n\n<h3 class=\"wp-block-heading\">4. Configurar la interfaz para activar Netflow en la interfaz<\/h3>\n\n<p>Finalmente necesitamos activar las interfaces que exportar\u00e1n Netflow, para ello en cada interfaz utilice los comandos:<br\/><\/p>\n\n<pre class=\"wp-block-preformatted\">ip netstream inbound  <br\/>ipv6 netstream inbound<\/pre>\n\n<p><strong>A continuaci\u00f3n se muestra la configuraci\u00f3n completa del router:<\/strong><\/p>\n\n<pre class=\"wp-block-preformatted\">ntp-service server disable<br\/>ntp-service ipv6 server disable<br\/>ntp-service unicast-peer 200.160.0.8<br\/>ntp-service unicast-peer 200.189.40.8<\/pre>\n\n<pre class=\"wp-block-preformatted\">ranura 3<br\/>\n  ip netstream sampler to slot self<br\/>\n  ipv6 netstream sampler to slot self<\/pre>\n\n<pre class=\"wp-block-preformatted\">ip netstream timeout active 1<br\/>ip netstream timeout inactive 15<br\/>ip netstream export versi\u00f3n 9<br\/>ip netstream export index-switch 32<br\/>ip netstream export template timeout-rate 1<br\/>ip netstream sampler fix-packets 500 inbound<br\/>ip netstream sampler fix-packets 500 outbound<br\/>ip netstream export source 192.168.210.49<br\/>ip netstream export host 192.168.210.47 2055<br\/>ip netstream export template option sampler<br\/>  ip netstream export template option timeout-rate 1<br\/>  ip netstream as-mode 32<\/pre>\n\n<pre class=\"wp-block-preformatted\">ipv6 netstream as-mode 32<br\/>ipv6 netstream timeout active 1<br\/>ipv6 netstream timeout inactive 15<br\/>ipv6 netstream export versi\u00f3n 9<br\/>ipv6 netstream export index-switch 32<br\/>ipv6 netstream export template timeout-rate 1<br\/>ipv6 netstream sampler fix-packets 500 inbound<br\/>ipv6 netstream sampler fix-packets 500 outbound<br\/>ipv6 netstream export source 192.168.210.49<br\/>ipv6 netstream export host 192.168.210.47 2055<br\/>ipv6 netstream export template option sampler<br\/>ipv6 netstream export template option timeout-rate 1<br\/>ipv6 netstream as-mode 32<\/pre>\n\n<pre class=\"wp-block-preformatted\">interfaz eth-trunk0.100 (interfaz de ejemplo)<br\/>ip netstream inbound<br\/>ipv6 netstream inbound<\/pre>\n\n<h4 class=\"wp-block-heading\">Si tiene un NE40, a continuaci\u00f3n encontrar\u00e1 un ejemplo de configuraci\u00f3n:<br\/><\/h4>\n\n<pre class=\"wp-block-preformatted\">ntp-service server disable<br\/>ntp-service ipv6 server disable<br\/>ntp-service unicast-peer 200.160.0.8<br\/>ntp-service unicast-peer 200.189.40.8<\/pre>\n\n<pre class=\"wp-block-preformatted\">ranura 3<br\/>  ip netstream sampler to slot self<br\/>  ipv6 netstream sampler to slot self<\/pre>\n\n<pre class=\"wp-block-preformatted\">ip netstream as-mode 32<br\/>ip netstream timeout inactive 15<br\/>ip netstream export versi\u00f3n 9<br\/>ip netstream export index-switch 32<br\/>ip netstream export template timeout-rate 1<br\/>ip netstream sampler fix-packets 500 inbound<br\/>ip netstream sampler fix-packets 500 outbound<br\/>ip netstream export source 192.168.210.49<br\/>ip netstream export host 192.168.210.47 2055<br\/>ip netstream export template option sampler<br\/>ip netstream export template option timeout-rate 1<br\/>  #<br\/>ipv6 netstream as-mode 32<br\/>ipv6 netstream timeout inactive 15<br\/>ipv6 netstream export versi\u00f3n 9<br\/>ipv6 netstream export index-switch 32<br\/>ipv6 netstream export template timeout-rate 1<br\/>ipv6 netstream sampler fix-packets 500 inbound<br\/>ipv6 netstream sampler fix-packets 500 outbound<br\/>ipv6 netstream export source 192.168.210.49<br\/>ipv6 netstream export host 192.168.210.47 2055<br\/>ipv6 netstream export template option sampler<br\/>ipv6 netstream export template option timeout-rate 1<\/pre>\n\n<pre class=\"wp-block-preformatted\">En todas las interfaces, a\u00f1ada<br\/>  ip netstream inbound<br\/>  ipv6 netstream inbound<\/pre>\n\n<p>Si tiene alg\u00fan router no mencionado aqu\u00ed, env\u00ede un correo electr\u00f3nico a: comercial@made4it.com.br y le enviaremos las configuraciones.<\/p>\n\n<p>Espero haber ayudado y hasta la pr\u00f3xima.<\/p>\n\n<p>Un gran abrazo.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hola Hoy vamos a desglosar c\u00f3mo configurar su router Huawei para exportar Netflow (Netstream IP). Esta es la topolog\u00eda de la red y la informaci\u00f3n del servidor Netflow Estos son los pasos necesarios para configurar el router de Huawei para exportar Netflow v5\/v9 a trav\u00e9s de Netstream IP Configurar el servidor NTP Configurar la ranura [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":15560,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"postBodyCss":"","postBodyMargin":[],"postBodyPadding":[],"postBodyBackground":{"backgroundType":"classic","gradient":""},"footnotes":""},"categories":[540,539],"tags":[678,679,680,681,687,690,541,682,683,456,542,689,684,685,686,688,691],"class_list":["post-11885","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-enrutadores","category-huawei-es","tag-configuracion-de-netflow-de-huawei","tag-configuracion-huawei-netflow","tag-configurar-huawei-netflow-es","tag-configurar-netflow-huawei","tag-flujo-de-red-ip","tag-flujo-de-red-ne20","tag-huawei-es","tag-huawei-ip-netstream-es","tag-huawei-ipnetstream-es","tag-huawei-ne20-es","tag-huawei-ne40-es","tag-huawei-netflow-es-2","tag-huawei-netflow-es","tag-huawei-netflow-v5-es","tag-huawei-netflow-v9-es","tag-ipnetstream-es","tag-netflow-ne40-es"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/made4it.com.br\/es\/wp-json\/wp\/v2\/posts\/11885","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/made4it.com.br\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/made4it.com.br\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/made4it.com.br\/es\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/made4it.com.br\/es\/wp-json\/wp\/v2\/comments?post=11885"}],"version-history":[{"count":0,"href":"https:\/\/made4it.com.br\/es\/wp-json\/wp\/v2\/posts\/11885\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/made4it.com.br\/es\/wp-json\/wp\/v2\/media\/15560"}],"wp:attachment":[{"href":"https:\/\/made4it.com.br\/es\/wp-json\/wp\/v2\/media?parent=11885"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/made4it.com.br\/es\/wp-json\/wp\/v2\/categories?post=11885"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/made4it.com.br\/es\/wp-json\/wp\/v2\/tags?post=11885"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}