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
tcpdump
log collection.::> network tcpdump start -node node-01 -port e0c
Info: Started tcpdump packet trace on interface "e0c"
-
Start
traceroute
by ONTAP's default setting which has 64hops and each hop has three UDP sendings.::> traceroute -node node-01 -destination 10.2.2.2
traceroute to 10.2.2.2 (10.2.2.2), 64 hops max, 40 byte packets
1 10.128.231.1 (10.128.231.1) 0.491 ms 0.316 ms 0.309 ms
2 10.129.79.221 (10.129.79.221) 0.448 ms 0.670 ms 0.439 ms
3 10.129.77.193 (10.129.77.193) 1.016 ms 1.357 ms
10.129.77.194 (10.129.77.194) 0.857 ms
4 10.133.128.106 (10.133.128.106) 121.045 ms 131.110 ms
202.3.124.7 (202.3.124.7) 56.697 ms
5 * * *
6 * * *
7 * * *
......snipped
62 * * *
63 * * *
64 * * *
- Stop
tcpdump
log collection.::> network tcpdump stop -node node-01 -port e0c
Info: Stopped tcpdump packet trace on interface "e0c"
- Collect the
tcpdump
viahttp(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=20
4260.0002502022-09-01 18:47:14.86735710.128.231.1605244110.2.2.233436UDP6252441 → 33436 Len=20
4280.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=20
78370.2483902022-09-01 19:02:14.42025510.128.231.1605244110.2.2.233626UDP6252441 → 33626 Len=20