How to use the TCP traceroute in Juniper?
In Juniper OS I only know
I don't know how to traceroute a destination with TCP protocol. is it possible to implement it?
Network Engineering Stack Exchange is a question and answer site for network engineers. It only takes a minute to sign up.Sign up to join this community
tcptraceroute is a 3rd party binary, so it's not something you can use by default.
is it possible to implement it?
Yes, but with inherent security risk.
The Junos OS with Enhanced Automation software image is a full-featured version of Junos OS that bundles additional automation tools with the image and disables Veriexec enforcement.
Basically, it lets operators who use automation tools like Puppet or Chef run necessary components on Junos.
You could implement
tcptraceroute in Python when using this type of image.
The other method is to manually adjust the necessary kernel variables with
sysctl from a root shell. I wouldn't recommend this as it would be considered unsupported, so if something happened, JTAC might not be able to help you.