Wednesday, September 28, 2011

Basic Network Commands

ARP Display or manipulate the ARP Information on network device or computer.


FINGER Allows a user to find sometimes personal information about a user.

HOSTNAME Displays the host name of the computer.

IPCONFIG Displays the network settings currently assigned and given by a network.

PATHPING To find network latency and network loss

PING This can help determine if the network is able to communicate with the network

NBTSTAT Displays protocol statistics and current TCP/IP connections using NBT.

NET Used to set, view and determine network settings.

NETSTAT To display the TCP/IP network protocol statistics and information.

NSLOOKUP To do a reverse lookup on an IP address of a domain or host on a network.

ROUTE To view and modify the computer's route table.

TRACERT / TRACEROUTE To determine network related issues or slowdowns.



ARP -a

Interface 220.0.0.80

Internet Address Physical Address Type

220.0.0.160 00-50-04-62-F7-23 static


FINGER –b –p USR

Login name: admin In real life: Computer Hope

On since Feb 11 23:37:16 on pts/7 from domain.computerhope.com

28 seconds Idle Time

Unread mail since Mon Feb 12 00:22:52 2001



HOSTNAME

M2B-CON31-D-31B



IPCONFIG

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : hsd1.ut.comcast.net.

IP Address . . . . . . . . . . . . : 192.168.201.245

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . . . . : 192.168.201.1

PATHPING computerhope.com

Tracing route to computerhope.com [204.228.150.3]

over a maximum of 30 hops:

0 Hope [192.168.120.101]

1 192.168.120.254

2 ...

Computing statistics for 50 seconds...



Hop

RTT Source to Here

Lost/Sent = Pct This Node/Link

Lost/Sent = Pct

Address

0



1



2



0ms



---



0/ 100 = 0%



100/100 = 100%

0/100 = 0%

0/100 = 0%

100/100 = 100%

0/100 = 0% 0 Hope [192.168.120.101]




192.168.120.254




Hope [0.0.0.0]

Trace complete.



PING localhost



Pinging M2B-CON31-D-31B.JPMC.CO.IN [127.0.0.1] with 32 bytes of data:



Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

Reply from 127.0.0.1: bytes=32 time<1ms TTL=128



Ping statistics for 127.0.0.1:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 0ms, Maximum = 0ms, Average = 0ms



NBTSTAT -a 204.224.150.3

Local Area Connection: Node IpAddress: [204.224.150.3] Scope Id: [] NetBIOS Remote Machine Name Table Name Type Status





NET config workstation

Computer name \\M2B-CON31-D-31B

Full Computer name M2B-CON31-D-31B.JPMC.CO.IN

User name leninkumar.koppoju



Workstation active on

NetbiosSmb (000000000000)



Software version Windows 2002



Workstation domain JPMC

Workstation Domain DNS Name JPMC.CO.IN

Logon domain JPMC



COM Open Timeout (sec) 0

COM Send Count (byte) 16

COM Send Timeout (msec) 250

The command completed successfully.



NETSTAT -e

Interface Statistics

Received Sent

Bytes 1224427219 745306277

Unicast packets 6562277 6453297

Non-unicast packets 135822 152

Discards 0 0

Errors 0 0

Unknown protocols 0



NSLOOKUP 10.190.106.82

Server: mb3dc1003.jpmc.co.in

Address: 10.190.106.82

Name: mb3dc1003.jpmc.co.in

Address: 10.190.106.82



ROUTE print

Active Routes:

Network Destination Netmask Gateway Interface Metric

0.0.0.0 0.0.0.0 127.16.8.14 127.16.8.14 1

127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1

127.16.0.0 255.255.0.0 127.16.8.14 127.16.8.14 1

** 127.16.0.0 255.255.255.0 127.16.8.14 127.16.8.14 1

127.16.8.14 255.255.255.255 127.0.0.1 127.0.0.1 1

192.168.50.0 255.255.255.0 192.168.50.65 192.168.50.65 2

192.168.50.65 255.255.255.255 127.0.0.1 127.0.0.1 1

192.168.50.255 255.255.255.255 192.168.50.65 192.168.50.65 1

224.0.0.0 224.0.0.0 127.16.8.14 127.16.8.14 1

224.0.0.0 224.0.0.0 192.168.50.65 192.168.50.65 1

255.255.255.255 255.255.255.255 192.168.50.65 192.168.50.65 1


TRACERT 10.190.106.82

Tracing route to mb3dc1003.jpmc.co.in [10.190.106.82]

over a maximum of 30 hops:

1 <1 ms <1 ms <1 ms 10.190.87.1

2 <1 ms <1 ms 3 ms mb3dc1003.jpmc.co.in [10.190.106.82]



Trace complete.



Ref : http://www.computerhope.com/issues/ch000444.htm

No comments:

Post a Comment