La interfaz Eth-trunk no admite problemas de muestreo de paquetes aleatorios
[Resumen del problema] Dtac isp netstream no tiene caché
[Detalles del problema]
Después de configurar Eth-trunk, la memoria caché de comentarios del usuario no genera el paquete de muestreo y la interfaz relevante no tiene salida de paquete.
Muestreo habilitado por el usuario en Eth-trunk8:
#
InterfaceEth - Trunk8. 103
Vlan - type dot1q 103
...
IP netstreaminbound
#
InterfaceEth - Trunk8. 105
Vlan - type dot1q 105
...
IP netstreaminbound
#
The ports of Slot 2, 3, 7 add to Eth-trunk8 :
#
Interface GigabitEthernet2 / 0/1
Undoshu TD own
Eth-trunk8
#
Interface GigabitEthernet3 / 0/0
Undoshu TD own
Eth-trunk8
#
Interface GigabitEthernet7 / 0/0
Undoshu TD own
Eth-trunk8
#
To query Cache Information,for example slot3, no Cache and no statistical information:
[ ROUT6 ] dis IP NetStream Cache Asslot3
Info: Norequiredstreamcanbefoundinthecache.
[ ROUT6 ] dis IP netstreamst
[ ROUT6 ] dis IP netstreamstatistics Slot Three
Netstreamstatisticinformationonslot3:
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Lengthofpackets Number Protocol Number
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
One ~ 64 : 0 IPV4 : 0
65 ~ 128 : 0 IPV6 : 0
129 ~ 256 : 0 MPLS : 0
257 ~ 512 : 0 L2 : 0
513 ~ 1024: 0 Total : 0
1025 ~ 1500: 0
Longerthan 1500: 0
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Aggregation CurrentStreams AgedStreams
CreatedStreams ExportedPackets ExportedStreams
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Origin 0 0
0 0 0
As 0 0
0 0 0
As-tos 0 0
0 0 0
Protport 0 0
0 0 0
Protporttos 0 0
0 0 0
Srcprefix 0 0
0 0 0
Srcpretos 0 0
0 0 0
Dstprefix 0 0
0 0 0
Dstpretos 0 0
0 0 0
Prefix 0 0
0 0 0
Prefix-tos 0 0
0 0 0
Mpls-label 0 0
0 0 0
Vlan - id 0 0
0 0 0
Bgp-nhp-tos 0 0
0 0 0
Index-tos 0 0
0 0 0
Src - index, tos0 0
0 0 0
All-aggre 0 0
0 0 0
....
Proceso de manejo
1. En primer lugar, verificamos que la configuración de muestreo esté completa. La configuración incluye la relación de muestreo, la dirección del host y la fuente, configurar el modo de muestreo en la vista de ranura, habilitar el muestreo en la vista de interfaz.
#
IP netstreamas - mode 32
IP netstreamexportversion9origin - as BG P - nexthop
IP netstreamsampler RAN dom, packets 100 inbound
IP netstreamsampler RAN dom, packets 100 outbound
IP netstreamexportsource 172.3.1.1
IP netstreamexporthost 172.3.2.6 9905
#
InterfaceEth - Trunk8. 103
Vlan - type dot1q 103
...
IP netstreaminbound
#
Slot 3
IP netstreamsamplertoslotself
#
2. Comparar y analizar otra configuración de muestreo de interfaz. Otra configuración de muestreo se muestra a continuación
#
Interface GigabitEthernet2 / 0/4
Undoshu TD own
Mtu 1550
...
IP netstreaminbound
IP netstreamstatisticsenable
#
Después de la consulta, la información de muestreo se puede recopilar en slot2.
[RST-ISP - AGG -06 -diagnose ] dis IP NetStream Cache Asslot2
Starttoshowinformationofaggregation - ascacheofslot 2
Gettinguserdatafromcachesuccess.
DstIf DstAs Streams Packets Direction
SrcIf SrcAs
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
108 /0/0 36351 One 2. In
GI2 and 0/4 132032
108 and 1/0 45758 Three 135 In
GI2 and 0/4 132032
108 and 1/0 1267 One One In
GI2 and 0/4 132032
108 /0/0 18837 2. 2. In
GI2 and 0/4 132032
108 and 1/0 56041 Three Three In
GI2 and 0/4 132032
108 /0/0 48882 One One In
GI2 and 0/4 132032
...
Después del análisis, la información de muestreo no se puede recopilar en et-trunk y el modo de muestreo es un muestreo aleatorio de paquetes.
Después del análisis y la confirmación, Eth-trunk solo admite el muestreo de paquetes fijos.
Comando de muestreo de paquete fijo:
IP netstreamsamplerfix - packets Fix, packet - number { Inbound | Outbound }