Eth-trunk interface does not support random packet sampling problem

Created: Mar 14, 2016 00:13:21Latest reply: Mar 14, 2016 00:34:47 1182 1 0 0
【Problem Summary】thailand dtac isp netstream don't have cache
【Problem Details】

After configuring Eth-trunk,User feedback Cache does not generate sampling packet and relevant interface no packet output.

User enabled sampling in 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
....
  • x
  • convention:

Ravger     Created Mar 14, 2016 00:34:47 Helpful(0) Helpful(0)

Handling Process

1.Firstly,We check sampling configuration is complete.configuration include sampling ratio, host and source address, configure sampling mode in slot view, enable sampling in interface view.

#

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. To compare and ***yze  other sampling configuration of interface.

other sampling configuration is shown below

#

Interface GigabitEthernet2 / 0/4

Undoshu TD own

Mtu 1550

...
IP netstreaminbound

IP netstreamstatisticsenable

#

After inquiry,sampling information can be collected in 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

...


After ***ysis,sampling information cannot be colleced in et-trunk and sampling mode is random packet sampling.

After ***ysis and confirmation,Eth-trunk only support fixed packet sampling.

fixed package sampling command:

IP netstreamsamplerfix - packets Fix, packet - number { Inbound | Outbound }

Root Cause

Eth-trunk does not support random packet sampling.
Solution

【Resolution Summary】
【Resolution Details】
Sampling mode change to fixed package sampling to slove the problem.
Whatever sampling mode, only sampling way is different.packet size is random in live network and two ways does not differ much.
Suggestions

1. Eth-trunk/ip-trunk /tunnel /mtunel only Support  fixed package sampling.
2.  Physical port and  logical port  are only Support fixed package sampling in LPUF-20/21/40 Board.
equipment support four simpling mode: fixed packet sampling, random packet sampling, fixed interval sampling and random interval sampling,
so we should  set a proper sampling mode to suit your need.

  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top