
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Global Configuration
Unicast Routing Protocols Comparison
Type Algorithm
RIP Distance Vector Bellman-Ford
EIGRP Distance Vector DUAL
OSPF Link State Dijkstra
IS-IS Link State Dijkstra
BGP Path Vector Path Selection
Admin Distance
Standard
120 RFCs 2080, 2453
90/170 (external)/5 (summary) Cisco proprietary
110 RFCs 2328, 5340
Supported Protocols
Transport
IPv4, IPv6 UDP/
IPv4, IPv6, IPX, Appletalk IP/
IPv4, IPv6 IP/
IPv4, IPv6, CLNP Layer 2
IPv4, IPv6 TCP/
Authentication
Plain, MD
Plain, MD5, AH (v3)
Plain, MD
·^ bw
= 10
7 / minimum path bandwidth in kbps ·^ delay
= interface delay in μsecs / 10
! Enable
EIGRP for an autonomous
system
[ipv6] router eigrp
AS-number
!^ Specify a
router
ID formatted
in IPv
dotted-decimal
[eigrp]
router-id
router-ID
!^ Disable automatic
classful summarization (IPv
only)
no^
auto-summary !^ Enable EIGRP
on interfaces by
network
(IPv4 only)
network
IPv4-address wildcard-mask !^ Modify maximum paths
for
equal-cost load balancing
maximum-paths
!^ Configure
multiplier
for
unequal-cost
load
balancing
variance
!^ Configure
K values to
manipulate the metric formula
metric
weights
k^
k^
k3 k4 k
!^ Explicitly identify neighbors
on NBMA
links
neighbor
IP-address
interface
!^ Designate
passive
interfaces
passive-interface {
interface
| default}
!^ Enable stub routing [eigrp]
stub [receive-only
| connected |
static
| summary
| redist]
Default K Values
Packet Types
1 Update 3 Query 4 Reply 5 Hello 8 Acknowledge Reported Distance The metric for a route advertised by a neighbor Feasible Distance The distance advertised by a neighbor plus the costto get to that neighbor Stuck In Active (SIA) The condition when a route becomes unreachableand not all queries for it are answered; adjacencieswith unresponsive neighbors are reset Passive Interface An interface which does not participate in EIGRPbut whose network is advertised Stub Router A router which advertises only a subset of routes,and is omitted from the route query process
Multicast Address
EIGRP Configuration
interface Interface Configuration
type number
!^ Enable EIGRP
for
IPv
on
the interface
ipv6 eigrp
AS-number
!^ Set the maximum bandwidth
EIGRP can consume (can be
ip[v6]
bandwidth-percent eigrp
AS-number
!^ Configure
manual
summarization
of
outbound
routes
ip^
summary-address
eigrp
AS-number IPv4-address
subnet-mask
ipv6 summary-address eigrp
AS-number
IPv6-prefix
!^ Enable MD5 authentication ip[v6]
authentication mode
eigrp
AS-number
md
ip[v6]
authentication key-chain
eigrp
AS-number
key-chain
!^ Modify interface
hello and hold timers
ip[v6]
hello-interval eigrp
AS-number seconds
ip[v6]
hold-time eigrp
AS-number
seconds
!^ Toggle split
horizon
[no] ip[v6]
split-horizon eigrp
AS-number
Troubleshooting
show
ip[v6] eigrp
{interfaces
| neighbors }
show
ip[v6] eigrp
topology
clear
ip[v6] eigrp
[AS-number
]^ neighbors
debug
ip[v6] eigrp
[neighbor] Default Timers
Hello
5 sec Hold
LAN (>T1) 15 sec
WAN (<=T1) 60 sec 180 sec
256 * (
K*^1
bw
+^
+^ K
*^ delay 3
) *
K*^2
bw 256 -
load
K^5 rel +^ K
4
Router Roles
Internal Router All interfaces reside within the same area Backbone Router A router with at least one interface in area 0 Area Border Router (ABR) Connects two or more areas AS Boundary Router (ASBR) Connects to additional routing domains(redistribution to or from other protocols)
Troubleshooting
show ip[v6]
ospf
[process
] interface
show ip[v6]
ospf
database [
LSA-type
OSPFv2 Link State Advertisements Router Link (Type 1) Lists neighboring routers and the cost to each;flooded within an area Network Link (Type 2) Generated by a DR; lists all routers on anadjacent segment; flooded within an area Network Summary (Type 3) Generated by an ABR; advertises routesbetween areas ASBR Summary (Type 4) Injected by an ABR into the backbone toadvertise the presence of an ASBR in a non-backbone area External Link (Type 5) Generated by an ASBR and flooded throughoutthe AS to advertise a route external to OSPF NSSA External Link (Type 7) Generated by an ASBR in a not-so-stubby area;converted into a type 5 LSA by the ABR whenleaving the area
Area Types
Standard Area Default OSPF area type Stub Area External link (type 5) LSAs are replaced witha single default route Totally Stubby Area Type 3, 4, and 5 LSAs are replaced with adefault route Not-So-Stubby Area (NSSA) A stub area containing an ASBR; type 5 LSAsare converted to type 7 within the area
External Route Types
E1 Considers the cost to the advertising ASBRplus the external cost of the route E2 (Default) The external cost of a route as seen by theASBR; internal OSPF cost is not considered show ip[v6]
ospf
border-routers
show ip[v6]
ospf
virtual-links
debug ip[v6]
ospf […]
Metric Formula DR/BDR Election · The BDR also maintainsadjacencies with all routers incase the DR fails · Does not occur on point-to-point or multipoint links · Default priority (0-255) is 1;highest priority wins; 0 cannotbe elected · DR preemption will not occurunless the current DR is reset
Virtual Links · Tunnel formed to join twoareas across an intermediate · Both end routers must sharea common non-stub area · At least one end must residein area 0
Adjacency States 1 Down 2 Attempt
5 ExStart 6 Exchange
3 Init 4 2-Way
7 Loading 8 Full
· The DR serves as a commonpoint for all adjacencies on amultiaccess segment
Network Types
DR/BDR Elected
Nonbroadcast(NBMA)
MultipointBroadcast
Neighbor Discovery^ Hello/Dead Timers
Defined By
Supported Topology
MultipointNonbroadcast
Broadcast
Point-to-Point
Yes No 30/120 RFC 2328 Full Mesh
No Yes 30/120 RFC 2328 Any
No No 30/120 Cisco Any
Yes Yes 10/40 Cisco Full Mesh
No Yes 10/40 Cisco Point-to-Point
Network Types
DIS Elected
Broadcast Yes
Neighbor Discovery
Yes
Hello/Dead Timers
Adjacency Requirements
· Interface MTUs must match · Areas must match (if level 1) · System IDs must be unique · Authentication must succeed
show
[clns
| isis]
neighbors
show
clns
interface
show
isis
[ipv6] topology
· Levels must match
NSAP Addressing
Interdomain Part (IDP) Portion of the address used in routing between autonomous systems;assigned by ISO Domain-Specific Part (DSP) Portion of the address relevant only within the local AS Authority and Format Identifier (AFI) Identifies the authority which dictates the format of the address Initial Domain Identifier (IDI) An organization belonging to the AFI High Order DSP (HODSP) The area within the AS System ID Unique router identifier; 48 bits for Cisco devices (often taken from anEthernet MAC address) NSAP Selector (SEL) Identifies a network layer service; always 0x00 in a NET
Point-to-Point No Yes 10/
Troubleshooting
show isis [database
| spf-log]
debug [clns
| isis]
ISO Routing Levels
Level 0 Level 1 Level 2
Used to locate end systems Routing within an area (IS-IS) Routing between areas (IS-IS) Level 3
Inter-AS routing
Terminology
Type-Length-Value (TLV) Variable-length modular datasets carried by PDUs Link State PDU (LSP) Carry TLVs encompassing link state information
DIS Election
Sequence Number Packet (SNP) Used to request and advertise LSPs; can be complete(CSNP) or partial (PSNP) Network Entity Title (NET) Unique router ID; includes area ID Designated Intermediate System (DIS) A pseudonode responsible for emulating point-to-point links across a multi-access segment · Highest-priority interface elected · Highest SNPA (e.g. MAC or DLCI) breaks tie · Highest system ID breaks SNPA tie · Default interface priority is 64 · Current DIS may be preempted, unlike OSPF
!^ Global Configuration Create
an OSPF process
[ipv6] router
ospf
process-ID
! Specify a
router ID
formatted as IPv4 dotted-decimal
router-id
router-ID
! Modify
the
default
reference bandwidth
auto-cost reference-bandwidth
speed-in-mbps
! Assign
interfaces to areas
by network (OSPFv2)
network
IPv4-address
wildcard-mask
area
area
! Identify neighbors
for
links (OSPFv2)
neighbor
IPv4-address
[cost
! Configure
summaries
on
area
border routers
area
area
range {
IPv4-address subnet-mask
IPv6-prefix
! Summarize
external
routes (ASBRs only)
summary-address
IPv4-address
subnet-mask
[not-advertise]
summary-prefix
IPv6-prefix
[not-advertise]
! Originate
a default
route
default-information originate
[always]
! Designate
stub,
totally
stubby,
or not-so-stubby
areas
area
area
stub
| nssa }
[no-summary]
! Create
a virtual link
area
area
virtual-link
router-ID OSPF Configuration
interface Interface Configuration
type
number
! Enable
on
the
interface
ip[v6] ospf
process-ID
area
area
! Identify neighbors
for
links (OSPFv3)
ipv
ospf
neighbor
IPv6-address
! Set
interface cost
manually
ip[v6] ospf cost
! Configure DR election priority ip[v6] ospf priority
! Specify
network
type (broadcast,
point-to-point,
etc.)
ip[v6] ospf network
type
! Modify
interface hello
and dead
intervals
ip[v6] ospf hello-interval
seconds
ip[v6] ospf dead-interval
seconds
! Enable
authentication (OSPFv2)
ip ospf authentication message-digestip ospf message-digest-key
key-id
md
key-string
! Enable
IPsec authentication
(OSPFv3)
ipv
ospf
auth ipsec
spi
spi-number
md
| sha1 }
string
OSPFv3 Link State Advertisements 0x2001 0x
Router LSA Network LSA
0x2003 0x
Inter-area prefix LSA Inter-area router LSA
0x4005 0x2007 0x0008 0x
Name AS-external LSA Type-7 LSA Link LSA Intra-area prefix LSA
v2 Equiv. Type 1 Type 2 Type 3 Type 4 Type 5 Type 7 N/A N/A
Group Membership (Type 6) Used by Multicast OSPF; unsupported by IOS^ 0x
Group membership LSA
Type 6
! Enable Global Configuration
IS-IS routing
router isis^! Specify one or more NET addresses^ net
! Set global routing level (default
level-1-2)
is-type
{ level-1 |
level-1-2 |
level-2-only
! Configure
IPv4 route
summaries
summary-address
IP-address subnet-mask
[level
! Configure
IPv6 route
summaries
address-family
ipv
summary-prefix
IPv6-prefix
[level
! Originate
a default route
default-information
IS-IS Configuration^ originate
interface Interface Configuration
type number
! Enable IS-IS
on an interface
ip[v6]
router isis ! Specify interface
routing
level
isis circuit-type {
level-
| level-1-
| level-2-only }
! Set interface
metric
isis [ipv6]
metric
| maximum }
! Designate
the
network
as point-to-point
isis network point-to-point! Configure
election priority
isis priority
[ level-1 |
level-
! Modify interface
hello and
dead intervals
isis hello-interval
seconds
[ level-1 |
level-
isis hello-multiplier
[ level-1 |
level-
! Enable MD5 authentication isis authentication
mode md
isis authentication
key-chain
key-chain
RIP Implementations
RIPv1 Original RIP implementation, limited toclassful routing (obsolete) RIPv2 Introduced support for classless routing,triggered updates, and multicastannouncements (RFC 2453) RIPng (RIP Next Generation) Extends RIPv2 to support IPv6 routing(RFC 2080); functions very similarly toRIPv2 and is subsequently as limited
! Enable Global Configuration
RIPv2 IPv4 routing
router ripversion
! Disable RIPv
automatic
summarization
no auto-summary! Designate
RIPv2 interfaces
by network
network
IPv4-network ! Identify unicast-only neighbors neighbor
IP-address
! Originate
a default route
default-information
originate
! Designate
passive
interfaces
passive-interface {
interface
| default}
! Modify
equal-cost
load
balancing
maximum-paths
! Modify
timers
timers basic
update
invalid hold
flush
! Enable
RIPng IPv6 routing
ipv
router rip
name
! Toggle
split-horizon and poison-reverse
[no]
split-horizon [no]
poison-reverse
RIP Configuration
interface Interface Configuration
type number
! Enable
RIPng on the interface
ipv
rip
name
enable
! Configure
manual route
summarization
ip summary-address rip
IPv4-address subnet-mask
ipv
rip
name
summary-address
IPv6-prefix
! Enable
authentication (RIPv2 only)
ip rip authentication mode md5ip rip authentication key-chain
key-chain
Troubleshooting
show
ip[v6] protocols show
ip[v6] rip database debug
ip rip {
database |
events }
debug
ipv
rip
[interface
Message Types Hello DB Descr. LS Request
LS Update LS Ack
RIP Configuration
Terminology
Split-Horizon Mitigates routing loops by ensuring aroute is never advertised back to theneighbor from which it was learned Poison Reverse Learned routes are advertised back totheir originator as explicitly invalid
show ip[v6]
ospf
[process
] neighbor
· Transition tool; not ideal forpermanent designs
IS-IS Hello (IIH) Establish and maintain neighbor adjacencies
cost
=^
reference-bandwidth
link speed
AFI^
IDI
49
Area
HODSP
0005.80ff.f800.
0001
System ID 0000.0c00.
SEL^00
Interdomain Part
Domain-Specific Part
Condensed
NSAP Example