Specifications
Version 2.0
147
ipconfig
Summary
Displays or modifies the current IP configuration.
Usage
ipconfig [-r]|[-b] [-c Instance] [IpAddress [-m NetMask]]
Options
-r
Restart the PXE base code and DHCP settings
-b
Display one screen at a time
-c, -controller
Specify the 0-based handle of the EFI_SIMPLE_NETWORK_PROTOCOL instance
to use.
IpAddress
IP address in a.b.c.d format
-m, -mask
Network mask in 255.255.255.0 format
Description
This command displays or modifies the IP configuration of
EFI_PXE_BASE_CODE_PROTOCOL. If no parameter is specified in the command line, it
just displays the IP configuration of EFI_PXE_BASE_CODE_PROTOCOL. If IpAddress or
NetMask is specified, the according configuration of EFI_PXE_BASE_CODE_PROTOCOL will
be changed.
Examples
• To restart the PXE base code and refresh the DHCP settings:
shell:\> IpConfig -r
• To display the current IP configuration:
Shell:\> IpConfig
• To modify the IP address without changing the network mask:
shell:\> IpConfig 192.168.10.30
• To modify the IP address and network mask:
shell:\> IpConfig 192.168.10.30 -m 255.255.255.0










