Author: rtoodtoo

Genco has worked for more than 10 years as a Network/Support Engineer. He is also interested in Python, Linux, Security and SD-WAN, currently lives in the Netherlands and works as a Network Support Engineer at Tesla Inc. // JNCIE-SEC #223 / RHCE / PCNSE

List trunk ports on Juniper Switch

Have you ever wanted to list the trunk ports on a Juniper EX switch? Unfortunately there doesn’t seem to exist a single dedicated command for this purpose. In the past I used to use the following command: > show ethernet-switching interfaces detail | match Trunk but this is not working on new releases. Juniper keeps
Read More »

SRX240 and SRX340 failure rates

Recently I upgraded dozens of SRX240H2 and SRX340 series Juniper firewalls and around %10 of SRX240H2 boxes either crashed during upgrade or after upgrade and none on 340 series. Although 340 is a newer platform, I would like to be positive and believe the fact that Juniper has improved both hardware and software quality. What
Read More »

SRX standard and structured syslogging

SRX can send the logs in two formats standard and structured. If you haven’t made any extra config, what you see in the traffic logs is usually standard one. However structured one is easier to read and parse. Look, it is in the format field_name = field_value, so you can parse it or more friendly.
Read More »

Changes bringing interface down in Junos

I don’t know if there is any comprehensive list of changes which brings down an interface apart from specifically disabling the interface. So far I recall two of them which are striking and might not be expected to flap interface. If anyone has also experience, it might be a good place to share. per-unit-scheduler Years
Read More »

error: put-file failed on Junos

I have got the following error while I was trying to copy a file via SCP on Junos. As per the error, I thought it is something to do with my local permissions but I could read the source backup.conf file. I searched online, numerous entries showed up. yilmaz@host> file copy backup.conf scp://yilmaz@10.1.1.1:~/ yilmaz@10.1.1.1's password:
Read More »

SSH client preference

There are various SSH clients for Windows platforms and up until couple of months ago I was thinking that the best SSH client for me was SecureCRT but I discovered another one called Mobaxterm. This product really took my attention, primary reason of which is the richness of the feature set. Fist look at what
Read More »