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.
After analysis,sampling information cannot be colleced in et-trunk and sampling mode is random packet sampling.
After analysis 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.
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 " User Agreement."
Are you sure to block this user? Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.