What is the default UDP port range of Traceroute on ONTAP?
Applies to
ONTAP 9
Answer
33435~33626
Additional Information
Examine the port range on LAB.
- Start
tcpdumplog collection.::> network tcpdump start -node node-01 -port e0cInfo: Started tcpdump packet trace on interface "e0c"
-
Start
tracerouteby ONTAP's default setting which has 64hops and each hop has three UDP sendings.::> traceroute -node node-01 -destination 10.2.2.2traceroute to 10.2.2.2 (10.2.2.2), 64 hops max, 40 byte packets1 10.128.231.1 (10.128.231.1) 0.491 ms 0.316 ms 0.309 ms2 10.129.79.221 (10.129.79.221) 0.448 ms 0.670 ms 0.439 ms3 10.129.77.193 (10.129.77.193) 1.016 ms 1.357 ms10.129.77.194 (10.129.77.194) 0.857 ms4 10.133.128.106 (10.133.128.106) 121.045 ms 131.110 ms202.3.124.7 (202.3.124.7) 56.697 ms5 * * *6 * * *7 * * *......snipped62 * * *63 * * *64 * * *
- Stop
tcpdumplog collection.::> network tcpdump stop -node node-01 -port e0cInfo: Stopped tcpdump packet trace on interface "e0c" - Collect the
tcpdumpviahttp(s)://<CLUSTER_MGMT_IP>/spi/<NODE_NAME>/etc/log/packet_traces/.
- Verify the destination port range is from 33435~33626.
4180.0173752022-09-01 18:47:14.86340910.128.231.1605244110.2.2.233435UDP6252441 → 33435 Len=204260.0002502022-09-01 18:47:14.86735710.128.231.1605244110.2.2.233436UDP6252441 → 33436 Len=204280.0001122022-09-01 18:47:14.86766910.128.231.1605244110.2.2.233437UDP6252441 → 33437 Len=20・・・・77740.1051422022-09-01 19:02:09.40947710.128.231.1605244110.2.2.233625UDP6252441 → 33625 Len=2078370.2483902022-09-01 19:02:14.42025510.128.231.1605244110.2.2.233626UDP6252441 → 33626 Len=20
