Reviewer Data Comms

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 8

Connections of a Router for Ethernet Local interface

-2 types of connectors can be used: Straight Holdtime value, in seconds


through and Cross-over Neighbor device capability code
Straight through used to connect: Neighbor hardware platform
-Switch-to-Router, Switch-to-PC, Router-to- Neighbor remote port ID
Server, Hub-to-PC, Hub-to-Server Show cdp neighbors detail command
Cross-over used to connect: -Useful in determining if an IP address
-Switch-to-Switch, PC-to-PC, Switch-to-Hub, configuration error
Hub-to-Hub, Router-to-Router
Disabling CDP
Configuring an Ethernet interface To disable CDP globally use the following
-By default, all serial and Ethernet interfaces are command
down Router(config)#no cdp run
-To enable an interface, use the No Shutdown
command Purpose of a static route
A manually configured route used when routing
-A WAN Physical Layer connection has from a network to a stub network
sides:
Data Circuit-terminating Equipment (DCE) IP route command
This is the service provider. CSU/DSU is a DCE To configure a static route, use the following
device. command: ip route
Data Terminal Equipment (DTE) Typically the Example:
router is the DTE device. -Router(config)# ip route network-address
subnet-mask {ip-address | exit-interface}
Purpose of the debug IP routing command *network address- address bet. Router and
Allows you to view changes that the router switch
performs when adding or removing routes *ip-address- address of the specific router
Example:
R2#debug ip routing Zinins 3 routing principles
Principle 1: "Every router makes its decision
When a router only has, its interfaces configured alone, based on the information it has in its own
& no other routing protocols are configured then: routing table.
-The routing table contains only the directly Principle 2: "The fact that one router has certain
connected networks information in its routing table does not mean
-Only devices on the directly connected that other routers have the same information.
networks are reachable. Principle 3: "Routing information about a path
from one network to another does not provide
The ping command is used to check end to end routing information about the reverse, or return
connectivity path."

Purpose of CDP Recursive route lookup - Occurs when the


A layer 2 CISCO proprietary tool used to gather router has to perform multiple lookups in the
information about other directly connected routing table before forwarding a packet. A
Cisco devices. static route that forwards all packets to the next-
Concept of neighbors hop IP address goes through the following
-2 types of neighbors process (reclusive route lookup)
Layer 3 neighbors; Layer 2 neighbors The router first must match static routes
destination IP address with the Next hop
CDP show commands address
Show cdp neighbors command The next hop address is then matched to an exit
-Displays the following information: interface
Neighbor device ID
*If a static route is configured on an Ethernet link -Used for routing between autonomous systems
-Example: BGPv4
If the packet is sent to the next-hop router, then Distance vector routes are advertised as
the destination MAC address will be the address vectors of distance & direction. Incomplete view
of the next hops Ethernet interface. This is of network topology. Generally, periodic updates.
found by the router consulting the ARP table.
Link state is a complete view of network
Summarizing routes reduces the size of the topology created. Updates are not periodic.
routing table.
Route summarization is the process of Classful routing protocols - Do not send
combining a number of static routes into a single subnet mask in routing updates
static route. Classless routing protocols- Do send subnet
mask in routing updates.
Default Static Route
This is a route that will match all packets. Convergence is defined as when all routers
A number of static routes all exiting the same routing tables are at a state of consistency.
interface are good candidates for a default route. (RIP and IGRP-slower convergence, EIGRP
Like route summarization this will help reduce and OSPF- faster convergence)
the size of the routing table.
Metric is a value used by a routing protocol to
Traceroute used to discover all of the hops determine which routes are better than others.
(routers) along the path between 2 points *Hop determines how many routers will be gone
-Show ip interface brief- used to show status through to reach the destination.
of router interfaces
-Show cdp neighbors detail used to gather Metric used for each routing protocol
configuration information about directly -RIP - hop count
connected neighbors -IGRP & EIGRP - Bandwidth (used by default),
Delay (used by default), Load, Reliability
Function(s) of Dynamic Routing Protocols: -IS-IS & OSPF Cost, Bandwidth (Ciscos
-Dynamically share information between routers. implementation)
-Automatically update routing table when
topology changes. Load balancing is the ability of a router to
-Determine best path to a destination. distribute packets among multiple same cost
paths.
Components of a routing protocol
Algorithm are used for facilitating routing Purpose of a metric
information and best path determination. Its a calculated value used to determine the
Routing protocol messages are messages for best path to a destination
discovering neighbors and exchange of routing Purpose of Administrative Distance
information. Its a numeric value that specifies the preference
of a particular route.
Autonomous System is a group of routers
under the control of a single authority. Identifying the Administrative Distance (AD)
in a routing table. It is the first number in the
Classifying Routing Protocols brackets in the routing table. [120/2] by default.
Interior Gateway Routing Protocols (IGP) Connected interface-0; Static-1; EIGRP
-Used for routing inside an autonomous system Summary Route-5; IGRP-100; OSPF-110; IS-IS-
& used to route within the individual networks 115; RIP-120; EIGRP(External)-170;
themselves. EIGRP(Internal)-90; Directly Connected-0
-Examples: RIP, EIGRP, OSPF
*A router using distance vector routing protocols
Exterior Routing Protocols (EGP) knows 2 things:
Distance to final destination Invalid timer: If an update has not been
Vector, or direction, traffic should be directed received to refresh an existing route after 180
Characteristics of Distance Vector routing seconds (the
protocols: default), the route is marked as invalid by setting
Periodic updates; Neighbors; Broadcast the metric to 16. The route is retained in the
updates; Entire routing table is included with routing table until the flush timer expires.
routing update
Flush timer: By default, the flush timer is set for
Routing Protocol Algorithm is defined as a 240 seconds, which is 60 seconds longer than
procedure for accomplishing a certain task. the
invalid timer. When the flush timer expires, the
Distance Vector Routing Protocols route is removed from the routing table.
Slower Convergence- because of the use of
periodic updates. Hold-down timer: This timer stabilizes routing
Limited Scalability Slow Convergence may information and helps prevent routing loops
limit the size of the network because larger during periods when the topology is converging
networks require more time. on new information. When a route is marked as
Routing Loops- Inconsistent routing tables are unreachable, it must stay in hold-down mode
not updated due to slow convergence. long enough for all routers in the top.
Low resource requirements; Simple
maintenance implementation Bounded Updates: EIGRP
EIRPG routing updates are Partial updates;
Router initial start-up (Cold Starts) Triggered by topology changes; Bounded; Non-
Initial network discovery periodic
Directly connected networks are initially placed
in routing table Triggered Updates
* The only information that a router has is from To speed the convergence when there is a
its own saved configuration file stored in topology change, RIP uses triggered updates.
NVRAM. * It is a routing table update that is sent
immediately in response to a routing change.
* Triggered updates do not wait for update
Initial Exchange of Routing Information timers to expire.
If a routing protocol is configured, then routers * It occurs when Conditions in which triggered
will exchange routing information. updates are sent; Interface changes state;
Route becomes unreachable; Route is placed in
Router checks update for new information routing table
If there is new information: Metric is updated;
New information is stored in routing table. Random Jitter
Over time, the update interval across the routers
Router convergence is reached when all in the topology can become synchronized, which
routing tables in the network contain the same can cause problems. As more routers timers
network information. Routers continue to become synchronized, more collisions of
exchange routing information. updates and more delays occur in the network.
-If no new information is found then To prevent the synchronization of updates
Convergence is reached. between routers, the Cisco IOS uses a random
variable, called RIP_JITTER, that varies the
Convergence must be reached before a update interval randomly in a range from 25 to
network is considered completely operable 30 seconds for the default 30-second interval.
Speed of achieving convergence consists of 2
interdependent categories Routing loops are condition in which a packet
Speed of broadcasting routing information; is continuously transmitted within a series of
Speed of calculating routes routers without ever reaching its destination.
-Compatibility between models of routers
Routing loops may be caused by: -Administrative knowledge
Incorrectly configured static routes Features of RIP:
Incorrectly configured route redistribution -Supports split horizon & split horizon with
Slow convergence poison reverse
Incorrectly configured discard routes -Capable of load balancing
-Easy to configure
Routing loops can create the following -Works in a multi-vendor router environment
issues
Excess use of bandwidth Features of EIGRP:
CPU resources may be strained -Triggered updates
Network convergence is degraded -EIGRP hello protocol used to establish neighbor
Routing updates may be lost or not processed in adjacencies
a timely manner -Supports VLSM & route summarization
-Use of topology table to maintain all routes
There are five mechanisms available to -Classless distance vector routing protocol
eliminate routing loops: -Cisco proprietary protocol
Defining a maximum metric to prevent a count
to infinity RIP Characteristics
Hold-down timers- allow a router to not accept -A classful, Distance Vector (DV) routing
any changes to a route for a specified period of protocol
time. -Metric = hop count
Split horizon- A router should not advertise a -Routes with a hop count > 15 are unreachable
network through the interface from which the -Updates are broadcast every 30 seconds
update came.
Route poisoning or poison reverse- The rule RIP header - divided into 3 fields
states that once a router learns of an -Command field
unreachable route through an interface, -Version field
advertise it as unreachable back through the -Must be zero
same interface.
Triggered updates Route Entry - composed of 3 fields
-Address family identifier
Count to Infinity -IP address
This is a routing loop whereby packets bounce -Metric
infinitely around a network.
* Once a router counts to infinity it marks the RIP Operation
route as unreachable RIP uses 2 message types:
Request message
The TTL field is found in an IP header and is -This is sent out on startup by each RIP enabled
used to prevent packets from endlessly traveling interface
on a network. -Requests all RIP enabled neighbors to send
routing table
How the TTL field works Response message
-TTL field contains a numeric value -Message sent to requesting router containing
The numeric value is decreased by one by every routing table
router on the route to the destination.
If numeric value reaches 0 then Packet is IP addresses initially divided into classes
discarded. -Class A; -Class B; -Class C
RIP is a classful routing protocol which Does
Factors used to determine whether to use not send subnet masks in routing updates.
RIP or EIGRP include
-Network size Administrative Distance
RIPs default administrative distance is 120 The classful subnet mask of the network
is applied to the network in the routing update
A typical topology suitable for use by RIPv1
includes: Three router set up; -No PCs attached Sending RIP Updates
to LANs; -Use of 5 different IP subnets -RIP uses automatic summarization to reduce
the size of a routing table.
Router RIP Command
Router rip global configuration prompt Advantages of automatic summarization:
R1(config-router)# -The size of routing updates is reduced
*networks that are only connected to a router -Single routes are used to represent multiple
routes which results in faster lookup in the
Use the network command to: routing table.
-Enable RIP on all interfaces Disadvantage of Automatic Summarization:
-Advertise this network in RIP updates sent to -Does not support discontiguous networks
other routers every 30 seconds
* RIP is a classful routing protocol that
To verify and troubleshoot routing automatically summarizes classful networks
-Use the following commands: across major network boundaries
-show ip route;
-show ip protocols;- Displays routing protocol VLSM
configured on router (routing protocol is rip; Classful routing -only allows for one subnet
updates an timers) mask for all networks
-debug ip rip-Used to display RIP routing VLSM & classless routing
updates as they are happening (R2 receives an -This is the process of subnetting a subnet
update from R1 advertising directly to it) -More than one subnet mask can be used
-More efficient use of IP addresses as compared
Passive interface command to classful IP addressing
-Used to prevent a router from sending updates
through an interface RIPv2
Example: Router(config-router)#passive- RIPv1
interface interface-type interface-number -A classful distance vector routing protocol
-Does not support discontiguous subnets
Configuration Details -Does not support VLSM
-To remove the RIP routing process use the -Does not send subnet mask in routing update
following command: No router rip -Routing updates are broadcast
-To check the configuration use the following
command: Show run RIPv2
-A classless distance vector routing protocol that
Boundary Routers is an enhancement of RIPv1s features.
RIP automatically summarizes classful networks -Next hop address is included in updates
Boundary routers summarize RIP subnets from -Routing updates are multicast
one major network to another. -The use of authentication is an option

2 rules govern RIPv1 updates: Similarities between RIPv1 & RIPv2


-If a routing update and the interface its -Use of timers to prevent routing loops
received on belong to the same network then -Use of split horizon or split horizon with poison
The subnet mask of the interface is reverse
applied to the network in the routing update -Use of triggered updates
-If a routing update and the interface its -Maximum hop count of 15
received on belong to a different network
then RIPv2 Message format is similar to RIPv1 but
has 2 extensions- 1st extension is the subnet
mask field; 2nd extension is the addition of next
hop address Level 2 child routes are also considered ultimate
Command: R1(config)# router rip routes
R1(router-config)# version 2 Level 2 child routes contain route source & the
* It will automatically summarize routes at major network address of the route
network boundaries and can also summarize
routes with a subnet mask that is smaller than
the classful subnet mask.

Disable automatic summarization command:


R1(config)# router rip
R1(router-config)# no auto summary

* Supports VLSM
Both child routes have the same subnet mask
* Use classless routing protocols (i.e. RIPv2)
-This means the parent route maintains the /24
to disseminate network addresses and their
mask
subnet masks
In classless networks, child routes do not have
CIDR uses Supernetting
to share the same subnet mask
Supernetting is a bunch of contiguous
classful networks that is addressed as a single
network.

* To verify that supernets are being sent and


received use the following commands -Show ip
route; -Debug ip rip
The Route Lookup Process
Routing Table Examine level 1 routes
Level 1 Routes -If best match a level 1 ultimate route and is not
-Have a subnet mask equal to or less than the a parent route this route is used to forward
classful mask of the network address. packet
-Default route; -Supernet route; -Network route Router examines level 2 (child) routes
-If there is a match with level 2 child route then
Level 1 Routes -Ultimate Route that subnet is used to forward packet
Includes either: -A next-hop address; -An exit -If no match then determine routing behavior
interface type
Router determines classful or classless routing
Parent and Child Routes behavior
-A parent route is a level 1 route (network) -If classful then packet is dropped
-A parent route does not contain any next-hop IP -If classless then router searches level one
address or exit interface information supernet and default routes
-If there exists a level 1 supernet or default route
match then Packet is forwarded. If not packet is
dropped

Automatic creation of parent routes


-Occurs any time a subnet is added to the Best match is also known as the longest match
routing table The best match is the one that has the most
Child routes (subnet) number of left most bits matching between the
-Child routes are level 2 routes destination IP address and the route in the
-Child routes are a subnet of a classful routing table.
network address
routing table for a match that may have fewer
bits in the match

Beginning with IOS 11.3, ip classless was


configured by default
Classless routing behavior works for
-Discontiguous networks; -CIDR supernets
The process of matching EIGRP
-1st there must be a match made between the Roots of EIGRP: IGRP
parent route & destination IP -Developed in 1985 to overcome RIPv1s limited
- If a match is made then an attempt at finding a hop count
match between the destination IP and the child -Distance vector routing protocol
route is made. -Metrics used by IGRP bandwidth (used by
* default); Delay (used by default); reliability; load

EIGRP Header
Data link frame header - contains source and
destination MAC address
IP packet header - contains source & destination
IP address
Finding a match between packets destination IP EIGRP packet header - contains AS number
address and the next route in the routing table Type/Length/Field - data portion of EIGRP
message
* Before level 2 child routes are examined
-There must be a match between EIGRP packet header contains
classful level one parent route and destination IP Opcode field; Autonomous System number
address. EIGRP Parameters contains Weights and Hold
time
How a router finds a match with one of the level
2 child routes EIGRP terms and characteristics
-First router examines parent routes for a match EIGPR uses RTP to transmit & receive EIGRP
-If a match exists then: packets
Child routes are examined EIGRP has 5 packet type:
Child route chosen is the one with the longest Hello packets
match Update packets
Acknowledgement packets
Classful & classless routing protocols Query packets
- Influence how routing table is populated Reply packets
Classful & classless routing behaviors Supports VLSM & CIDR
- Determines how routing table is searched after
it is filled EIGRP uses a hello protocol
Purpose of hello protocol is to discover &
* It is recommended to use classless routing establish adjacencies
behavior EIGRP routing updates
Reason: so supernet and default routes can Aperiodic
be used whenever needed Partial and bounded
Fast convergence
Classless Routing Behavior Search
Process The following commands are used for EIGRP
If no match is found in child routes of previous configuration
slide, then Router continues to search the RtrA(config)#router eigrp [autonomous-system
#]
RtrA(config-router)#network network-number Purpose of RTP- Used by EIGRP to transmit
The following commands can be used to verify and receive EIGRP packets
EIGRP Characteristics of RTP
Show ip protocols Involves both reliable & unreliable delivery of
Show ip eigrp neighbors EIGRP packet
Show ip route Reliable delivery requires acknowledgment from
destination
EIGRP metrics include Unreliable delivery does not require an
Bandwidth (default) acknowledgement from destination
Delay (default) Packets can be sent Unicast and Multicast
Reliability
Load Hello packets- Used to discover & form
adjacencies with neighbors
DUAL Update packets- Used to propagate routing
Purpose of DUAL information
To prevent routing loops Acknowledgement packets- Used to
Successor acknowledge receipt of update, query & reply
Primary route to a destination packets
Feasible successor
Backup route to a destination Purpose of Hello Protocol
Feasible distance To discover & establish adjacencies with
Lowest calculated metric to a destination neighbor routers
Reported distance Characteristics of hello protocol
The distance towards a destination as Time interval for sending hello packet
advertised by an upstream neighbor Most networks it is every 5 seconds
Multipoint non broadcast multi-access networks
Choosing the best route Unicast every 60 seconds
After router has received all updates from
directly connected neighbors, it can calculate its EIGRP Bounded Updates
DUAL EIGRP only sends update when there is a
1st metric is calculated for each route change in route status
2nd route with lowest metric is designated Partial update
successor & is placed in routing table A partial update includes only the route
3rd feasible successor is found information that has changed the whole
Criteria for feasible successor: it must have routing table is NOT sent
lower reported distance to the destination than Bounded update
the installed routes feasible distance When a route changes, only those devices that
are impacted will be notified of the change
Automatic summarization
On by default Reported distance (RD)
Summarizes routes on classful boundary -The metric that a router reports to a neighbor
Summarization can be disabled using the about its own cost to that network
following command
RtrA(config-if)#no auto-summary No Feasible Successor- reported distance of the
neighbor is greater than or equal to the current
* EIGRP uses PDM to route several different feasible distance
protocols i.e. IP, IPX & AppleTalk
Feasible Successor- less than
Reliable Transport Protocol (RTP)

You might also like