Networking Guide for Network Engineers

Network Guide for Network Engineers

Networking Guide for Network Engineers

Writing an ebook saved my life.
You’ve probably found your way to this ebook from my blog, or maybe a friend passed it along to you. Either
way, I’m happy you’re here.
I wrote this Networking guide because when I was a Network Engineer and I stuck in many situations during
Network Configuration & Troubleshooting, so based on my real life experience here I am sharing the required
stuff to Manage, Monitor, Configure & Troubleshoot the Network. Trust me by reading this book you will
easily understand various type of protocols used in the network.
This ebook is a guide, and the purpose of this guide is to do just that—guide you.
To all of my subscribers, followers, and friends out there, old and new, thank you for the gift of your support. I
only hope this free guide can begin to repay you for the time and attention that you’ve given me. Here’s to you
and your continued success!

  • Troubleshooting, Editing, Port #’s
  • Line Editing Commands
  • Common Port Numbers and Protocols
  • Basic Router / Switch Configuration
  • Router / Switch Basic Configuration
  • For Switch Management Interface Configuration

Troubleshooting, Editing, Port #’s

Show ip interface brief (display interface designations, IP address and status)
Show ip route (display routing table)
Show vlan brief (on switch – show what VLANs exist, names, ports assigned )
show controllers serial x/x/x (see if DCE or DTE connected and if clock rate is present)
show interface trunk (what ports are trunking, native vlan, allowed vlans)
show running-config (display the running configuration – active)
show startup-config (display the starup configuration)
show ip protocol (what routing protocol, which networks, passive interfaces, neighbors)
show cdp neighbors (see directly connected Cisco devices)
show cdp neighbors detail (includes IP address at other end)
show cdp interface (which interfaces are running CDP)
show interface serial x/x/x (what encapsulation, IP address, counters)
show interface fastethernet x/x switchport (configured mode and operating mode)
show version (which IOS, capability, memory, configuration-register)
show run | begin interface (will start listing at the first instance of ‘interface’)
show ip route connected (show routing table entries for directly connected networks)
show ip route static (show routing table entries for static routes)
show ip route ospf (show routing table entries learned through OSPF)
show ip route eigrp (show routing table entries learned through EIGRP)
show mac-address-table or show mac address-table (varies with different IOS)
show flash (display filenames and directories in Flash memory)
show clock (current date/time in this device)
show ipv6 ??? (does the IPv6 version of many IPv4 commands)
show processes (shows active processes running on router)
show process cpu (shows cpu statistics)
show memory (shows memory allocation)
show users (show who is telnetted into this device)
show standby (see if HSRP is active)
ping X.X.X.X (try to reach the destination host at X.X.X.X)
trace X.X.X.X (show the path taken to reach the destination host at X.X.X.X)
R1(config)# do show ??? (execute show commands from configuration mode)
debug ??? (real-time reporting about processes related to almost any function)
debug all (very dangerous as the router can become consumed by reporting everything)
undebug all (turn off all debugging commands – handy if this is a busy router)

Line Editing Commands

ctrl-a (go to the beginning of the current line)
ctrl-e (go to the end of the current line)
ctrl-p or up-arrow (repeat up to 10 previous commands in the current mode)
ctrl-n or dn-arrow (if you have gone back in command history, this moves forward)
backspace-key (erase the character to the left of the current cursor position)
ctrl-z or end (go out to privilege mode)
exit (move back one level in the hierarchical command structure)
ctrl-c (cancel current command or leave Setup mode if you accidentally get into it)
ctrl-shift-6 (stop ping or trace)
terminal length 0 [zero] (turn off paging – makes output without breaks)
terminal length 24 (normal page breaks in output)
wr or write (shortcut for ‘copy running-config startup-config)

Common Port Numbers and Protocols

File Transfer Protocol (FTP)
FTP Control=TCP port 21
FTP Data = TCP Port 20
Secure Shell (SSH) – TCP Port 22
Simple Mail Transfer Protocol (SMTP) – TCP Port 25
Domain Name System (DNS) – TCP/UDP Port 53
Dynamic Host Configuration Protocol (DHCP)
BOOTPS=UDP Port 67 (DHCP request from client to server)
BOOTPC=UDP Port 68 (DHCP reply from server to client)
Hypertext Transfer Protocol (HTTP) – TCP Port 80
Post Office Protocol – incoming mail (POP) – TCP Port 110
Network Time Protocol (NTP) – UDP Port 123
Simple Network Management Protocol (SNMP) – UDP Port 161
Secure Hypertext Transfer Protocol (HTTPS) – TCP Port 443


Please enter your comment!
Please enter your name here