Академический Документы
Профессиональный Документы
Культура Документы
www.saigonlab.vn
Cisco IOS
Configuring a Router
Routing Protocol
RIP
EIGRP
OSPF
ROM Functions
10
11
12
13
14
15
16
17
Router Modes
User EXEC Mode
Router>enable
Router#configure terminal
Router(config)#
Prompt
Configuration Mode
Interface
Subinterface
Router(config-if)#
Router(config-subif)#
Controller
Router(config-controller)#
Line
Router(config-line)#
Router
Router(config-router)#
18
Ctrl-z (end)
19
20
21
Year
22
Ctrl-E
Esc-B
Esc-F
Ctrl-B
Ctrl-F
Ctrl-D
23
Message-of-the_Day Banner
wg_ro_c(config)#banner motd #
Enter TEXT message. End with the
character #. You have entered a
secured system. Authorized access
only ! #
Interface Description
wg_ro_c (config)#interface ethernet 0
24
Router(config-line)#login
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#password sanjose
Enable Password
Router(config)#enable password cisco
Secret Password
Router(config)#enable secret sanfran
25
Configuring an Interface
Router(config)#interface type number
Router(config-if)#
type includes serial, ethernet, token ring, fddi, hssi,
loopback, dialer, null, async, atm, bri, tunnel, and so on
number is used to identify individual interfaces
Router(config)#interface type slot/port
Router(config-if)#
For modular routers, selects an interface
Router(config-if)#exit
Quits from current interface configuration mode
Bringing a True-long Stand Vocation
26
Router#configure terminal
Router(config)#
Router(config)#interface serial 0/0
Router(config-if)#
Router(config-if)#clock rate 64000
Router(config-if)#
Router(config-if)#bandwidth 64
Router(config-if)#exit
Router(config)#exit
Router#
27
#configure terminal
(config)#interface serial 0
(config-if)#shutdown
-5-CHANGED: Interface Serial0, changed state to administratively down
PROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down
ter#configure terminal
ter(config)#interface serial 0
ter(config-if)#no shutdown
NK-3-UPDOWN: Interface Seria0, changed state to up
NEPROTO-5-UPDOWN: Line Protocol on Interface Serial0, changed state to up
28
Configuring IP Addresses
Unique addressing allows communication
between end stations
Path choice is based on destination address
10.13.0.0
10.13.0.0
Router#configure terminal
Router(config)#interface serial slot/port
Router(config-if)#ip address <ip address> <netmask>
Bringing a True-long Stand Vocation
29
Saving Configurations
wg_ro_c#
wg_ro_c# copy running-config startup-config
Destination filename [startup-config]?
Building configuration.
wg_ro_c#
Copies the current configuration to NVRAM
30
Hardware is HD64570
Description : 64kbline to San Jose
Carrier Detect
Keepalives
31
32
33
Device identifiers
Address list
Port identifier
Capabilities list
Platform
Bringing a True-long Stand Vocation
34
Using CDP
35
Routing Overview
Static and Dynamic Route Comparison
Static Route Configuration
Default Route Forwarding Configuration
Static Route Configuration Verification
The ip classless Command
36
Router Operations
37
38
Static Route
Uses a route that
a network
administrator
enters into the
router manually
39
Static Routes
40
41
42
Default Routes
Router(config)# ip route
43
44
Routed Protocol: IP
Routing Protocol: RIP,IGRP
Bringing a True-long Stand Vocation
45
46
47
RIP
Administrative
Distance=120
48
49
50
RIPv1
IS-IS OSPF
Distance vector
Link state
Automatic route summarition
Manual route summarition
VLSM support
Proprietary
Convergence time
Show
Show
Show
Very
Fast
Fast
Fast
51
10.2.2.0
Router(config)# ip route
Router(config)# ip classless
Bringing a True-long Stand Vocation
52
53
54
55
56
57
58
59
60
61
Routing Loops
62
Count to Infinity
63
Defining a Maximum
64
Split Horizon
65
Route Poisoning
66
Poison Reverse
67
www.saigonlab.vn
Holddown Timers
68
Triggered Updates
69
70
Topological
database
Link-State Packets
SPF
Algorithm
Shortest Path First Tree
71
72
73
74
75
76
Lesson 6: RIP
www.saigonlab.vn
RIP Features
RIPv1 and RIPv2 Comparison
Dynamic Routing Configuration Tasks
Dynamic Routing Configuration
RIP Configuration
RIP Configuration Verification
RIP Configuration Troubleshooting
77
Lesson 6: RIP
www.saigonlab.vn
RIP
78
Lesson 6: RIP
www.saigonlab.vn
RIPv2
Classful
Classless
No
Yes
No
Yes
Broadcast
Multicast
RFC 1058
RFCs 1721,
1722, and
2453
No
Yes
No
Yes
Routing protocol
Addressing type
Defined in
Supports manual route
summarization?
Authentication support?
Bringing a True-long Stand Vocation
79
Lesson 6: RIP
www.saigonlab.vn
80
Lesson 6: RIP
www.saigonlab.vn
81
Lesson 6: RIP
www.saigonlab.vn
RIP Configuration
Router(config)#router rip
Starts the RIP routing process
Router(config-router)#network network-number
82
Lesson 6: RIP
www.saigonlab.vn
83
Lesson 6: RIP
www.saigonlab.vn
Last Update
02:12:15
01:09:01
84
Key-chain
Lesson 6: RIP
www.saigonlab.vn
85
Lesson 6: RIP
www.saigonlab.vn
86
Lesson 7: EIGRP
www.saigonlab.vn
EIGRP Features
EIGRP and IGRP Comparison
EIGRP Configuration
EIGRP Configuration Verification
EIGRP Configuration Troubleshooting
87
Lesson 7: EIGRP
www.saigonlab.vn
EIGRP
Rapid convergence
Reduced bandwidth usage
Multiple network-layer protocols
Bringing a True-long Stand Vocation
88
Lesson 7: EIGRP
www.saigonlab.vn
EIGRP 2446
IGRP 2446
192.168.1.0/24
RTA
10.1.1.0/24
RTC
RT
B
RTD
172.16.1.0/24
89
Lesson 7: EIGRP
www.saigonlab.vn
EIGRP Terminology
Neighbor Table-AppletTalk
Neighbor Table-IPX
Neighbor Table-IPv6
Neighbor Table-IPv4
Next-Hop
Router
Interface
90
Lesson 7: EIGRP
www.saigonlab.vn
RTB
RT
A
Network Z
91
Lesson 7: EIGRP
www.saigonlab.vn
I have a route
to Z, with a
metric of 5
RTB
RT
A
Network Z
RTC
92
Lesson 7: EIGRP
www.saigonlab.vn
I have a
route to Z,
with a metric
of 5
I have a route
to Z, with a
metric of 5
RTB
RT
A
Network Z
RTC
RT
X
I have a route
to Z, with a
metric of 6
RTY
93
Lesson 7: EIGRP
www.saigonlab.vn
94
Lesson 7: EIGRP
www.saigonlab.vn
Neighbor TableIP
Router B information
Router C information
C
DUAL
?
Routing Table
IP
Topology TableIP
Router B information
Router C information
Successor (primary
route)
Feasible successor
95
Lesson 7: EIGRP
www.saigonlab.vn
Configuring EIGRP
Router(config)#router eigrp autonomous-system
96
Lesson 7: EIGRP
www.saigonlab.vn
97
Lesson 7: EIGRP
www.saigonlab.vn
98
Lesson 7: EIGRP
www.saigonlab.vn
99
Lesson 7: EIGRP
www.saigonlab.vn
100
Lesson 7: EIGRP
www.saigonlab.vn
101
Lesson 8: OSPF
www.saigonlab.vn
OSPF Features
OSPF and Distance Vector Routing
Protocol Comparison
Hierarchical Routing
Shortest Path First Algorithm
Single-Area OSPF Configuration
Loopback Interfaces
OSPF Configuration Verification
OSPF Configuration Troubleshooting
Bringing a True-long Stand Vocation
102
Lesson 8: OSPF
www.saigonlab.vn
OSPF
Open standard
Shortest path first (SPF) algorithm
Link-state routing protocol (vs. distance vector)
Bringing a True-long Stand Vocation
103
Lesson 8: OSPF
www.saigonlab.vn
OSPF Terminology
104
Lesson 8: OSPF
www.saigonlab.vn
105
Lesson 8: OSPF
www.saigonlab.vn
106
Lesson 8: OSPF
www.saigonlab.vn
DR
Token
Ring
BDR
107
Lesson 8: OSPF
www.saigonlab.vn
P=3
P=2
DR
BDR
Hello
P=1
P=1
P=0
108
Lesson 8: OSPF
www.saigonlab.vn
109
Lesson 8: OSPF
www.saigonlab.vn
110
Lesson 8: OSPF
www.saigonlab.vn
5 steps of operation:
1. Establish router adjacencies.
2. Elect a DR and BDR (if necessary).
3. Discover routes.
4. Select the appropriate routes to use.
5. Maintain routing information.
111
Lesson 8: OSPF
www.saigonlab.vn
112
Lesson 8: OSPF
www.saigonlab.vn
113
Lesson 8: OSPF
www.saigonlab.vn
Router ID
Number by which the router is known to OSPF
Default: The highest IP address on an active interface
at the moment of OSPF process startup
Can be overridden by a loopback interface: Highest
IP address of any active loopback interface
Can be set manually using the router-id command
Bringing a True-long Stand Vocation
114
Lesson 8: OSPF
www.saigonlab.vn
115
Lesson 8: OSPF
www.saigonlab.vn
116
Lesson 8: OSPF
www.saigonlab.vn
117
Lesson 8: OSPF
www.saigonlab.vn
118
www.saigonlab.vn