Useful ESXi console command – esxcfg-route -l

Hello all,

I had an interesting network issue recently, and the resolution was fixing a typo in a default gateway.  But I saw an interesting command today I had not seen before for learning more about this sort of stuff.  This will be a reminder to most of you but I thought it was cool enough to share.

esxcfg-route -l

When you execute this on your ESXi console you will see something like below.


So you get to see your routes quite nicely this way.

I solved my problem using a PowerCLI script to show me the configured network settings for each host in the cluster.  I will share that out one day.


=== END ===

Leave a Reply