When BGP sends an UPDATE packet to a peer it sends path attributes associated with the prefix. These path attributes are then used by BGP to pick the best route to a destination. BGP attributes are similar to metrics in OSPF and EIGRP in the way it uses them to decided on the best route.
First, you have to enabled SSH access to your ESXi node. You can do that in Configuration > Security Profile > Services > SSH in vSphere.