6.5

Table Of Contents
2 Enable the sshServer ruleset if it is disabled.
esxcli <conn_options> network firewall ruleset set --ruleset-id sshServer --enabled true
3 Obtain access to the ESXi Shell and check the status of the allowedAll ag.
esxcli <conn_options> network firewall ruleset allowedip list --ruleset-id sshServer
Ruleset Allowed IP Addresses
--------- --------------------
sshServer All
See Geing Started with vSphere Command-Line Interfaces for information on accessing the ESXi Shell.
4 Set the status of the allowedAll ag to false.
esxcli <conn_options> network firewall ruleset set --ruleset-id sshServer --allowed-all false
5 Add the list of allowed IP addresses.
esxcli <conn_options> network firewall ruleset allowedip add --ruleset-id sshServer --ip-
address 192.XXX.1.0/24
esxcli <conn_options> network firewall ruleset allowedip add --ruleset-id sshServer --ip-
address 192.XXX.10.10
6 Check the allowed IP address list.
esxcli <conn_options> network firewall ruleset allowedip list --ruleset-id sshServer
Ruleset Allowed IP Addresses
--------- -----------------------------
sshServer 192.XXX.10.10, 192.XXX.1.0/24
Monitor VXLAN
The esxcli network vswithch dvs vmware vxlan namespace supports commands for exploring VXLAN
conguration details.
For a more detailed example of this functionality, see the VMware vSphere blog post about the topic.
Procedure
1 List all available VXLAN vNetwork Distributed Switches.
esxcli network vswitch dvs vmware vxlan list
2 View the VXLAN statistics level.
esxcli network vswitch dvs vmware vxlan config stats get
3 Change the statistics level, for example, from 0 to 1.
esxcli network vswitch dvs vmware vxlan config stats set --level 1
You can decide to lter statistics as follows.
n
For a vNetwork Distributed Switch, localized to an ESXi host
n
For a VTEP VMkernel interface
n
For a VXLAN segment ID
n
For a vNetwork Distributed Switch port ID
4 View statistics for a specic vNetwork Distributed Switch.
esxcli network vswitch dvs vmware vxlan config stats list --vds-name Cluster01-VXLAN-VDS
vSphere Command-Line Interface Concepts and Examples
158 VMware, Inc.