Documente Academic
Documente Profesional
Documente Cultură
128 64 32 16 8 4 2 1 Increment
/1 /2 /3 /4 /5 /6 /7 /8 1st Octet
/9 /10 /11 /12 /13 /14 /15 /16 2nd Octet
/17 /18 /19 /20 /21 /22 /23 /24 3rd Octet
/25 /26 /27 /28 /29 /30 /31 /32 4th Octet
Subnetting (Network)
/(Original Slash) + /(# of Networks in Bits)
Subnetting (Host)
/32 - /(# of Hosts in Bits)
OSI Layers – shows how two network devices communicate in a network & helpful in
troubleshooting.
Session – creates & ends session. Logically separates data from other session.
Read Only Memory (ROM) – POST & bootstrap programs. Retain configuration even
after rebooting.
Non – Volatile Random Access Memory (NVRAM) – configuration register, tells how
your router will boot up, startup configuration & default value: 0x2102.
SETUP MODE – installation wizard, not recommended for configuration, Ctrl + C to get
out.
USER EXEC MODE – will prompt Router>, you can do some show but no
configuration.
PRIVILEGED MODE – will prompt Router#, you can do all show & some
configuration.
GLOBAL CONFIGURATION - will prompt Router (config)#, no show but have all
configurations.
IMPORTANT COMMANDS:
Show version – version of the IOS, interfaces, size of the RAM, size of the NVRAM, size
of the Flash & configuration register value.
Show Flash – contents of the Flash memory.
Show running-configuration
Copy running-configuration startup-configuration
Show controllers serial x/x/x – to check if there is a cable attached.
Show IP interface brief
IP ROUTING
Rules:
1. Routers only know directly connected networks. (show ip route).
2. For not directly connected networks, configure IP routing.
Types of Routing
Static Routing – manual configuration of routes, prone to human error & does not
consume CPU memory & bandwidth.
Syntax: en
conf t
ip route [not directly connected networks] [subnet mask] [next hop IP add or exit
interface]
Default Route – anything not in my routing table, send it here. Used on Stub Networks
(stub networks are having routers with one exit interface)
Syntax: en
conf t
ip route 0.0.0.0 0.0.0.0 [next hop]
Dynamic Routing – samples are RIP, OSPF, EIGRP, BGP, IS-IS, automatically builds the
routing table because routers talks to each other & consume CPU memory & bandwidth.
Administrative Distance - router uses to determine which routing protocol to use if two
protocols provide route information for the same destination. The lower the
administrative distance, the more reliable.
0 – connected 1 – static
90 – EIGRP 110 – OSPF
120 – RIP 255 – unreachable
RIP Syntax: en
conf t
router rip
version 2
network [directly connected classful network]
no auto-summary
end
To check: show ip protocols
OSPF Syntax: en
conf t
router ospf [process ID]
network [directly connected classful/classless networks] [wildcard mask]
Area 0
EIGRP Syntax: en
conf t
router eigrp [A. S. number (Autonomous System routers with the same
technical administrative & must have the same AS#)]
network [directly connected classful network]
no auto-summary
end