VMware Cloud Community
jediller
Contributor
Contributor
Jump to solution

Query enabled services from ESXi command line

When I look at a host in VCenter, Selecting the Configure Tab, and selecting VMKernel adapters (Under Networking), and selecting a particular

VMKernel adapter I can for instance see:

Device      Network Label        Switch       IP Address ... (etc)

vmk2        VMkernel                vSwitch0   10.243.13.82

and under it I see: VMKernel network adapter: vmk2  (with Properties selected), I see the Port properties

Network label         VMKernal

VLAN ID                 None (0)

Enabled services   vSAN

---  However, I need to get the information from the command line ---

The closest I come with the esxcfg commands is issuing:

esxcfg-vmknic -l

Interface  Port Group/DVPort/Opaque Network        IP Family IP Address

vmk2       VMkernel                                IPv4           10.243.13.82

My question is what command line command do I need to enter, to see what Enabled services are on my VMKernel network adapter?

In this case, I know the answer is vSAN because I can see it from VCenter, but I need to get the information from the command line.

Reply
0 Kudos
1 Solution

Accepted Solutions
daphnissov
Immortal
Immortal
Jump to solution

esxcli network ip interface tag get -i <vmkernel_port_id>

Example:

[root@esx7:~] esxcli network ip interface tag get -i vmk0

   Tags: VMotion, Management

View solution in original post

Reply
0 Kudos
2 Replies
daphnissov
Immortal
Immortal
Jump to solution

esxcli network ip interface tag get -i <vmkernel_port_id>

Example:

[root@esx7:~] esxcli network ip interface tag get -i vmk0

   Tags: VMotion, Management

Reply
0 Kudos
jediller
Contributor
Contributor
Jump to solution

Just want to say, I am very pleased at the speed and usefulness to the replies in this forum.

Reply
0 Kudos