This can be done through the "maintenance --remote_access --show" command which would return something similar to:
Remote Access Information
Remote Access Device
Device Type : iDRAC8 Enterprise
iDRAC Ports : Present
IPMI Version : 2.0
System GUID : 3xxxx4f-cxx7-4xx0-3xx0-0xxxxxxxxx4
Number of Possible Active Sessions : 5
Number of Current Active Sessions : 0
Enable IPMI Over LAN : Yes
SOL Enabled : Yes
MAC Address : 1x-xx-xx-xx-xx-xD
IPv4 Address
IP Address Source : Static
IP Address : xxx.xxx.xxx.xxx
IP Subnet : xxx.xxx.xxx.xxx
IP Gateway : xxx.xxx.xxx.xxx