Got it

How do we quickly locate routing loops

Created: Mar 28, 2020 08:01:51Latest reply: Mar 28, 2020 08:05:17 339 1 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hi all,

The ttl-expired logs appear on the device. It is speculated that the routing loop may exist. However, it is difficult to troubleshoot the specific point of the routing loop by configuring or checking the route. How do we quickly locate the routing loop?

Mar 26 2020 23:11:26+08:00S9306 D/6/CPCAR_DROP_LPU(l)[27]:Rate of packets tocpu exceeded the CPCAR limit on the LPU in slot 6. (Protocol=ttl-expired,CIR/CBS=64/12032, ExceededPacketCount=43503)

Mar 26 2020 23:01:26+08:00 S9306D/6/CPCAR_DROP_LPU(l)[45]:Rate of packets to cpu exceeded the CPCARlimit on the LPU in slot 6. (Protocol=ttl-expired, CIR/CBS=64/12032,ExceededPacketCount=89190)

Mar 26 2020 22:51:26+08:00 S9306D/6/CPCAR_DROP_LPU(l)[77]:Rate of packets to cpu exceeded the CPCARlimit on the LPU in slot 6. (Protocol=ttl-expired, CIR/CBS=64/12032,ExceededPacketCount=80477)


Featured Answers
Popeye_Wang
Admin Created Mar 28, 2020 08:05:17

Hello,

you can quickly locate the source and destination IP addresses by capturing the packets sent to the CPU. The procedure is as follows: 

1. Configure an ACL that matches the TTL-expired field. 

Advanced ACL 3333, 1 rule 

Acl's step is 5. 

rule 5 permit ip ttl-expired 

2. Capture packets sent to the CPU. 

[Huawei]capture-packet cpu acl 3333 destination file ttl-expired.cap packet-num 1000 time-out 300

[Huawei

  -----------------Packet getting report----------------- 

  file: cfcard:/ttl-expired.cap: 

  packets getting: cpu 

  acl: 3333 

  vlan: - cvlan: - 

  car: -- timeout: 300s 

  packets: 1000 (expected) 1000 (actual) 

  length: 64 (expected) 

  ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 

3. The ttl-expired.cap file is generated in the CFCARD:/ directory. Download the file to the PC and use Wireshark to open it. 

4. Finding the route that caused the loop according to the destination IP of the packets can greatly reduce the scope.

I hope this helps.

View more
  • x
  • convention:

All Answers

Hello,

you can quickly locate the source and destination IP addresses by capturing the packets sent to the CPU. The procedure is as follows: 

1. Configure an ACL that matches the TTL-expired field. 

Advanced ACL 3333, 1 rule 

Acl's step is 5. 

rule 5 permit ip ttl-expired 

2. Capture packets sent to the CPU. 

[Huawei]capture-packet cpu acl 3333 destination file ttl-expired.cap packet-num 1000 time-out 300

[Huawei

  -----------------Packet getting report----------------- 

  file: cfcard:/ttl-expired.cap: 

  packets getting: cpu 

  acl: 3333 

  vlan: - cvlan: - 

  car: -- timeout: 300s 

  packets: 1000 (expected) 1000 (actual) 

  length: 64 (expected) 

  ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 

3. The ttl-expired.cap file is generated in the CFCARD:/ directory. Download the file to the PC and use Wireshark to open it. 

4. Finding the route that caused the loop according to the destination IP of the packets can greatly reduce the scope.

I hope this helps.

View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

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."

My Followers

Login and enjoy all the member benefits

Login

Block
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.