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.

route

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.

Michael

=== END ===

Tagged with: ,
Posted in How To

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: