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

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.