Networking Commands
Networking Commands
Networking Commands
1. PING
2. TRACERT
3. show ip route- to check the route of router
4. show mac-address-table- to check the mac table
of switch.
5. NETSTAT
6. IPCONFIG
7. NSLOOKUP
8.ARP
PING
PING IS : Packet Internet or Inter-Network Groper is a
basic Internet program that allows a user to test and
verify if a particular destination IP address exists and can
accept requests in computer network administration.
• C:\>ping 192.168.25.98
• C:\>tracert 192.168.25.98
• Tracing route to 192.168.25.98 over a
maximum of 30 hops:
1 0 ms 0 ms 3 ms 192.168.25.1
• 2 1 ms 11 ms 0 ms 192.168.25.102
• 3 1 ms 13 ms 14 ms 192.168.25.106
• 4 23 ms 13 ms 12 ms 192.168.25.98
• Trace complete.
C:\Users>arp
• C:\>arp -a
• Internet Address Physical Address Type
• 192.168.25.2 00d0.9767.a17a dynamic
NETSTAT
Active Connections
C:\Users\dell>
N SL OO K UP
• C:\>nslookup lpu.in
• Server: [192.168.25.2]
• Address: 192.168.25.2
• DNS request timed out.
• timeout was 15000 milli seconds.
• DNS request timed out.
• timeout was 15000 milli seconds.
• DNS request timed out.
• timeout was 15000 milli seconds.
• Server: [192.168.25.2]
• Address: 192.168.25.2
• Non-authoritative answer:
• Name: lpu.in
• Address: 192.168.25.2
Example of nslookup in cmd prompt
in windows
• C:\Users>nslookup www.lpu.in
• Server: UnKnown
• Address: 172.19.2.254
• Non-authoritative answer:
• Name: www.lpu.in
• Addresses: 2606:4700:20::681a:ccd
• 2606:4700:20::681a:dcd
• 2606:4700:20::ac43:4a98
• 104.26.12.205
• 172.67.74.152
• 104.26.13.205
• C:\Users>nslookup google.com
• Server: UnKnown
• Address: 172.19.2.254
• Non-authoritative answer:
• Name: google.com
• Addresses: 2404:6800:4009:800::200e
• 142.250.194.238