Esse exemplo foi usado na Linha NE (Routers). Alguns valores como slot e interface podem mudar.
Configurar dentro do controlado para gerar o NetStream
slot X ip netstream sampler to slot self ipv6 netstream sampler to slot self commit
Configurar os modos de exportar, especificar a versão e o IP da caixa que irá exportar o fluxo.
ip netstream export index-switch 32 ip netstream as-mode 32 ip netstream tcp-flag enable ip netstream export version 9 peer-as ip netstream export source SOURCE_IP commit
Configurar os modos de exportar, especificar a versão e o IPv6 da caixa que irá exportar o fluxo.
ipv6 netstream export index-switch 32 ipv6 netstream as-mode 32 ipv6 netstream tcp-flag enable ipv6 netstream export version 9 peer-as ipv6 netstream export source ipv6 SOURCE_IPv6 commit
Configurar a forma/quantidade de pacotes que estarão na amostragem do fluxo.
ip netstream sampler fix-packets 1 inbound ip netstream sampler fix-packets 1 outbound ipv6 netstream sampler fix-packets 1 inbound ipv6 netstream sampler fix-packets 1 outbound commit
Configurar a agregação e definir para qual servidor e porta o fluxo será exportado
ip netstream aggregation as export version 9 enable ip netstream export host NetStream_SERVER SERVER_PORT commit quit
ipv6 netstream aggregation as export version 9 enable ipv6 netstream export host NetStream_SERVER SERVER_PORT commit quit
Configurar a interface onde vai ser gerada a captura.
interface Eth-Trunk0.1755 ip netstream inbound ip netstream outbound ipv6 netstream inbound ipv6 netstream outbound commit