98-366 slides lesson 5-1

31
Implementing TCP/IP Implementing TCP/IP in the Command Line in the Command Line Lesson 5

Upload: nikosss014

Post on 20-Oct-2015

37 views

Category:

Documents


2 download

TRANSCRIPT

  • Implementing TCP/IP in the Command LineLesson 5

  • Objectives

  • Command PromptThe Windows command prompt is Microsofts version of a command-line interface or CLI. Running the command prompt as an Administrator is also known as running it in elevated mode. You could turn off UAC, but that is not recommended.

  • Command Prompt

  • Dir /? Command

  • Ipconfig and Ping CommandIpconfig and ping can be used to analyze, test, troubleshoot, and configure IPv4 and IPv6 connections.

  • IPConfig CommandDisplays IP Configuration

  • IPConfig /All Command

  • IPConfig /All Command

  • IPConfig /Release

  • Ping CommandUsed to test network connectivityUsers ICMP

  • Ping Command

  • Tracert Command

  • PathPing Command

  • NbtStat CommandNbtstat will display NetBIOS over TCP/IP statistics for local and remote computers. NetBIOS was developed in the 1980s to allow applications to communicate over a network via the session layer of the OSI model. NetBIOS over TCP/IP sends the NetBIOS protocol within TCP and UDP sessions.

  • NbtStat Command

  • NetStat CommandThe netstat command is used to display active TCP (or UDP) connections, as well as a host of other statistics that we will cover later in the exercise.

  • NetStat Command

  • NetStat Command

  • NSLookupNslookup displays information about DNS names and their corresponding IP addresses, and it can be used to diagnose DNS servers.

  • FTP CommandFTP stands for file transfer protocol. It is an application layer protocol as well as an application. The FTP command is used in the command prompt to connect to FTP servers.

  • Telnet CommandTelnet is used to take control of a remote computer. Basically, a network administrator connects to a remote computer, server, router, or switch by typing telnet [IPAddress]. Telnet is an older, out-of-date protocol, and as such, it should be replaced with a more secure program such as SSH. It can also be used for troubleshooting by putting a port number.telnet server01 25

  • NetSh CommandNetsh is a built-in command-line scripting utility that enables you to display and modify the network configurations of the local computer.

  • NetSh Command

  • Route CommandThe Route Print command can be used to display routing table for a Windows machineThis command gives the same result as netstat r, but it is more commonly used.The Route command can also be used to add and delete static routes

  • Route Print Command

  • Route Command

  • Route Command

  • RoutingThe idea behind routing is to make connections to remote networks.

  • Net CommandAlthough not really considered part of the TCP/IP command set, the net command can display all kinds of important networking data, and it allows you to configure various networking options such as services.

  • SummaryPrinting in Microsoft Windows typically involves the following four components: print device, printer, print server, and print driver.The printer driver enables you to configure the print job to use the various capabilities of the print device.The simplest form of print architecture consists of one print device connected to one computer, known as a locally-attached print device. You can share this printer (and the print device) with other users on the same network.

    *This should also be a review for the 70-642.

    *When troubleshooting a problem, you need to use a systematic approach, such as: use IPConfig to look at current configuration. Then use the Ping command to ping localhost, local host, default gateway, remote router link, remote host. Of course, you can also use the tracert and pathping commands.*W***