--- title: "Command IP" slug: "command-ip" updated: 2024-07-04T11:09:38Z published: 2024-07-04T11:09:38Z canonical: "docs-linescan.alliedvision.com/command-ip" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs-linescan.alliedvision.com/llms.txt > Use this file to discover all available pages before exploring further. # Command IP Command IP is used to read and modify the IP address of the XLC4 control unit and to change the addressing method. ## Structure | Command | Notes | | --- | --- | | CommandID | IP | IP works in all XLC4 operating modes | | Parameter | None | | | mode | | ip_address | | Parameter | Value | Description | | None | | The current values for mode and ip_address are queried | | mode | “M” | Static IP address (default) | | “D” | DHCP addressing | | ip_address | valid IP address string | 192.168.87.234 (default) | | Response | | | ip , space , mode , space , ip_address | | General notes | | | Changes are applied after switching on again | ## Example | Query | Response | Action | | --- | --- | --- | | IP | ip M 192.168.87.234 | Displays the addressing mode and the ip address | | IP M | ip M 192.168.87.234 | The addressing mode is changed | | IP 192.168.87.234 | ip M 192.168.87.234 | The ip address is changed |