Windows CLI Commands iLab
In this lab, the student will learn the following objectives.
* Learn the basic NET commands for managing networks.
* Learn the local and remote shutdown commands.
* Learn the basic NETSH commands for setting IP addresses.
* Learn common batch language commands and environmental variables.
* Learn the common Windows shell commands and batch commands.
* Create a batch file that will run from the command prompt.
As you complete each task below, copy and paste required Windows CLI session output to the lab-report document for this week. To copy your CLI commands and command output (select text with mouse and press ...view middle of the document...
In some cases the devices may power on automatically.
During the boot up process an activity indicator will be displayed in the name tab:
* Black - Powered Off
* Orange - Working on your request
* Green - Ready to access
If the remote console is not displayed automatically in the main window (or popup) click the Connect icon located in the tools bar to start your session.
If the remote console does not appear please try the following option:
* Switch between the HTML 5 and Java client versions in the tools bar.
In the event this does not resolve your connectivity problems please visit our Help / Support pages for additional resolution options.
Task 1: Rename the Ethernet Interface and Display IP Configuration Settings
Windows 7 NIC Name Change
1) On the right-hand side of the task bar at the bottom of the screen, you will the Network icon. The icon is typically located between the Power icon and the Speaker icon. The icon will appear as a series of signal strength bars if you have an enabled wireless card.
2) Right-click on the network icon and select “Open Network and Sharing Center”. Start/Settings/”Network Connections” as shown below.
3) In the “Network and Sharing Center” window, click on the link labeled “Change adapter settings”. From the list of available Network adapters, right-click on the Ethernet interface icon with the name Local Area Connection and select Rename. Rename the Ethernet interface from “Local Area Connection” to “NIC” as shown below. Note that on multi-homed PCs with more than 1 Ethernet interface, the NIC names may be “Local Area Connection 1”, “Local Area Connection 2”, etc.
4) After changing the Ethernet Interface name from Local Area Connection to NIC, the netsh commands that reference a specific interface card become much easier to write. For example: To display the TCP/IP settings on this interface card, we can use:
netsh interface ip show config NIC
netsh interface ip show config ”Local Area Connection”
Also note that interface card names with spaces must be enclosed in double quotes (”).
Note: Unless explicitly stated otherwise. All configuration commands now refer to the Ethernet interface with the name “NIC” on the vlab-PC1 computer.
5) Open the Windows Command Prompt using the desktop or the Taskbar icon. Maximize the size of the CLI. Use the ipconfig /all command to determine the following IP configuration settings for “NIC”
IP Address: _____
Subnet Mask: _____
Default Gateway: _____
MAC (Physical) Address: ______
Transfer the answer to your lab-report document. Copy and paste the ipconfig /all output only for the “NIC” interface card from the Windows CLI into the Task 1 box provided for this purpose.
Task 2: Changing Interface Configuration settings from the CLI
The syntax for displaying the basic IP configuration an interface is: