Tylogix.com -> Cisco Routing Protocol Notes
Back to Tylogix Networking page
Routing Abbreviation |
Routing Protocol |
Administrative Distance |
C |
Connected |
0 |
S |
Static |
1 |
EIGRP Summary Route |
5 |
|
B |
BGP |
20 |
D |
EIGRP (internal) |
90 |
I |
IGRP |
100 |
N2 |
OSPF NSSA External Type
2 |
110 |
N1 |
OSPF NSSA External Type
1 |
110 |
E2 |
OSPF External Type 2 |
110 |
E1 |
OSPF External Type 1 |
110 |
L2 |
IS-IS - Level 2 |
115 |
L1 |
IS-IS - Level 1 |
115 |
ia |
IS-IS Inter Area |
115 |
i |
IS-IS |
115 |
R |
RIP |
120 |
E |
EGP |
140 |
O |
ODR |
160 |
EX |
EIGRP External |
170 |
|
BGP (internal) |
200 |
|
DHCP-Learned |
254 |
|
Unknown |
255 |
|
EIGRP Summary Route |
|
SWITCH
SWITCH Spanning
Tree |
Rapid Spanning Tree Protocol (RSTP) Bridge Port Roles |
Root - A forwarding port that is the best port from Nonroot-bridge to Rootbridge
|
STP switch port states: |
Blocking - A port that would cause a switching
loop, no user data is sent or received but it may go into forwarding mode if
the other links in use were to fail and the spanning tree algorithm
determines the port may transition to the forwarding state. BPDU data is
still received in blocking state.
|
LAN
Router Rip
LAN Router
RIP |
RIP
General Concept |
Routers
running IP
RIP broadcast the full list of all the routes they know every 30 seconds.
When a router
running RIP hears a broadcast it runs the distance
vector algorithm to create a list of best routes. |
||
RIP
Timers |
Timer |
Default |
Controls |
|
Update |
30 seconds |
Interval between route update advertizements |
||
Hold-Down |
90 seconds |
Period a route is withdrawn from the table to
prevent a routing loop |
||
Timeout |
180 seconds |
Interval a route should stay "live" in the
routing table. This counter is reset every time the router hears an update
for this route |
||
Flush |
120 seconds |
How long to wait before deleting a route after it
has timed out. |
||
Basic Configuration |
router(config)#
router rip router(config-router)#
network 192.168.42.0 router(config-router)#
network 192.168.43.0 |
LAN EIGRP |
EIGRP
General Concept |
EIGRP
stores data in three tables:
Unlike
most other distance vector protocols, EIGRP does not rely on periodic route
dumps in order to maintain its topology table. Routing information is
exchanged only upon the establishment of new neighbor
adjacencies, after which only changes are sent. Also, it uses route tagging. |
|
|
|
Basic Configuration |
router eigrp 10 (10 here is the Autonomous System Number) network 172.16.0.0
|
LAN OSPF |
OSPF
Single-Area Configuration |
interface Ethernet 0/0 |
OSPF
Configuration with Multiple Areas |
|
|
OSPF Troubleshooting |
·
View
neighbors: ·
Run
debugging: ·
To
identify the interface: ·
To change hello interval for that
interface: |
WAN
BGP |
|
|
|
|
|
|
|
Wide Area Network
Communications
Frame
Relay |
Configuring
Frame Relay |
Mandatory commands |
Optional Commands |
assigning an IP address o
ip address setting the encapsulation
type o
encapsulation
frame-relay allocating bandwidth o
bandwidth |
Configure the LMI Configure Frame Relay SVCs Configure Frame Relay
traffic shaping Customize Frame Relay for
your network Monitor and Maintain Frame
Relay connections |
||
Example
Configuration |
R1(config)#interface serial0/0/0 R1(config-if)#encapsulation frame-relay R1(config-if)#no shutdown Static Configuration (DLCI
102 belongs to R1): R1(config-if)#frame-relay map ip 10.1.1.2 102 broadcast R1(config-if)#frame-relay lmi-type
ansi Sub-Interface configuration
(optional): R1(config-if)#interface serial 0/0/0.102 point-to-point R1(config-if)#interface-dlci 102 R1(config-if)#interface serial 0/0/0.103 point-to-point R1(config-if)#interface-dlci 103 |
Notes Each Virtual
Circuit is tagged with an identifier to keep it unique. The identifier, known
as a Data Link Connection Identifier (DLCI), is determined on a per-leg basis
during the transmission. Local
Management Interface (LMI) is the means by which Frame Relay edge devices
maintain keepalive messages. The Frame Relay switch
is responsible for maintaining the status of the CPE device(s) to which it is
attached. |
|
Debug |
show
interfaces show
frame-relay lmi look for any non-zero "Invalid" items debug
frame-relay lmi show
frame-relay pvc [interfaceinterface]
[dlci] to view PVC and traffic
statistics clear
counters command to reset the statistics counters R1(config-if)#interface-dlci 102 Show frame-relay map To show the frame-relay map To show the Local Management Interface (LMI) -
LMI is a keep-alive (10 second) mechanism that provides status information
about Frame Relay connections between the router (DTE) and the Frame Relay
switch (DCE) Show frame-relay lmi
|
PPP
PPP Protocol Stack
Application |
FTP
/ SMTP / HTTP / etc.... |
DNS... |
Transport |
TCP |
UDP |
Internet |
IPv4
/ IPv6 |
|
Network
Access |
PPP |
|
PPPoE |
PPPoA |
|
Ethernet |
ATM |
PPP Architecture (Data Link Layer)
LCP |
CHAP
/ PAP / EAP |
IPCP |
IP |
PPP
Encapsulation |
|||
HDLC-like
Framing |
PPPoE |
PPPoA |
|
RS-232 |
POS |
Ethernet |
ATM |
SONET/SDH |
PPP |
|
|
|
|
|
Link
Control Protocol |
This protocol is
used to establish, configure and test the data-link connection for a PPP
link. In order to
establish communications over a point-to-point link, each end of the PPP link
MUST first send LCP packets to configure and test the data link. After the
link has been established, the peer MAY be authenticated. LCP negotiates - Link quality /
Error detection - Authentication
(PAP / CHAP) - Compression |
Circuit Choices
Option |
Description |
Advantages |
Disadvantages |
Sample Link Types |
Leased Line |
Point-to-Point connection between two LAN's |
Most Secure |
Expensive |
PPP HDLC SDLC HNAS |
Circuit Switching |
Dedicated circuit path created between endpoints. Best example: Dialup. |
Less Expensive |
Long call setup |
PPP ISDN |
Packet Switching |
Device transport packets via a shared single point-to-point or point-to-multipoint link across a carrier network. Variable-length packets are transmitted over permanent virtual Circuits (PVC's) or Switched Virtual Circuits (SVC's) |
Widely supported and less expensive than leased line |
Shared media across link |
X.25 Frame Relay |
Cell Relay |
Similar to Packet Switching but uses fixed-length cells instead of variable-length packets. Data is divided into fixed-length cells and then transported across virtual circuits. |
Best for simulated use of voice and data |
Overhead can be considerable (20%+) |
ATM |
Internet |
Connectionless packet switching using the Internet as the WAN infrastructure, uses network addressing to deliver packets. Because of security, VPN technology must be used. |
Least expensive Widely Available |
Least secure |
VPN DSL Cable Modem Wireless |
Three Layers of the Architecture Network Model
Model |
Description |
Access Layer |
User-level access to the network |
Distribution Layer |
Aggregates wiring closets, using switches to segment workgroups and isolate network problems. |
Core Layer (Backbone) |
High-speed backbone designed to switch packets as fast as possible |
5 Modules of Cisco Enterprise Architecture
Module |
Description |
Enterprise Campus Architecture |
Building or group of buildings connected to ONE NETWORK |
Enterprise Branch Architecture |
Enables extending applications and services found at the Campus to remote locations |
Enterprise Data Center Architecture |
Centrally house data and resources necessary for the enterprise functions |
Enterprise Teleworker Architecture |
Allow teleworkers into the enterprise, typically via remote access VPN's |
Enterprise Edge Architecture |
Liaison between Campus module and other modules in the Enterprise Architecture |