Ip bringing Interfaces Up Down

using ip

# ip link set dev <interface> down
ip link set dev eth0 down
# ip link set dev <interface> up
ip link set dev eth0 up

using ipconfig

# /sbin/ifconfig <interface> up
# /sbin/ifconfig <interface> down