M. Dahshan - TCOM52721 TCOM 5272 Telecomm Lab Dr. Mostafa Dahshan OU-Tulsa 4W 2 nd floor
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
M. Dahshan - TCOM52723
4 Command Line Interface CLI Access Methods Console port Dial-up to aux port Telnet
M. Dahshan - TCOM52725 Password Configuration Three different passwords Telnet supports 5 concurrent connections
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
M. Dahshan - TCOM52727 Access Modes
M. Dahshan - TCOM52728 Getting Help
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
M. Dahshan - TCOM Context Setting Set the context Enter commands for the context Example Router(config)#interface ethernet 0 Router(config-if)#ip address Router(config-if)#no shutdown Note: commands take effect immediately when you hit “Enter”
M. Dahshan - TCOM Example
M. Dahshan - TCOM Mode Switching Enter privileged mode enable Enter configuration mode configuration terminal (or config t) Exit configuration mode exit (or Ctrl+Z)
M. Dahshan - TCOM Display Configuration show is the most commonly used command show running-config displays configurations in RAM
M. Dahshan - TCOM527214
M. Dahshan - TCOM 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
M. Dahshan - TCOM Network Example
M. Dahshan - TCOM IP Address Configuration
M. Dahshan - TCOM 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
M. Dahshan - TCOM WAN Connection
M. Dahshan - TCOM 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
M. Dahshan - TCOM Routing Protocol Configure routing protocol to be used RIP, IGRP, OSPF, etc Commands: Router(config)#router rip Router(config-router)#network Remember: use the network number, not the subnet number NOT ,
M. Dahshan - TCOM 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
M. Dahshan - TCOM 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
M. Dahshan - TCOM 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
M. Dahshan - TCOM 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
M. Dahshan - TCOM527226
M. Dahshan - TCOM Configure a Small Network
M. Dahshan - TCOM Router: Albuquerque !hostname Albuquerque ! !enable secret 5 $1$u76B$IOFVJ7VxfVXYVpGDrFTcI0 ! interface Serial0/0 ip address clock rate no shutdown ! interface Serial0/1 ip address clock rate no shutdown
M. Dahshan - TCOM Router: Albuquerque (2) interface FastEthernet0/1 ip address no shutdown ! router rip network ! line con 0 password cisco login line aux 0 line vty 0 4 password cisco login ! end
M. Dahshan - TCOM Router: Yosemite hostname Yosemite ! enable secret 5 $1$u76B$IOFVJ7VxfVXYVpGDrFTcI0 ! interface Serial0/0 ip address no shutdown ! interface Serial0/1 ip address no shutdown !
M. Dahshan - TCOM Router: Yosemite (2) interface FastEthernet0/1 ip address no shutdown ! router rip network ! line con 0 password cisco login line aux 0 line vty 0 4 password cisco login ! end
M. Dahshan - TCOM Router: Seville hostname Seville ! enable secret 5 $1$u76B$IOFVJ7VxfVXYVpGDrFTcI0 ! interface Serial0/0 ip address no shutdown ! interface Serial0/1 ip address clock rate no shutdown
M. Dahshan - TCOM Router: Seville (2) interface FastEthernet0/1 ip address no shutdown ! router rip network ! line con 0 password cisco login line aux 0 line vty 0 4 password cisco login ! end
M. Dahshan - TCOM Switch IP Configuration Press “K” for command line >enable #configure terminal (config)#ip address Repeat the same steps for other switches
M. Dahshan - TCOM527235
M. Dahshan - TCOM Homework Homework is posted to the D2L page