ifconfig -a, or ipconfig -a used for code example Example: ipconfig view and control IP configuration state.