Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
VMware vSphere Troubleshooting

You're reading from   VMware vSphere Troubleshooting Gain expertise in troubleshooting most common issues to implement vSphere environments with ease

Arrow left icon
Product type Paperback
Published in Nov 2015
Publisher
ISBN-13 9781783551767
Length 270 pages
Edition 1st Edition
Tools
Arrow right icon
Toc

Table of Contents (11) Chapters Close

Preface 1. The Methodology of Problem Solving 2. Monitoring and Troubleshooting Host and VM Performance FREE CHAPTER 3. Troubleshooting Clusters 4. Monitoring and Troubleshooting Networking 5. Monitoring and Troubleshooting Storage 6. Advanced Troubleshooting of vCenter Server and vSphere Hosts A. Learning PowerGUI Basics B. Installing VMware vRealize Operations Manager C. Power CLI - A Basic Reference Index

Verifying VLAN configuration from CLI


Following are the steps for verifying VLAN configuration from CLI:

  1. Log in to vSphere CLI. Type the following command in the console:

    esxcfg-vswitch -l 
    
  2. Alternatively, in the vMA appliance, type the vicfg-vswitch command—the output is similar for both commands:

    vicfg-vswitch –l
    
  3. The output of the excfg-vswitch –l command is as follows:

    Switch Name      Num Ports   Used Ports  Configured Ports  MTU     Uplinks
    vSwitch0         128         7           128               1500    vmnic3,vmnic2
    
      PortGroup Name        VLAN ID  Used Ports  Uplinks
      vMotion               2231     1           vmnic3,vmnic2
      Management Network    2230     1           vmnic3,vmnic2
    
    ---Omitted output---
    
  4. The output of the vicfg-vswitch –l command is as follows:

    Switch Name     Num Ports       Used Ports      Configured Ports    MTU     Uplinks
    vSwitch0        128             7               128                 1500    vmnic2,vmnic3
    
       PortGroup Name                VLAN ID   Used...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image