net_ip_setup
Configure an IPv4 address.
Usages
net_ip_setup {-i [if_nbr]} -a [IP Address] -m [Mask]
Arguments
-i [Interface number]
, Specified on which interface the reset will occur. If no interface is specified, all existing interfaces will be reset.
-a [IP_address]
, IPv4 address.
-m [Mask]
, IPv4 Mask address.
Output
None.
Required Configuration
NET_IPv4_CFG_EN
must be set to DEF_ENABLED
.
Notes/Warnings
None.