Download presentation
Presentation is loading. Please wait.
Published byRachel Joseph Modified over 9 years ago
1
M. Dahshan - TCOM52721 TCOM 5272 Telecomm Lab Dr. Mostafa Dahshan OU-Tulsa 4W 2 nd floor 660-3713 mdahshan@ou.edu
2
M. Dahshan - TCOM52722 Acknowledgements Some notes in this presentation were imported from notes of Dr. Anindya Das Some materials are imported from CCNA Intro Exam Certification Guide CCNA ICND Exam Certification Guide
3
M. Dahshan - TCOM52723
4
4 Command Line Interface CLI Access Methods Console port Dial-up to aux port Telnet
5
M. Dahshan - TCOM52725 Password Configuration Three different passwords Telnet supports 5 concurrent connections
6
M. Dahshan - TCOM52726 Access Modes User mode Look around without making harmful changes Privileged mode Powerful, privileged commands Copy configuration file Configuration mode Change router configuration
7
M. Dahshan - TCOM52727 Access Modes
8
M. Dahshan - TCOM52728 Getting Help
9
M. Dahshan - TCOM52729 Commands and Contexts Global commands Only one such parameter per router Examples hostname: set the hostname of the router interface: set the interface to configure Subcommands Multiple parameters of this type Example: multiple interfaces
10
M. Dahshan - TCOM527210 Context Setting Set the context Enter commands for the context Example Router(config)#interface ethernet 0 Router(config-if)#ip address 192.168.1.1 255.255.255.0 Router(config-if)#no shutdown Note: commands take effect immediately when you hit “Enter”
11
M. Dahshan - TCOM527211 Example
12
M. Dahshan - TCOM527212 Mode Switching Enter privileged mode enable Enter configuration mode configuration terminal (or config t) Exit configuration mode exit (or Ctrl+Z)
13
M. Dahshan - TCOM527213 Display Configuration show is the most commonly used command show running-config displays configurations in RAM
14
M. Dahshan - TCOM527214
15
M. Dahshan - TCOM527215 Basic Administrative Config A hostname DNS Server (so that commands can use host names) A password for the console port A password for telnet access Enable secret password to protect access to privileged mode A banner string
16
M. Dahshan - TCOM527216 Network Example
17
M. Dahshan - TCOM527217 IP Address Configuration
18
M. Dahshan - TCOM527218 Clock Rate In real networks, the clock rate is controlled by CSU/DSU from the service provider A CSU/DSU is a digital interface device used to connect the router to the service provider’s line CSU: Channel Service Unit DSU: Data Service Unit
19
M. Dahshan - TCOM527219 WAN Connection
20
M. Dahshan - TCOM527220 Setting Clock Rate In a lab testing environment, no need for CSU/DSU Can use DTE and DCE cables and connect routers back-to-back Clock rate must be set at the router connected to the DCE cable Router#interface Serial 0 Router(config-if)#clock rate 56000
21
M. Dahshan - TCOM527221 Routing Protocol Configure routing protocol to be used RIP, IGRP, OSPF, etc Commands: Router(config)#router rip Router(config-router)#network 10.0.0.0 Remember: use the network number, not the subnet number 10.0.0.0 NOT 10.1.1.128.0, 10.1.130.0
22
M. Dahshan - TCOM527222 RIP Configuration For each interface matching the network number, the network commands causes the router to: Broadcast or multicast routing updates out an interface Listen for incoming updates on that interface Include the subnet off that interface in the routing updates
23
M. Dahshan - TCOM527223 Access Control Set passwords for console/telnet access For Console: Router(config)#line console 0 Router(config-line)#password cisco Router(config-line)#login For Telnet (lines 0 to 4) Router(config)#line vty 0 4 Router(config-line)#password cisco Router(config-line)#login
24
M. Dahshan - TCOM527224 Interface Status When configuration is complete, each interface must be turned ON Router#interface Serial 0 Router(config-if)#no shutdown Do the same on all other interfaces
25
M. Dahshan - TCOM527225 Router Configuration Summary 1.Set a hostname for the router 2.Set enable password 3.Configure IP addresses for interfaces 4.Configure clock rate on DCE interfaces 5.Configure routing protocol 6.Configure access control 7.Turn on interfaces
26
M. Dahshan - TCOM527226
27
M. Dahshan - TCOM527227 Configure a Small Network
28
M. Dahshan - TCOM527228 Router: Albuquerque !hostname Albuquerque ! !enable secret 5 $1$u76B$IOFVJ7VxfVXYVpGDrFTcI0 ! interface Serial0/0 ip address 10.1.130.251 255.255.255.0 clock rate 128000 no shutdown ! interface Serial0/1 ip address 10.1.128.251 255.255.255.0 clock rate 128000 no shutdown
29
M. Dahshan - TCOM527229 Router: Albuquerque (2) interface FastEthernet0/1 ip address 10.1.1.251 255.255.255.0 no shutdown ! router rip network 10.0.0.0 ! line con 0 password cisco login line aux 0 line vty 0 4 password cisco login ! end
30
M. Dahshan - TCOM527230 Router: Yosemite hostname Yosemite ! enable secret 5 $1$u76B$IOFVJ7VxfVXYVpGDrFTcI0 ! interface Serial0/0 ip address 10.1.129.252 255.255.255.0 no shutdown ! interface Serial0/1 ip address 10.1.128.252 255.255.255.0 no shutdown !
31
M. Dahshan - TCOM527231 Router: Yosemite (2) interface FastEthernet0/1 ip address 10.1.2.252 255.255.255.0 no shutdown ! router rip network 10.0.0.0 ! line con 0 password cisco login line aux 0 line vty 0 4 password cisco login ! end
32
M. Dahshan - TCOM527232 Router: Seville hostname Seville ! enable secret 5 $1$u76B$IOFVJ7VxfVXYVpGDrFTcI0 ! interface Serial0/0 ip address 10.1.130.253 255.255.255.0 no shutdown ! interface Serial0/1 ip address 10.1.129.253 255.255.255.0 clock rate 128000 no shutdown
33
M. Dahshan - TCOM527233 Router: Seville (2) interface FastEthernet0/1 ip address 10.1.3.253 255.255.255.0 no shutdown ! router rip network 10.0.0.0 ! line con 0 password cisco login line aux 0 line vty 0 4 password cisco login ! end
34
M. Dahshan - TCOM527234 Switch IP Configuration Press “K” for command line >enable #configure terminal (config)#ip address 10.1.2.10 255.255.255.0 Repeat the same steps for other switches
35
M. Dahshan - TCOM527235
36
M. Dahshan - TCOM527236 Homework Homework is posted to the D2L page
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.