Professional Documents
Culture Documents
Basic Router
Objectives
Hardware and software components of the routers Operation of the routers when it boots up Different ways to access and configure the routers Function and operation of IOS Establishing session and log into router CLI help features
IPMAC
Networking Academy
Router Basic
Networking Academy
IPMAC
IPMAC
IPMAC
Networking Academy
IPMAC
Routers interfaces
Console port: Configure the router by terminal (RJ-45). Auxiliary port: Configure the router via modem (RJ-45). LAN ports: LAN interfaces. WAN ports: WAN interfaces.
Networking Academy
IPMAC
Networking Academy
IPMAC
WAN interfaces
Synch/Asynch: Serial DB-60, Asynchronous: DB-68 with octal cable, RJ-45. T1, E1: DB-15, RJ-45 with CSU/DSU built-in. ISDN: BRI: RJ-45 , PRI: same as T1, E1 interface. POTS: RJ-45 with Modem build-in.
Networking Academy
IPMAC
Networking Academy
IPMAC
Networking Academy
IPMAC
Router Startup
Initialize and Initialize and check hardware check hardware
Networking Academy
Startup sequence
Networking Academy
IPMAC
Networking Academy
0x
0 0 1 0
0 0 0 1
0 0 0 0
0 0 0 0
0x
0 0 1 0
0 0 0 1
0 0 0 0
0 0 0 1
0x
0 0 1 0
0 0 0 1
0 0 0 0
0 0 1 0
Networking Academy
IPMAC
0x2102
Networking Academy
IPMAC
show version
Cisco Internetwork Operating System Software IOS (tm) C2600 Software (C2600-J1S3-M), Version 12.2(15)T14, RELEASE SOFTWARE (fc4) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2004 by cisco Systems, Inc. Compiled Sat 28-Aug-04 06:47 by cmong Image text-base: 0x80008098, data-base: 0x819608A4 ROM: System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1) ROM: C2600 Software (C2600-J1S3-M), Version 12.2(15)T14, RELEASE SOFTWARE (fc4) IPMAC-2600 uptime is 11 minutes System returned to ROM by power-on System image file is "flash:c2600-j1s3-mz.122-15.T14.bin" cisco 2610 (MPC860) processor (revision 0x203) with 61440K/4096K bytes of memory. Processor board ID JAD05030HG4 (3143568490) M860 processor: part number 0, mask 49 Bridging software. 1 Ethernet/IEEE 802.3 interface(s) 1 Serial network interface(s) 32K bytes of non-volatile configuration memory. 16384K bytes of processor board System flash (Read/Write)
IPMAC
Command-Line Interface
Cisco routers run Cisco IOS Software. IOS supplies several features:
Basic connectivity for a variety of protocols. Security features for those protocols. Reliable and scalable network services.
Networking Academy
To access the CLI, use one of three methods. The cable from the console to a PC requires a rollover cable. The console port is intended for local administrative access.
Networking Academy
IPMAC
=
Important: A console connection is not the same as a network connection!
Networking Academy
IPMAC
Networking Academy
IPMAC
Networking Academy
IPMAC
Setup Mode
Most networking personnel do not use setup at all, but new users sometimes like to use setup mode. You can abort the setup process before answering all the questions by pressing CTRL+C.
Networking Academy
IPMAC
User Mode
From any of the three methods of accessing the router, you enter user exec mode. User exec mode, also called user mode, enables you to look around but not break anything.
Passwords are required for Telnet access, but there are no preconfigured passwords.
IPMAC
Networking Academy
The login command tells the router to display a password prompt. The password command specify the text password to be typed by the user to gain access. Several concurrent Telnet connections to a router are allowed.
Networking Academy
IPMAC
Privileged Mode
The privileged mode allows user to execute the commands. The enable command is used to reach this mode, so it is also called enable mode.
Networking Academy
IPMAC
Networking Academy
IPMAC
A password can be used to prevent the users move from user-mode to enable-mode (privileged-mode). The password set with enable password command can be seen in configuration files. The password set with enable secret command is encrypted and cannot be decrypted. If both are configured, the password is set by the enable secret command is used. IPMAC
Networking Academy
Networking Academy
Networking Academy
IPMAC
Networking Academy
IPMAC
Router(config)#hostname Gateway Prompt changes Gateway(config)# Gateway(config)#banner motd # MOTD (Message Of The Day) Enter TEXT message. End with the character '#'. Warning! Stay away! # Gateway(config)#end Gateway#exit Press RETURN to get started. Warning! Stay away!
Networking Academy
IPMAC
Networking Academy
IPMAC
Networking Academy
IPMAC
What is wrong here? The administrator has either done a shutdown on the interface or has forgotten to do a no shutdown.
A serial interface will not show up and up unless both ends are properly configured (mostly) and a the no shutdown command is used. If one routers configuration looks okay, check the other routers configuration.
Networking Academy
IPMAC
Real world
On serial links that are directly interconnected, as in a lab environment, one side must be considered a DCE and provide a clocking signal. The clock is enabled and speed is specified with the clock rate command.
Router(config)#interface serial 0/0 Router(config-if)#clock rate 56000 Router(config-if)#no shutdown IPMAC
Networking Academy
DTE Cable
DCE Cable
How can you tell which end is the DTE and which end is the DCE? Look at the label on the cable. Look at the connecter between the two cables - The DTE cable will always be male and the DCE cable will always be female.
Networking Academy
IPMAC
RouterA#show controllers serial 0 HD unit 0, idb = 0xECA4C, driver structure at 0xF1EC8 buffer size 1524 HD unit 0, V.35 DTE cable cpb = 0x62, eda = 0x403C, cda = 0x4050 RX ring with 16 entries at 0x624000 00 bd_ptr=0x4000 pak=0x0F5704 ds=0x62FFB8 status=80 pak_size=22 This is one of few commands where there must be a space between the interface type and the port. RouterB#show controllers serial 0 buffer size 1524 HD unit 0, V.35 DCE cable, clockrate 64000 cpb = 0x62, eda = 0x408C, cda = 0x40A0 RX ring with 16 entries at 0x624000 00 bd_ptr=0x4000 pak=0x0F2F04 ds=0x627908 status=80 pak_size=22
Networking Academy
IPMAC
Networking Academy
IPMAC
Router# ping 172.16.32.1 Router# ping Auckland Router# telnet 192.168.53.1 Router# telnet Beirut Router# traceroute 192.168.89.1 Router# traceroute Capetown
Networking Academy
IPMAC
Networking Academy
IPMAC
Ip domain-lookup
Router(config)# ip domain-lookup Router#wreh Translating "wreh"...domain server (255.255.255.255) (Takes a few seconds) Translating "wreh"...domain server (255.255.255.255) (Takes a few seconds) Router(config)# no ip domain-lookup Router#wreh Translating "wreh" % Unknown command or computer name, or unable to find computer address
Networking Academy
IPMAC
Networking Academy
IPMAC
If you change the running config and then decide that you want to revert to whats in the startup-config file, the only way to guarantee that is to issue the reload command.
Networking Academy
IPMAC
Networking Academy
IPMAC
Networking Academy
IPMAC
Networking Academy
IPMAC
Networking Academy
IPMAC
Summary
Purpose and operation of IOS IOS naming convention CLI: use EXEC and privileged EXEC mode CLI help and editing command Router name, description, banner, hosts.. Router show commands Backup configuration files
Show version
IPMAC
Networking Academy
Networking Academy
IPMAC