搜尋此網誌

2011年10月22日 星期六

EFI Shell commands -- IPCONFIG(顯示或修改目前IP配置)

Displays or modifies the current IP configuration.

IPCONFIG [-r]|[-b] [-c Instance] [IpAddress [-m NetMask]]


    -r          - Restart the PXE base code and DHCP settings
    -b          - Display one screen at a time
    Instance    - Zero-based Simple Network Protocol instance
    IpAddress   - IP address in a.b.c.d format
    NetMask     - Network mask in 255.255.255.0 format

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

沒有留言:

張貼留言