Monday 27 June 2016

Cisco Nexus 1000v useful show commands

Using the topology view below, refer to useful show commands and the output.














YGNDC-1000V-ACC-01# show module
Mod  Ports  Module-Type                       Model               Status
---  -----  --------------------------------  ------------------  ------------
1    0      Virtual Supervisor Module         Nexus1000V          active *
2    0      Virtual Supervisor Module         Nexus1000V          ha-standby
3    1022   Virtual Ethernet Module           NA                  ok
4    1022   Virtual Ethernet Module           NA                  ok

Mod  Sw                  Hw     
---  ------------------  ------------------------------------------------ 
1    5.2(1)SV3(1.15)     0.0                                             
2    5.2(1)SV3(1.15)     0.0                                              
3    5.2(1)SV3(1.15)     VMware ESXi 6.0.0 Releasebuild-3620759 (6.0)    
4    5.2(1)SV3(1.15)     VMware ESXi 6.0.0 Releasebuild-3620759 (6.0)    

Mod  Server-IP        Server-UUID                           Server-Name
---  ---------------  ------------------------------------  --------------------
1    10.55.26.7       NA                                    NA
2    10.55.26.7       NA                                    NA
3    10.55.26.244     c4c014c0-d421-11e5-a0f5-ab9f62f8bc24  BOTVMWESXP1041
4    10.55.26.249     2e734260-d43c-11e5-aadc-959f62f8bc24  BOTVMWESXP1043

* this terminal session



YGNDC-1000V-ACC-01# sh vtracker module-view pnic
--------------------------------------------------------------------------------
Mod  EthIf     Adapter  Mac-Address    Driver    DriverVer           FwVer          
               Description                                                     
--------------------------------------------------------------------------------
3    Eth3/2    vmnic1   0050.56d2.fcbf                                              
               Emulex Corporation Emulex OneConnect OCe15100 NIC
              
3    Eth3/3    vmnic2   0050.56d2.fd46                                              
               Emulex Corporation Emulex OneConnect OCe15100 NIC
              
3    Eth3/4    vmnic3   0050.56d2.fd47                                              
               Emulex Corporation Emulex OneConnect OCe15100 NIC
              
4    Eth4/2    vmnic1   0050.56d2.fc8d                                              
               Emulex Corporation Emulex OneConnect OCe15100 NIC
              
4    Eth4/3    vmnic2   0050.56d2.fd20                                              
               Emulex Corporation Emulex OneConnect OCe15100 NIC
              
4    Eth4/4    vmnic3   0050.56d2.fd21                                              
               Emulex Corporation Emulex OneConnect OCe15100 NIC
              
--------------------------------------------------------------------------------

 
To view what VM are in each VLAN

-------------------------------------

To view each VM info hosted on specified VEM module

----------------------------------------------------------
To view the IP adderss of the VM, its Veth info and the module it's on


In older versions, the output is like below. 


To know where the VM (using IP address) is located on which ESX host, use this command and find out the module. Then use “show interface virtual” or “show module vem <num>” or “show module”.


------------------------------------------------------------------------------

To view previous vmotion events

To view which Veth resides on which host


To view which module or Eth port is on which host,
 


To view each vethernet port statistics 

To view how port-profiles are being used and what ports are using



No comments:

Post a Comment