SlideShare una empresa de Scribd logo
1 de 127
Cisco Routers
CISCO 60% 40% D-Link 3 Com Nortel Cygnus Etc.. Cisco’s Market Share
Router is an internetworking component, that connects networks which are at  different geographical locations.
Serial 1 Serial 0 AUI E 0 Console V.35 modem modem Telephone PC AUX Diagram of 2501 series Router
Interfaces on a Router
1. Ethernet  It is a LAN interface. Some of the models have an    RJ45 port for 10baseT or 10/100. And some other have a 15 pin female connector AUI (Attachment Unit Interface).  2. Serial  It is a 60 pin female WAN interface for leased    line 3. BRI/PRI  It is a RJ45 WAN interface for ISDN 4. Async  It is a 37 pin female connector for dial ups. 5. Console  It is a RJ45 Connector used to configure the    Router for the first time. 6. Auxiliary  RJ45 Connector for remote access        administration.
Routers Modular Fixed Modular Routers These type of routers have up gradable slots, and the number of ports can be increased just by adding cards in the slots.  Fixed Routers These types of routers have fixed number of ports.
Cisco Router’s Series Cisco 700, 800, 1600, 1700, 2500, 2600, 3600, 4000, 5000, 7000,10000, 12000. Fixed Modular 700, 800,….2500 2600,….., 12000 1750 & 1751 exceptionally are Modular Routers.
Cisco’s Hierarchical Model
Access Layer 700, …, 2500 Distribution Layer 2600, …, 5000 Core Layer 7000, …, 12000
Transceiver
Internal Components of a Router
 
Boot ROM :  It stores the mini IOS (Internet work Operating System) image (RX Boot) with extremely limited capabilities and POST routines  and core level OS for maintenance. FLASH  :  It is an EPROM chip that holds most of the IOS Image. It maintains everything when router is turned off. RAM  :   RAM holds running IOS configurations and provides caching. RAM is a volatile memory and looses its information when  router is turned off. The configuration present in RAM is called Running configuration. NVRAM  :  It is a re-write able memory area that holds router’s configuration file. NVRAM retains the information when ever router is rebooted. Once configuration is saved, it will be saved in NVRAM and this configuration is called Startup Configuration.
Configuration of a Router Router for the first time is configured through the CONSOLE port.COM port of a PC is connected to the console port of router with a console cable by using a transceiver. Router is accessible by a tool. In windows, it is called HYPER TEMINAL. As soon as the router is powered on and accessed, the following things happen,  POST BOOT STRAP FLASH NVRAM Setup Mode ROM (mini IOS) If IOS is Corrupted
In Setup mode, there will be a message, “ Would You Like To Enter The Initial Configuration [Y/N]”  : If “Y” then, initial configuration starts. If “N”  would you like to terminate the auto installation? Press “RETURN” to get started……You will land on the default prompt of the Router “  ROUTER  >”. Router>_
Working Modes Of a Router ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
USER MODE Router>  is the user mode, I,e the default prompt. It means that when ever a router boots successfully it lands into the user mode. Router cannot be configured from this mode, but it is used for just monitoring purpose.  Router> en   Router #
PREVILEGE MODE Router#  it is the administrating mode, we can check whether the settings and configurations made have been implemented or not. Eg. “Router # Sh int e0”. If it is new router all the interfaces are by default shut down, so the message will be, “ Ethernet 0 is administratively down, line protocol is down.”
Router# Config t Router (Config)# Global Configuration Mode As the name indicates, it is a global configuration mode I,e. we can configure any interface from this mode, just by entering into the interface mode.
The “Clock” Command The clock command is used to set the clock of  Router.  Syntax. Router# clock set hh:mm:ss  Day of week  Month  Year E.g. Router#clock set 16:35:00  1 April  2003 Note*  This is the only configuration which can be done from privilege mode,every other configuration should be done at global configuration mode only.
Some of the important  show commands in privilege mode Router# sh clock sh int (interface name eg e0) Sh history Sh memory Sh running-config  Sh startup-config To save configuration from RAM TO NVRAM Router#Copy Running-config Startup-config  (or) Router#Write Memory
[object Object],Router#conf t Router(config)#Hostname R_2503 Router(config)#^Z ,[object Object],Router#conf t Router(config)#Banner Motd # Enter text message………….# Router(config)#^Z
Router Password Configuration ,[object Object],[object Object],[object Object],[object Object]
Previlege PASSWORDS Enable Password Enable Secret Enable Password:- It is global command restricts access to the previlege mode, the password is in clear text. Router(config)#Enable password 123 Enable Secret:-Here the password is in encrypted form. Router(config)#Enable secret cisco
Virtual Terminal Password ,[object Object],Router#conf t Router(config)#Line vty 0 4 Router(config-line)#Login Router(config-line)#password cisco Router(config-line)#^Z
Console Password ,[object Object],Router#conf t Router(config)#Line Console 0 Router(config-line)#Login Router(config-line)#Password cisco Router(config-line)#^Z
Auxillary Password ,[object Object],Router#conf t Router(config)#Line Aux 0 Router(config-line)#Login Router(config-line)#Password cisco Router(config-line)#^Z
CONFIGURING INTERFACES ,[object Object],[object Object]
ETHERNET Router(config)#Interface Ethernet 0 Router(config-if)#Ip Address 200.150.1.254 255.255.255.0 Router(config-if)#no shutdown Router(config-if)#^Z Router#Show Int E0
SERIAL Router(config)#Interface Serial 0 Router(config-if)#Ip Address 150.10.1.1 255.255.0.0 Router(config)#clock rate 56000 Router(Config-if)# bandwidth 64 Router(config-if)#No shutdown Router(config-if)#^Z
Interpretring The Interface Status Router# show int s0 Serial0 is up, line protocol is up . Is the messege if the interface is operational. Serial0 is up, line protocol is down ….. This is if there is any connection problem. Serial0 is down, line protocol is down ….. This is if there is any interface problem. Serial0 is administratively down, line protocol is down ….. This is if the interface is disabled.
The  “CDP” It’s a Cisco's proprietary protocol called the Cisco Discovery Protocol, that gives you a summary of all the directly connected Cisco devices. CDP is a L2 protocol, that discovers neighbor regardless of which protocol suite they are running. When a cisco device boots up, the CDP is loaded by default,  but can be disabled at interface level. * The CDP is limited to the immediate neighbors only… The summary includes Device Identifier(eg. Switch configured name or domain name), Port Identifier (eg. Ethernet 0 and serial 0.), Capabilities list (eg. The device can act as a sourcr route bridge as well as a router), Platform (eg. Cisco 2600).
CDP (Cisco’s Discovery Protocol)
 
Using CDP Router# sh cdp neighbor (shows neighboring devices) To disable CDP…., Router(config)#no cdp run Router(config)#int s0 Router(config-if)#no cdp enable Router# sh cdp entry 192.168.10.1 (shows detailed information about this perticular neighbor.) Router# sh cdp interface(shows the details of the interface of the local decive.) Router# sh cdp traffic (shows the packet sent, received, lost etc.)
Backup & Restoring Routers IOS Image Using TFTP (Trivial File Transfer Protocol) TFTP Server allows you to take backup, upload and save your  IOS Image and current configuration on  it.  TFTP is a software program of  1.3Mb. This should be installed on that TFTP server i.e., (Personnel Computer). C:rogram filesisco systemsisco TFTP * Note: Always while taking Backup or Restoration TFTP software should  execute on  that particular computer.
Backup Sources : ,[object Object],[object Object],[object Object]
Backup of IOS Image Router#Copy Flash:(Press Tab key)  Tftp Address or name of the remote host [ ]? (Ip address of tftp) Destination file name [ ] ? (Press enter key or a name) Backup of Configuration Router#Copy Startup-config  Tftp Address or name of the remote host [ ]? (Ip address of tftp) Destination file name [ ] ? (Give a name)
Upgrading IOS Image Note: This process can only be done by Console Session. Router#Copy tftp Flash: Address or name of  remote host []? Source file name []? Destination file name []? Erase Flash: before copying [confirm]? Erasing the Flash file system will remove all files: continue? [confirm] Erasing device eeeeeeee……….eeeeeee.eee.eeee.ee Loading!!!!!!!!!!!!!!!!!!!!!!!!!!!!!…….!!!!…….!!!!!!
Leased line WAN Setup Case 1: The distance between the locations is greater than 5 Km. Requirements A pair of Routers, Leased line, pair of leased line modems V.35, Pair of G.703 Modem. Case 2: The distance between the two locations is less than 5Km. Requirements A pair of Routers, Leased line and pair of leased line modem.
Internal Network Internal Network V.35 Cable Csu/ Dsu Switch/hub V.35 modem Csu – channel service unit Dsu – data service unit S0 – Serial port of router E0 – Ethernet port of a router G.703 G.703 Mux/ Dmux Mux/ Dmux S0 E0 S0 E0 Switch/hub Router V.35 modem Leased line Setup( > 5km) Leased line
Leased line Setup (< 5 km) Internal Network Internal Network V.35 Cable Csu/ Dsu Switch/hub V.35 modem S0 E0 S0 E0 Switch/hub Router V.35 modem Leased line Telephone Exchange
Routing ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example: Switch/hub Switch/hub E 0 E 0 S 0 S 0 192.168.1.0/24 192.168.2.0/24 192.168.1.150/24 192.168.2.150/24 10.0.0.1/8 10.0.0.2/8 Location A Location B
Router(config)# ip routing Router# sh ip route (it shows all the directly connected networks). “  C 192.168.1.0/24 directly connected to E0” “  C 10.0.0.0/8 “  ‘  ‘  ‘  S0” “  C “ indicates connected networks. Static Routing Syntax Router(config)# ip route (dest-network) (subnet mask) (next hop address)
Location A Router(config)# ip routing Router(config)# ip route 192.168.2.0 255.255.255.0 10.0.0.2 Note* if we don’t know the address of next hop, we can just write the name of the hop. Router(config)# ip route 192.168.2.0 255.255.255.0 S0 Location B Router(config)# ip routing Router(config)# ip route 192.168.1.0 255.255.255.0 10.0.0.1
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
“ Tracert”, “Trace Route” and “Route print”. C:gt; tracert C:gt; route print Router# trace route (gives the complete route) Router# sh arp (to check MAC addresses) Default Routing Router(config)# ip routing Router(config)#ip route DA (S/N mask next) (next hop address) Router(config)# ip route 0.0.0.0 0.0.0.0 s1
Router# sh ip route C 192.168.1.0/24 directly connected to E0 C 10.0.0.0/8  “  “  to S0 S* 0.0.0.0/0  “  “  to S0 Dynamic Routing It is a type of routing where routing protocols( eg. RIP and IGRP) are used between routers to determine the path and maintain routing table. Once the path is determined a router can route a routed protocol(IP). Dynamic routing uses broad casts and multicasts to communicate with other routers. The routing metric helps routers find the best path to each network.
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],Hybrid Routing :  it combines aspects of the link state and the distance vector algorithm.
[object Object],[object Object],[object Object],[object Object],Router(config)# router rip Router(config-router)# network (network ip) Enabling RIP Configuration Router# sh ip protocol (shows the current routing protocol) Router# sh ip route
172.16.1.0 E0 S2 S2 S3 S3 E0 192.168.1.0 172.16.1.1 10.1.1.1 10.1.1.2 10.2.2.2 10.2.2.3 192.168.1.1 Router rip Network 172.16.0.0 Network 10.0.0.0 Router rip Network 10.0.0.0 Router rip Network 192.168.1.0 Network 10.0.0.0
Autonomous Systems An autonomous system is a collection of networks under a common administrative domain. IGPs  operate within an autonomous system where as EGP connects different autonomous systems. Every autonomous system has a distinct number.The Internet Assigned Numbers Authority (IANA) is responsible for allocating this number. Eg. Autonomous system 100. We can use any number unless the organization plans for an EGP.
Configuring IGRP Syntaxes. Router(config)#router igrp autonomous number This defines IGRP as the routing protocol. Router(config-router)#Network network-ip Selects directly connected networks. Router(config-router)#variance multiplier Configures unequal-cost load balancing by defining difference between the best metric and the worst acceptable metric. Router(config-router)#traffic-share (balanced/ min)
Autonomous System 100 172.16.1.0 E0 S2 S2 S3 S3 E0 192.168.1.0 172.16.1.1 10.1.1.1 10.1.1.2 10.2.2.2 10.2.2.3 192.168.1.1 Router igrp 100 Network 172.16.0.0 Network 10.0.0.0 Router igrp 100 Network 10.0.0.0 Router igrp 100 Network 192.168.1.0 Network 10.0.0.0
IP Classless Command Router(config)# ip classless A router by default assumes that all the subnets of a directly connected network should be present in the routing table. If a packet is received with a destination address, of an unknown subnet of directly attached network, the router assumes that the subnet does not exists and drops the packet. This happens even if routing table has a default route.For the above condition if  IP Classless is configured, and if any packet is received, then the router will match it to the default route and forword it to the next hop specified by the default route.
EIGRP
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
OSPF   OSPF(Open Short Path First) is of two types : 1) Single Area OSPF and 2) Multi Area OSPF. Internal Routers Area1 Area2 Area Border Router IR IR ABR ABR Area0 S 0 S 0
Router A Router B S 0 192.168.1.194/252 192.168.1.193/252  S 0 E 0 1.65 192.168.1.32/ 255.255.255.224 192.168.1.64/ 255.255.255.224 E 0 1.33 OSPF under Single Area
(Config)# ip routing (Config-Router)# router OSPF 6573 (Config-Router)# network 192.168.1.32 0.0.0.31 area 1 (Config-Router)# area 1 range 192.168.1.32  255.255.255.224 (Config-Router)# network 192.168.1.192 0.0.0.3 area 1 (Config-Router)# area 1 range 192.168.1.192  255.255.255.224
(Config)# ip routing (Config-Router)# router OSPF 6573 (Config-Router)# network 192.168.1.32 0.0.0.31 area 1 (Config-Router)# area 1 range 192.168.1.64  255.255.255.224 (Config-Router)# network 192.168.1.195 0.0.0.3 area 1 (Config-Router)# area 1 range 192.168.1.195  255.255.255.252 Configuration of Router B --------------------------------
OSPF under Different Areas Area 0 192.168.1.0 192.168.5.0 Area 1 Area 2 E0 E0 5.50 Router A Router B 1.50
(Config)# ip routing (Config-Router)# router OSPF 6573 (Config-Router)# network 192.168.1.0 0.0.0.255 area 1 (Config-Router)# area 1 range 192.168.1.0  255.255.255.0 (Config-Router)# network 172.16.0.0 0.0.255.255 area 0 (Config-Router)# area 0 range 172.16.0.0  255.255.0.0 Configuration of Router A --------------------------------
Configuration of Router B -------------------------------- (Config)# ip routing (Config-Router)# router OSPF 6573 (Config-Router)# network 192.168.5.0 0.0.0.255 area 2 (Config-Router)# area 2 range 192.168.5.0  255.255.255.0 (Config-Router)# network 172.16.0.0 0.0.255.255 area 0 (Config-Router)# area 0 range 172.16.0.0  255.255.0.0
Access Control List It is also called Network Traffic Control Management (NTCM). We can provide restrictions to individual users, subnets and services etc. ACL Standard ACL Extended ACL Any access list is identified by its number. S.  A.  L  1 – 99 Ex. A. L  100 - 199
[object Object],[object Object],[object Object],[object Object]
Standard Access List Router A Router B S 0 172.16.1.1 172.16.1.2  S 0 E 0 5.50 1.1 1.2 1.3 1.4 5.1 5.2 5.4 5.3  E 0 1.50 Syntax Router(config)# Access-list ALNO P/D  Src  Src-WCM Router(config)# Int <name of interface> Router(Config-if)#Ip Access-Group <Direction>
Configuration Standard Access-list For  Router A  Restricting  particular user (Config)# Access-list 1 deny  192.168.1.3 0.0.0.0 (Config)# Access-list 1 permit  0.0.0.0 255.255.255.255 or Access-list 1 permit any Restricting  a Network (Config)# Access-list 1 deny  192.168.3.0 0.0.0.255 (Config)# Access-list 1 permit  any
Extended Access List Router A Router B S 0 172.16.1.1 172.16.1.2  S 0 E 0 5.50 1.1 1.2 1.3 1.4 5.1 5.2 5.4 5.3  E 0 1.50 1.20
Configuration of Router A   (Config)# Access-list 101 deny TCP  192.168.5.0 0.0.0.255  192.168.1.20  0.0.0.0 eq FTP (Config)# Access-list 101 permit  IP  any  any Implementation  (Config)#int E0 (config-if)# IP Access-group 101 Out
 
NAT(Network Address Translation) Router A Router B S 0 172.16.1.1 172.16.1.2  S 0 E 0 5.50 1.1 1.2 192.168.1.3 1.4 5.1 5.2 5.4 5.3  E 0 1.50 Note :  192.168.1.3 is denied from entering the network of 5.0.So it will enter with mask.
Configuration of Router A  -------------------------------- # Config t (Config)# int E 0 (Config-if)#   ip address 192.168.1.50  255.255.255.0 (Config-if)# no shut (Config-if)# exit (Config)# int S 0 (Config-if)# ip address 172.16.1.1  255.255.0.0 (Config-if)# clock rate 56000 (Config-if)# bandwidth 64 (Config-if)# no shut (Config-if)# exit (Config)# ip routing (Config-Router)# ip route 192.168.5.0 255.255.255.0 172.16.1.2 (Config)# int E 0 (Config-if)# ip nat inside
(Config)# int S 0 (Config-if)# ip nat outside (Config)# access-list 1 permit 192.168.1.3  0.0.0.0 (Config)# ip nat inside source list 1 int S 0 overload # Config t (Config)# int E 0 (Config-if)#   ip address 192.168.5.50  255.255.255.0 (Config-if)# no shut (Config-if)# exit (Config)# int S 0 (Config-if)# ip address 172.16.1.2  255.255.0.0 (Config-if)# clock rate 56000 (Config-if)# bandwidth 64 (Config-if)# no shut (Config-if)# exit Configuration of Router B  --------------------------------
(Config)# ip routing (Config-Router)# ip route 192.168.1.0 255.255.255.0 172.16.1.1 (Config)# access-list 10 deny 192.168.1.3  0.0.0.0 (Config)# access-list 10 permit any (Config)# int E 0 (Config-if)# ip access-group 10 out Note :  Only Public IP can go to the Internetworking world.
A Scenario of providing Net access to the IP's of  Router B Natting Router A Router B Switch Routing Leased line Routing 5.0 5.50 1.50 172.16.1.1 172.16.1.2 192.168.1.99
Configuration of Router A  -------------------------------- # Config t (Config)# int E 0 (Config-if)#   ip address 192.168.1.50  255.255.255.0 (Config-if)# no shut (Config-if)# exit (Config)# int S 0 (Config-if)# ip address 172.16.1.1  255.255.0.0 (Config-if)# clock rate 56000 (for DCE) (Config-if)# bandwidth 64 (Config-if)# no shut (Config-if)# exit (Config)# ip routing (Config-Router)# ip route 0.0.0.0 0.0.0.0 192.168.1.99
(Config)# int S 0 (Config-if)# ip nat inside ((Config-if)# exit (Config)# access-list 10 permit 172.16.0.0 0.0.255.255 (Config)# ip nat inside source list 10 int E 0 overload (Config)# int E 0 (Config-if)# ip nat outside (Config-if)# no shut (Config-if)# exit Configuration of Router B  -------------------------------- # Config t (Config)# int E 0 (Config-if)#   ip address 192.168.5.50  255.255.255.0 (Config-if)# no shut (Config-if)# exit
(Config)# int S 0 (Config-if)# ip address 172.16.1.2  255.255.0.0 (Config-if)# clock rate 56000 (Config-if)# bandwidth 64 (Config-if)# no shut (Config-if)# exit (Config)# int E 0 (Config-if)# ip nat inside (Config-if)# no shut (Config-if)# exit (Config)# int S 0 (Config-if)# ip nat outside (Config-if)# exit (Config)# ip routing (Config-Router)# ip route 0.0.0.0 0.0.0.0 172.16.1.1 (Config)# access-list 10 permit 192.168.5.0 0.0.0.255 (Config)# ip nat inside source list 10 int E 0 overload
PPP(Point-to-Point) using PAP protocol Router A (ISDN) Router B (Zoom) S 0 172.16.1.1 172.16.1.2  S 0 E 0 5.50 1.1 1.2 1.3 1.4 5.1 5.2 5.4 5.3  E 0 1.50 Internet based leased line NOTE :  Passwords of both should be same.
Configuration of Router A  -------------------------------- # Config t (Config)# int E 0 (Config-if)#   ip address 192.168.1.50  255.255.255.0 (Config-if)# no shut (Config-if)# exit (Config)# int S 0 (Config-if)# ip address 172.16.1.1  255.255.0.0 (Config-if)# clock rate 56000 (for DCE) (Config-if)# bandwidth 64 (Config-if)# no shut (Config-if)# exit (Config)# ip routing (Config-Router)# ip route 192.168.5.0 255.255.255.0 172.16.1.2 (Config)# int S 0 (Config-if)# encapsulation ppp (Config-if)# ppp authentication PAP (Config-if)# ppp PAP sent-username zoom password cisco
Configuration of Router B  -------------------------------- # Config t (Config)# int E 0 (Config-if)#   ip address 192.168.5.50  255.255.255.0 (Config-if)# no shut (Config-if)# exit (Config)# int S 0 (Config-if)# ip address 172.16.1.2  255.255.0.0 (Config-if)# clock rate 56000 (for DCE) (Config-if)# bandwidth 64 (Config-if)# no shut (Config-if)# exit (Config)# ip routing (Config-Router)# ip route 192.168.1.0 255.255.255.0 172.16.1.1 (Config)# int S 0 (Config-if)# encapsulation ppp (Config-if)# ppp authentication PAP (Config-if)# ppp PAP sent-username ISP password cisco
PPP(Point-to-Point) using CHAP protocol Router A (ISDN) Router B (Zoom) S 0 172.16.1.1 172.16.1.2  S 0 E 0 5.50 1.1 1.2 1.3 1.4 5.1 5.2 5.4 5.3  E 0 1.50 Internet based leased line NOTE :  Passwords of both should be same.
Configuration of Router A  -------------------------------- # Config t (Config)# int E 0 (Config-if)#   ip address 192.168.1.50  255.255.255.0 (Config-if)# no shut (Config-if)# exit (Config)# int S 0 (Config-if)# ip address 172.16.1.1  255.255.0.0 (Config-if)# clock rate 56000 (for DCE) (Config-if)# bandwidth 64 (Config-if)# no shut (Config-if)# exit (Config)# ip routing (Config-Router)# ip route 192.168.5.0 255.255.255.0 172.16.1.2 (Config)# int S 0 (Config-if)# encapsulation ppp (Config-if)# ppp authentication CHAP (Config-if)# ppp CHAP hostname zoom  (Config-if)# ppp CHAP password cisco
Configuration of Router B  -------------------------------- # Config t (Config)# int E 0 (Config-if)#   ip address 192.168.5.50  255.255.255.0 (Config-if)# no shut (Config-if)# exit (Config)# int S 0 (Config-if)# ip address 172.16.1.2  255.255.0.0 (Config-if)# clock rate 56000 (for DCE) (Config-if)# bandwidth 64 (Config-if)# no shut (Config-if)# exit (Config)# ip routing (Config-Router)# ip route 192.168.1.0 255.255.255.0 172.16.1.1 (Config)# int S 0 (Config-if)# encapsulation ppp (Config-if)# ppp authentication CHAP (Config-if)# ppp CHAP hostname ISP (Config-if)# ppp CHAP password cisco
DDR(Dial on Demand Routing) Router A Router B S 0 172.16.1.1 172.16.1.2  S 0 E 0 5.50 1.1 1.2 1.3 1.4 5.1 5.2 5.4 5.3  E 0 1.50 ISP
# Config t (Config)# isdn switch-type basic-net 3 (Config)# int E 0/1 (Config-if)# ip address 192.168.1.50 255.255.255.0 (Config-if)# no shut (Config-if)# exit (Config)# int Bri 1/0 (Config-if)# no ip address (Config-if)# encapsulation ppp (Config-if)# no cdp enable (Config-if)# no shut (Config-if)# exit (Config)# int dialer 1 (Config-if)# ip address negotiated (Config-if)# encapsulation ppp (Config-if)# no cdp enable (Config-if)# ppp authentication CHAP PAP callin (Config-if)# ppp CHAP hostname unicomin@hd2 (Config-if)# ppp CHAP password  password
(Config-if)# ppp PAP sent-username unicomin@hd2 password  password (Config-if)# dialer in-band  (Config-if)# dialer string 3328400 (Config-if)# dialer idle-time out 180 (Config-if)# dialer hold-queue 10 (Config-if)# exit (Config)# access-list 1 permit 192.168.1.0 0.0.0.255 (Config)# dialer-list 1 protocol ip permit ((Config)# int bri 1/0 (Config-if)# dialer rotary-group 1 (Config-if)# no shut (Config-if)# exit (Config)# int dialer 1 (Config-if)# dialer-group 1 (Config-if)# exit (Config)# ip routing (Config-router)# ip route 0.0.0.0 0.0.0.0 dialer 1 2
(Config)# ip name-server 202.54.30.2 (Config)# ip name-server 202.54.2.30 (Config)# int E 0 (Config-if)# ip nat inside (Config-if)# no shut (Config-if)# exit (Config)# int Bri 1/0 (Config-if)# ip nat outside (Config-if)# no shut (Config-if)# exit (Config)# int dialer 1 (Config-if)# ip nat outside (Config-if)# exit (Config)# ip nat inside source list 1 int dialer 1 overload
Backup Interface for a Leased Line S 0 172.16.1.1 172.16.1.2  S 0 E 0 5.50 1.1 1.2 1.3 1.4 5.1 5.2 5.4 5.3  E 0 1.50 ISP ISP CPE -Customer Premises Equipment DTE -Data Communications & Circutary end CPE/DTE Bri 0
# Config t (Config)# isdn switch-type basic-net 3 (Config)# int E 0/1 (Config-if)# ip address 192.168.1.50 255.255.255.0 (Config-if)# no shut (Config-if)# exit (Config)# int S 0 (Config-if)# ip address 172.16.1.1 255.255.0.0 (Config)# int Bri 1/ 0 (Config-if)# no ip address (Config-if)# encapsulation ppp (Config-if)# no cdp enable (Config-if)# no shut (Config-if)# exit
(Config)# int dialer 1 (Config-if)# ip address negotiated (Config-if)# encapsulation ppp (Config-if)# no cdp enable (Config-if)# ppp authentication CHAP PAP callin (Config-if)# ppp CHAP hostname zoom (Config-if)# ppp CHAP password cisco (Config-if)# ppp PAP sent-username isp password  cisco (Config-if)# dialer in-band  (Config-if)# dialer string 3328400 (Config-if)# dialer ideal-time out 180 (Config-if)# dialer hold-queue 10 (Config-if)# exit (Config)# access-list 1 permit 192.168.1.0 0.0.0.255 (Config)# dialer-list 1 protocol ip permit ((Config)# int bri 1/ 0 (Config-if)# dialer rotary-group 1 (Config-if)# no shut (Config-if)# exit
(Config)# int dialer 1 (Config-if)# dialer-group 1 (Config-if)# exit (Config)# ip routing (Config-router)# ip route 0.0.0.0 0.0.0.0 S 0 (Config-router)# ip route 0.0.0.0 0.0.0.0 dialer 1 2 (Config)# ip name-server 202.54.30.1 (Config)# ip name-server 202.54.1.30 (Config)# int E 0 (Config-if)# ip nat inside (Config-if)# no shut (Config-if)# exit (Config)# int Bri 1/ 0 (Config-if)# ip nat outside (Config-if)# no shut (Config-if)# exit
(Config)# int dialer 1 (Config-if)# ip nat outside (Config-if)# exit (Config)# Access-list 2 permit 4 public 10 (Config)# ip nat inside source list 2 int dialer 1 overload (Config)# int S 0 (Config-if)# backup interface bri 1/0 (Config-if)# backup delay 30 60
Frame Relay Point - to - Point frame-relay Network Router A S 0 172.16.1.1 172.16.1.2  S 0 E 0 5.50 1.1 1.2 1.3 1.4 5.1 5.2 5.4 5.3  E 0 1.50 Dlci 101 Dlci 102 Router B Fr-Switch Fr-Switch PVC
Config t (Config)# int S 0 (Config-if)# no ip address (Config-if)# encapsulation frame-relay (Config-if)# no shut (Config-if)# exit (Config)# int S 0.1 point-to-point (Config-if)# bandwidth 64 (Config-if)# ip address 172.16.1.1 255.255.0.0 (Config-if)# frame-relay interface DLC1 102 (or) (Config-if)# frame-relay map ip 172.16.1.2 102 broadcast (Config-if)# no shut (Config-if)# exit (Config)# ip routing (Config)# ip route 192.168.5.0 255.255.255.0 172.16.1.2
Point - to - Multi Point 10.0.0.4 101 102 A B C D 103 104 10.0.0.3 10.0.0.2 10.0.0.1 4.0 2.0 3.0 1.0
Config t (Config)# int S 0 (Config-if)# no ip address (Config-if)# encapsulation frame-relay (Config-if)# no shut (Config-if)# exit (Config)# int S 0.1 multipoint (Config-if)# bandwidth 64 (Config-if)# ip address 10.0.0.4  255.0.0.0 (Config-if)# frame-relay map ip 10.0.0.1 103 broadcast (Config-if)# frame-relay map ip 10.0.0.2 102 broadcast (Config-if)# frame-relay map ip 10.0.0.3 101 broadcast (Config-if)# no shut (Config-if)# exit (Config)# ip routing (Config)# ip route 192.168.2.0 255.255.255.0 10.0.0.3 (Config)# ip route 192.168.4.0 255.255.255.0 10.0.0.1 (Config)# ip route 192.168.5.0 255.255.255.0 10.0.0.2 Configuration of Router A  --------------------------------
Point-to-Point -  Point-to-Point 4.0 2.0 3.0 1.0 10.0.0.1 10.0.0.3 10.0.0.2 172.16.1.2 172.16.1.1 161.16.1.1 101 102 103 104
Config t (Config)# int S 0 (Config-if)# no ip address (Config-if)# encapsulation frame-relay (Config-if)# no shut (Config-if)# exit (Config)# int S 0.1 point-to-point (Config-if)# bandwidth 64 (Config-if)# clockrate 56000 (Config-if)# ip address 172.16.1.1  255.255.0.0 (Config-if)# frame-relay map ip 172.16.1.2 103 broadcast (Config-if)# no shut (Config-if)# exit Configuration of Router A  --------------------------------
(Config)# int S 0.2 point-to-point (Config-if)# ip address 161.16.1.1 255.255.0.0 (Config-if)# no shut (Config-if)# bandwidth 64 (Config-if)# clock rate 56000 (Config-if)# frame-relay map ip 161.16.1.2 102 broadcast (Config-if)# exit (Config)# int S 0.3 point-to-point (Config-if)# bandwidth 64 (Config-if)# clockrate 56000 (Config-if)# ip address 10.0.0.1  255.0.0.0 (Config-if)# frame-relay map ip 10.0.0.2 101 broadcast (Config-if)# no shut (Config-if)# exit (Config)# ip routing (Config)# ip route 172.16.0.0 255.255.0.0
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
3. Session layer Establishing the session or the conectivity n/w n/w 1 & n/w 2 is done By the session layer. It 1. Establishes  a session 2. maintains it & 3. Terminates it b/w the application 4. Transport layer End-end connectivity during a session b/w two application is done By the transport layer. It also decides the type of connection like tcp or udp i.e. connection oriented or connection less. Services: Sequencing Flow ctrl, error detection & correction Transport layer info + data is called segment.
5. Netwrok layer Logical addressing is done at thenetwork layer i.e. source address & destination address are attached to the data. Protocols @network layer Routed protocols   routing protocols Eg: ip,ipx   eg: rip,igrp,ospf Routed protocols: they always carry the data along with them Routing protocol: they identify the path for routed protocol to  carry the data At this layer routers & layer 3 switches forms packets.
Data link layer MAC LLC Media access control  logical link control framing of data Ip address is lik the pincode & MAC address is like house number. Here layer2 switches are used. Wab protocols used at this layer are PPP,HDLC,FP,X.25 etc. Here error checking CRC bits are added to the packets DLL info+ packets -->  frames
7 physical layer Takes care of physical connectivity i.e connector,cable etc. here Frames are converted to bits (1’s & 0’s). The devices like hubs, repeaters,cables & connectors are used at  this layer. I P   Addressing   Now a days ip ver4 is followed. It is a 32-bit addressing scheme. 32bits are divided into 4 octets of 8 bits each. i.e 8-8-8-8. i.e (1’s & 0’s)-(1’s & 0s)-(1’s & 0’s)-(1’s & 0’s). (binary format). The ip address is maximum of 255 & min of 0. In future ip ver 6 is expected. It is 128 bit scheme. Ip adresses are clsassified into different classes.
Class  A 0 - 127 Class  B 128 - 191 Class  C 192 - 223 Class  D 224 - 239 Class  E 240 - 255 8-8-8-8 M.S.O Most Significant Ocate considering MSO
Through out class A, the MSB ‘0’ is  constant in class B the  Msbs are ‘101’ constant through out. Class D & E are not used for internetworking class D is used for Multicast network. “  E “  “  “ research. class A 0-0-0-0 should not be assigned for any divice 127-0-0-0 is reserved for loopback 127-0-0-1 127-0-0-” 127-0-0-” usually reserved for loopback 127-0-0-” 127-255-255-254
Hence 0 & 127 cannot be used for adressing so actual range will be  1 to 126. All ip addresses are divided into two. 1.network I.d 2.host I.d in class a address there is  1n I.d postion & 3 host I.d postion I,e  N-H-H-H.. Class A  N-H-H-H Class B  N-N-H-H Class C N-N-N-H Network Ids are represented by 1s &  host ids are by 0s.
Types of ip adresses   IP address   public ip address  private ip address Public network: the public address is defined with routing over the  Internet it is given by I.S.P & routing table is created on the internet. Private network: for internal network I,e intranet, all the ip addresses  Are governed by a body called INTERNIC. If we are a part of asia Pacefic then it is governed by APNIC. We can run our private network with any ip addresses of our choice  But it  should not be connected to internet.
Range of addresses for private network Class A 10.0.0.0 to 10.255.255.255 Class B 172.16.0.0 to 172.31.255.255 Class C 192.168.0.0 to 192.168.255.255 Private ip addresses donot have routing. To meet the demand of no.of networks, the network is broken  Into smaller networks called subnets. Eg: find no.of subnets, hosts/s.n subnet mask & valid ip addresses For a class c address. 192.168.1.0/24 ‘ 24’ shows the network bits 24= 3 octate position bits are enough, therefore no need to borrow Any bits from host position. =24 network & no host Default subet mask is 255.255.255.0 & valid ip addresses are  192.168.1.0 network
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Switches  Access layer Distribution layer Core layer Access layer swithc: catalyst 1912  Catalyst – manufacturer, but it is now owned by cisco. 12 port switch
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The switch will always learn the MAC address from the source itself The source should atleast communicate once to learn the MAC address. 2. Filter & forwarding : store & forward cut through fragment free On access layer the default is fragment free we can change to any Of the3 mentioned above. 1.store & forward: it stores the whole information (1500 bytes Ethernet) into buffer, then checks for errors, looks for destination  In MAC table and then forward. 2. Cut through: no error checking.as soon as a packet arrives It looks into MAC table & forward.
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The “hello” packets that are sent by root bridge for every 2 sec to inform that it is working properly are called BPDUS;  (bridge protocol data limits). If non root bridge do no receive  10 BPDUs for next 20secs then it is clear that the root bridge has Failed. 20secs – max age time Then a new root bridge is selected. In the above eg:if switch A is selected as root bridge and ports A & B  Of switch A are designated ports. Depending on the shortest paths For high speed & low cost one port of switch B is selected as root port & the other will be blocked.
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
‘ B’channel – it is a bearer channel for data. ‘ D’channel – it is a delta channel for synchronization In bri each  B channel = 64 kbps   d channel = 16kbps Max 128 kbps BW in isdn In PRI both B & D channels _= 64kbps. European – 2mbps North american – 1.54 mbps ISDN will have a voltage of 90-110v
SPID number : (service profile identifier) to identify the link. Types of ISDN switches Euro-basic net3 U.S-basic 5 ess-at&t standard U.K-basic net3 & basic net5 France-vn3 & vn4 Ss7 (signalling system7) Will be configured at the back bone side. telco  vn3/vn4  basic net3 France   India ss7
E-series, I-series & Q-series E-tells about telephone network & ISDN network I-tells about concepts & interfaces of ISDN Q-tells about signalling & switching of ISDN DDR Dail on Demand Routing The main feature of ISDN is it dials & connects on request &  Discounects when no data transfer is taking place. nat (network address translation IP NAT inside IP NAT out side overload
IPNAT inside: any request from th internal network will be NATED To public Ip address sending the request from internal network To Bri interface is overloading. When ever NAT is enable, the router will maintain a nat table. Nat table: When nat t able is enabled nau request will be allocated a port  Number after 1024. Above 1024 port numbers are reserved for other Services. This allocation of port numbers is dynamic.
Configuring a DDR for ISDN Config#int e0 Config#ip adress 192.168.5.150 255.255.255.0 Config#ip nat inside Config#exit Config-if#int bri 0 Config-if#ip address negotiated  Config-if#encapsulation PPP Config-if#PPP authenticaiton PAP chap collin Config-if#PPP chap hostname (username) Config-if#PPP chap password (password) Config-if#dialer string (tel.no.) Config-if#dialer idle timeout (time in secs) Config-if#dialer group Config-if#ip nat outside Config-if#exit
Ip address negotialted : this is when an ip adress is fetched kdynamically From ISP 7 donot have a permanent public I.P adress Dialer – list range 1-10 to configure router as a DHCP server Config#ip pool <name> staring ip end ip. Some ISDN command Sh int bri0 Sh isdn status (layer 1 should be active. If not physical conectivity is lost) Sh isdn active Sh isdn history Sh ip network translaiton

Más contenido relacionado

La actualidad más candente

Day 1 INTRODUCTION TO IOS AND CISCO ROUTERS
Day 1 INTRODUCTION TO IOS AND CISCO ROUTERSDay 1 INTRODUCTION TO IOS AND CISCO ROUTERS
Day 1 INTRODUCTION TO IOS AND CISCO ROUTERS
anilinvns
 
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9eChapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
adpeer
 
Cisco Router Basic Configuration
Cisco Router Basic ConfigurationCisco Router Basic Configuration
Cisco Router Basic Configuration
Prof. Erwin Globio
 
CCNA Network Devices
CCNA Network DevicesCCNA Network Devices
CCNA Network Devices
Dsunte Wilson
 

La actualidad más candente (20)

Cisco router basic
Cisco router basicCisco router basic
Cisco router basic
 
Day 1 INTRODUCTION TO IOS AND CISCO ROUTERS
Day 1 INTRODUCTION TO IOS AND CISCO ROUTERSDay 1 INTRODUCTION TO IOS AND CISCO ROUTERS
Day 1 INTRODUCTION TO IOS AND CISCO ROUTERS
 
CCNA Course Training Presentation
CCNA Course Training PresentationCCNA Course Training Presentation
CCNA Course Training Presentation
 
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9eChapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
 
CCNA PPT
CCNA PPTCCNA PPT
CCNA PPT
 
Eigrp.ppt
Eigrp.pptEigrp.ppt
Eigrp.ppt
 
Ccna PPT
Ccna PPTCcna PPT
Ccna PPT
 
CCNA IP Addressing
CCNA IP AddressingCCNA IP Addressing
CCNA IP Addressing
 
Static Routing
Static RoutingStatic Routing
Static Routing
 
CCNA ppt Day 1
CCNA ppt Day 1CCNA ppt Day 1
CCNA ppt Day 1
 
Introduction to router
Introduction to routerIntroduction to router
Introduction to router
 
HSRP ccna
HSRP ccna HSRP ccna
HSRP ccna
 
Cisco Router Basic Configuration
Cisco Router Basic ConfigurationCisco Router Basic Configuration
Cisco Router Basic Configuration
 
CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4CCNA 2 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 4
 
Nat pat
Nat patNat pat
Nat pat
 
Chapter 17 : static routing
Chapter 17 : static routingChapter 17 : static routing
Chapter 17 : static routing
 
VTP
VTPVTP
VTP
 
CCNP Security-Firewall
CCNP Security-FirewallCCNP Security-Firewall
CCNP Security-Firewall
 
CCNA Network Devices
CCNA Network DevicesCCNA Network Devices
CCNA Network Devices
 
Ospf.ppt
Ospf.pptOspf.ppt
Ospf.ppt
 

Destacado

Ccna Presentation
Ccna PresentationCcna Presentation
Ccna Presentation
bcdran
 
CCNA
CCNACCNA
CCNA
niict
 
Mcse notes
Mcse notesMcse notes
Mcse notes
vrammn
 
Route Authentication
Route AuthenticationRoute Authentication
Route Authentication
Kishore Kumar
 

Destacado (20)

Computer networking
Computer networkingComputer networking
Computer networking
 
Ccna Presentation
Ccna PresentationCcna Presentation
Ccna Presentation
 
CCNA Industrial Training Presentation
CCNA Industrial Training PresentationCCNA Industrial Training Presentation
CCNA Industrial Training Presentation
 
CCNA training report
CCNA training reportCCNA training report
CCNA training report
 
1. Introduction
1. Introduction1. Introduction
1. Introduction
 
IP Addressing
IP AddressingIP Addressing
IP Addressing
 
Dynamic Routing RIP
Dynamic Routing RIPDynamic Routing RIP
Dynamic Routing RIP
 
CCNA
CCNACCNA
CCNA
 
Mcse notes
Mcse notesMcse notes
Mcse notes
 
Internal & External of Routers
Internal & External of RoutersInternal & External of Routers
Internal & External of Routers
 
CCNA PPT
CCNA PPTCCNA PPT
CCNA PPT
 
Switching Types
Switching TypesSwitching Types
Switching Types
 
CCNA 1 Routing and Switching v5.0 Chapter 2
CCNA 1 Routing and Switching v5.0 Chapter 2CCNA 1 Routing and Switching v5.0 Chapter 2
CCNA 1 Routing and Switching v5.0 Chapter 2
 
CCNA 1 Routing and Switching v5.0 Chapter 1
CCNA 1 Routing and Switching v5.0 Chapter 1CCNA 1 Routing and Switching v5.0 Chapter 1
CCNA 1 Routing and Switching v5.0 Chapter 1
 
Route Authentication
Route AuthenticationRoute Authentication
Route Authentication
 
Switching Types
Switching TypesSwitching Types
Switching Types
 
OSPF 3
OSPF 3OSPF 3
OSPF 3
 
Initial Configuration of Router
Initial Configuration of RouterInitial Configuration of Router
Initial Configuration of Router
 
Multi Static Routng & Default Routing
Multi Static Routng & Default RoutingMulti Static Routng & Default Routing
Multi Static Routng & Default Routing
 
OSPF 2
OSPF 2OSPF 2
OSPF 2
 

Similar a CCNA presentation.

CCNA at a glance
CCNA at a glanceCCNA at a glance
CCNA at a glance
Vikas Raut
 
introduction-to-cisco-routers.ppt
introduction-to-cisco-routers.pptintroduction-to-cisco-routers.ppt
introduction-to-cisco-routers.ppt
RobelTsada
 
VESIT WORKSHOP SIMULATIONS.ppt
VESIT WORKSHOP SIMULATIONS.pptVESIT WORKSHOP SIMULATIONS.ppt
VESIT WORKSHOP SIMULATIONS.ppt
zmulani8
 
VESIT WORKSHOP SIMULATIONS.ppt
VESIT WORKSHOP SIMULATIONS.pptVESIT WORKSHOP SIMULATIONS.ppt
VESIT WORKSHOP SIMULATIONS.ppt
zmulani8
 
Cisco router configuration tutorial
Cisco router configuration tutorialCisco router configuration tutorial
Cisco router configuration tutorial
IT Tech
 
Intro to router_config
Intro to router_configIntro to router_config
Intro to router_config
97148881557
 

Similar a CCNA presentation. (20)

CCNA at a glance
CCNA at a glanceCCNA at a glance
CCNA at a glance
 
OSWAN.pptx
OSWAN.pptxOSWAN.pptx
OSWAN.pptx
 
Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)
 
Mod11
Mod11Mod11
Mod11
 
CCNA ppt Day 4
CCNA ppt Day 4CCNA ppt Day 4
CCNA ppt Day 4
 
C C N A Day2
C C N A  Day2C C N A  Day2
C C N A Day2
 
Cisco IOS (internetworking operating system)
Cisco IOS (internetworking operating system)Cisco IOS (internetworking operating system)
Cisco IOS (internetworking operating system)
 
introduction-to-cisco-routers basic .ppt
introduction-to-cisco-routers basic .pptintroduction-to-cisco-routers basic .ppt
introduction-to-cisco-routers basic .ppt
 
introduction-to-cisco-routers.ppt
introduction-to-cisco-routers.pptintroduction-to-cisco-routers.ppt
introduction-to-cisco-routers.ppt
 
VESIT WORKSHOP SIMULATIONS.ppt
VESIT WORKSHOP SIMULATIONS.pptVESIT WORKSHOP SIMULATIONS.ppt
VESIT WORKSHOP SIMULATIONS.ppt
 
VESIT WORKSHOP SIMULATIONS.ppt
VESIT WORKSHOP SIMULATIONS.pptVESIT WORKSHOP SIMULATIONS.ppt
VESIT WORKSHOP SIMULATIONS.ppt
 
VESIT WORKSHOP SIMULATIONS.ppt
VESIT WORKSHOP SIMULATIONS.pptVESIT WORKSHOP SIMULATIONS.ppt
VESIT WORKSHOP SIMULATIONS.ppt
 
Ccna command
Ccna commandCcna command
Ccna command
 
managing your network environment
managing your network environmentmanaging your network environment
managing your network environment
 
Cisco router configuration tutorial
Cisco router configuration tutorialCisco router configuration tutorial
Cisco router configuration tutorial
 
Intro to router_config
Intro to router_configIntro to router_config
Intro to router_config
 
CCNA CheatSheet
CCNA CheatSheetCCNA CheatSheet
CCNA CheatSheet
 
Cis81 ccna1v5-2-configuring networkoperatingsystem
Cis81 ccna1v5-2-configuring networkoperatingsystemCis81 ccna1v5-2-configuring networkoperatingsystem
Cis81 ccna1v5-2-configuring networkoperatingsystem
 
CCNA ALL IN ONE
CCNA ALL IN ONE CCNA ALL IN ONE
CCNA ALL IN ONE
 
Intro to router_config
Intro to router_configIntro to router_config
Intro to router_config
 

Más de Ajaigururaj R (18)

Chennai Guide
Chennai GuideChennai Guide
Chennai Guide
 
Chennai Guide
Chennai GuideChennai Guide
Chennai Guide
 
Chennai Guide
Chennai GuideChennai Guide
Chennai Guide
 
Year 2070
Year 2070Year 2070
Year 2070
 
Survey
SurveySurvey
Survey
 
Quiz on heart
Quiz on heartQuiz on heart
Quiz on heart
 
Quiz in cancer
Quiz in cancerQuiz in cancer
Quiz in cancer
 
Quiz in cancer
Quiz in cancerQuiz in cancer
Quiz in cancer
 
Quiz
QuizQuiz
Quiz
 
Diabetes
DiabetesDiabetes
Diabetes
 
Php
PhpPhp
Php
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Wordpress
Wordpress Wordpress
Wordpress
 
Sample app
Sample appSample app
Sample app
 
Opensource and openlearning
Opensource and openlearningOpensource and openlearning
Opensource and openlearning
 
work Chart
work Chart work Chart
work Chart
 
Linux presentation
Linux presentationLinux presentation
Linux presentation
 
Web2 ppt
Web2 pptWeb2 ppt
Web2 ppt
 

Último

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 

CCNA presentation.

  • 2. CISCO 60% 40% D-Link 3 Com Nortel Cygnus Etc.. Cisco’s Market Share
  • 3. Router is an internetworking component, that connects networks which are at different geographical locations.
  • 4. Serial 1 Serial 0 AUI E 0 Console V.35 modem modem Telephone PC AUX Diagram of 2501 series Router
  • 6. 1. Ethernet It is a LAN interface. Some of the models have an RJ45 port for 10baseT or 10/100. And some other have a 15 pin female connector AUI (Attachment Unit Interface). 2. Serial It is a 60 pin female WAN interface for leased line 3. BRI/PRI It is a RJ45 WAN interface for ISDN 4. Async It is a 37 pin female connector for dial ups. 5. Console It is a RJ45 Connector used to configure the Router for the first time. 6. Auxiliary RJ45 Connector for remote access administration.
  • 7. Routers Modular Fixed Modular Routers These type of routers have up gradable slots, and the number of ports can be increased just by adding cards in the slots. Fixed Routers These types of routers have fixed number of ports.
  • 8. Cisco Router’s Series Cisco 700, 800, 1600, 1700, 2500, 2600, 3600, 4000, 5000, 7000,10000, 12000. Fixed Modular 700, 800,….2500 2600,….., 12000 1750 & 1751 exceptionally are Modular Routers.
  • 10. Access Layer 700, …, 2500 Distribution Layer 2600, …, 5000 Core Layer 7000, …, 12000
  • 13.  
  • 14. Boot ROM : It stores the mini IOS (Internet work Operating System) image (RX Boot) with extremely limited capabilities and POST routines and core level OS for maintenance. FLASH : It is an EPROM chip that holds most of the IOS Image. It maintains everything when router is turned off. RAM : RAM holds running IOS configurations and provides caching. RAM is a volatile memory and looses its information when router is turned off. The configuration present in RAM is called Running configuration. NVRAM : It is a re-write able memory area that holds router’s configuration file. NVRAM retains the information when ever router is rebooted. Once configuration is saved, it will be saved in NVRAM and this configuration is called Startup Configuration.
  • 15. Configuration of a Router Router for the first time is configured through the CONSOLE port.COM port of a PC is connected to the console port of router with a console cable by using a transceiver. Router is accessible by a tool. In windows, it is called HYPER TEMINAL. As soon as the router is powered on and accessed, the following things happen, POST BOOT STRAP FLASH NVRAM Setup Mode ROM (mini IOS) If IOS is Corrupted
  • 16. In Setup mode, there will be a message, “ Would You Like To Enter The Initial Configuration [Y/N]” : If “Y” then, initial configuration starts. If “N” would you like to terminate the auto installation? Press “RETURN” to get started……You will land on the default prompt of the Router “ ROUTER >”. Router>_
  • 17.
  • 18. USER MODE Router> is the user mode, I,e the default prompt. It means that when ever a router boots successfully it lands into the user mode. Router cannot be configured from this mode, but it is used for just monitoring purpose. Router> en Router #
  • 19. PREVILEGE MODE Router# it is the administrating mode, we can check whether the settings and configurations made have been implemented or not. Eg. “Router # Sh int e0”. If it is new router all the interfaces are by default shut down, so the message will be, “ Ethernet 0 is administratively down, line protocol is down.”
  • 20. Router# Config t Router (Config)# Global Configuration Mode As the name indicates, it is a global configuration mode I,e. we can configure any interface from this mode, just by entering into the interface mode.
  • 21. The “Clock” Command The clock command is used to set the clock of Router. Syntax. Router# clock set hh:mm:ss Day of week Month Year E.g. Router#clock set 16:35:00 1 April 2003 Note* This is the only configuration which can be done from privilege mode,every other configuration should be done at global configuration mode only.
  • 22. Some of the important show commands in privilege mode Router# sh clock sh int (interface name eg e0) Sh history Sh memory Sh running-config Sh startup-config To save configuration from RAM TO NVRAM Router#Copy Running-config Startup-config (or) Router#Write Memory
  • 23.
  • 24.
  • 25. Previlege PASSWORDS Enable Password Enable Secret Enable Password:- It is global command restricts access to the previlege mode, the password is in clear text. Router(config)#Enable password 123 Enable Secret:-Here the password is in encrypted form. Router(config)#Enable secret cisco
  • 26.
  • 27.
  • 28.
  • 29.
  • 30. ETHERNET Router(config)#Interface Ethernet 0 Router(config-if)#Ip Address 200.150.1.254 255.255.255.0 Router(config-if)#no shutdown Router(config-if)#^Z Router#Show Int E0
  • 31. SERIAL Router(config)#Interface Serial 0 Router(config-if)#Ip Address 150.10.1.1 255.255.0.0 Router(config)#clock rate 56000 Router(Config-if)# bandwidth 64 Router(config-if)#No shutdown Router(config-if)#^Z
  • 32. Interpretring The Interface Status Router# show int s0 Serial0 is up, line protocol is up . Is the messege if the interface is operational. Serial0 is up, line protocol is down ….. This is if there is any connection problem. Serial0 is down, line protocol is down ….. This is if there is any interface problem. Serial0 is administratively down, line protocol is down ….. This is if the interface is disabled.
  • 33. The “CDP” It’s a Cisco's proprietary protocol called the Cisco Discovery Protocol, that gives you a summary of all the directly connected Cisco devices. CDP is a L2 protocol, that discovers neighbor regardless of which protocol suite they are running. When a cisco device boots up, the CDP is loaded by default, but can be disabled at interface level. * The CDP is limited to the immediate neighbors only… The summary includes Device Identifier(eg. Switch configured name or domain name), Port Identifier (eg. Ethernet 0 and serial 0.), Capabilities list (eg. The device can act as a sourcr route bridge as well as a router), Platform (eg. Cisco 2600).
  • 35.  
  • 36. Using CDP Router# sh cdp neighbor (shows neighboring devices) To disable CDP…., Router(config)#no cdp run Router(config)#int s0 Router(config-if)#no cdp enable Router# sh cdp entry 192.168.10.1 (shows detailed information about this perticular neighbor.) Router# sh cdp interface(shows the details of the interface of the local decive.) Router# sh cdp traffic (shows the packet sent, received, lost etc.)
  • 37. Backup & Restoring Routers IOS Image Using TFTP (Trivial File Transfer Protocol) TFTP Server allows you to take backup, upload and save your IOS Image and current configuration on it. TFTP is a software program of 1.3Mb. This should be installed on that TFTP server i.e., (Personnel Computer). C:rogram filesisco systemsisco TFTP * Note: Always while taking Backup or Restoration TFTP software should execute on that particular computer.
  • 38.
  • 39. Backup of IOS Image Router#Copy Flash:(Press Tab key) Tftp Address or name of the remote host [ ]? (Ip address of tftp) Destination file name [ ] ? (Press enter key or a name) Backup of Configuration Router#Copy Startup-config Tftp Address or name of the remote host [ ]? (Ip address of tftp) Destination file name [ ] ? (Give a name)
  • 40. Upgrading IOS Image Note: This process can only be done by Console Session. Router#Copy tftp Flash: Address or name of remote host []? Source file name []? Destination file name []? Erase Flash: before copying [confirm]? Erasing the Flash file system will remove all files: continue? [confirm] Erasing device eeeeeeee……….eeeeeee.eee.eeee.ee Loading!!!!!!!!!!!!!!!!!!!!!!!!!!!!!…….!!!!…….!!!!!!
  • 41. Leased line WAN Setup Case 1: The distance between the locations is greater than 5 Km. Requirements A pair of Routers, Leased line, pair of leased line modems V.35, Pair of G.703 Modem. Case 2: The distance between the two locations is less than 5Km. Requirements A pair of Routers, Leased line and pair of leased line modem.
  • 42. Internal Network Internal Network V.35 Cable Csu/ Dsu Switch/hub V.35 modem Csu – channel service unit Dsu – data service unit S0 – Serial port of router E0 – Ethernet port of a router G.703 G.703 Mux/ Dmux Mux/ Dmux S0 E0 S0 E0 Switch/hub Router V.35 modem Leased line Setup( > 5km) Leased line
  • 43. Leased line Setup (< 5 km) Internal Network Internal Network V.35 Cable Csu/ Dsu Switch/hub V.35 modem S0 E0 S0 E0 Switch/hub Router V.35 modem Leased line Telephone Exchange
  • 44.
  • 45. Example: Switch/hub Switch/hub E 0 E 0 S 0 S 0 192.168.1.0/24 192.168.2.0/24 192.168.1.150/24 192.168.2.150/24 10.0.0.1/8 10.0.0.2/8 Location A Location B
  • 46. Router(config)# ip routing Router# sh ip route (it shows all the directly connected networks). “ C 192.168.1.0/24 directly connected to E0” “ C 10.0.0.0/8 “ ‘ ‘ ‘ S0” “ C “ indicates connected networks. Static Routing Syntax Router(config)# ip route (dest-network) (subnet mask) (next hop address)
  • 47. Location A Router(config)# ip routing Router(config)# ip route 192.168.2.0 255.255.255.0 10.0.0.2 Note* if we don’t know the address of next hop, we can just write the name of the hop. Router(config)# ip route 192.168.2.0 255.255.255.0 S0 Location B Router(config)# ip routing Router(config)# ip route 192.168.1.0 255.255.255.0 10.0.0.1
  • 48.
  • 49. “ Tracert”, “Trace Route” and “Route print”. C:gt; tracert C:gt; route print Router# trace route (gives the complete route) Router# sh arp (to check MAC addresses) Default Routing Router(config)# ip routing Router(config)#ip route DA (S/N mask next) (next hop address) Router(config)# ip route 0.0.0.0 0.0.0.0 s1
  • 50. Router# sh ip route C 192.168.1.0/24 directly connected to E0 C 10.0.0.0/8 “ “ to S0 S* 0.0.0.0/0 “ “ to S0 Dynamic Routing It is a type of routing where routing protocols( eg. RIP and IGRP) are used between routers to determine the path and maintain routing table. Once the path is determined a router can route a routed protocol(IP). Dynamic routing uses broad casts and multicasts to communicate with other routers. The routing metric helps routers find the best path to each network.
  • 51.
  • 52.
  • 53.
  • 54. 172.16.1.0 E0 S2 S2 S3 S3 E0 192.168.1.0 172.16.1.1 10.1.1.1 10.1.1.2 10.2.2.2 10.2.2.3 192.168.1.1 Router rip Network 172.16.0.0 Network 10.0.0.0 Router rip Network 10.0.0.0 Router rip Network 192.168.1.0 Network 10.0.0.0
  • 55. Autonomous Systems An autonomous system is a collection of networks under a common administrative domain. IGPs operate within an autonomous system where as EGP connects different autonomous systems. Every autonomous system has a distinct number.The Internet Assigned Numbers Authority (IANA) is responsible for allocating this number. Eg. Autonomous system 100. We can use any number unless the organization plans for an EGP.
  • 56. Configuring IGRP Syntaxes. Router(config)#router igrp autonomous number This defines IGRP as the routing protocol. Router(config-router)#Network network-ip Selects directly connected networks. Router(config-router)#variance multiplier Configures unequal-cost load balancing by defining difference between the best metric and the worst acceptable metric. Router(config-router)#traffic-share (balanced/ min)
  • 57. Autonomous System 100 172.16.1.0 E0 S2 S2 S3 S3 E0 192.168.1.0 172.16.1.1 10.1.1.1 10.1.1.2 10.2.2.2 10.2.2.3 192.168.1.1 Router igrp 100 Network 172.16.0.0 Network 10.0.0.0 Router igrp 100 Network 10.0.0.0 Router igrp 100 Network 192.168.1.0 Network 10.0.0.0
  • 58. IP Classless Command Router(config)# ip classless A router by default assumes that all the subnets of a directly connected network should be present in the routing table. If a packet is received with a destination address, of an unknown subnet of directly attached network, the router assumes that the subnet does not exists and drops the packet. This happens even if routing table has a default route.For the above condition if IP Classless is configured, and if any packet is received, then the router will match it to the default route and forword it to the next hop specified by the default route.
  • 59. EIGRP
  • 60.
  • 61. OSPF OSPF(Open Short Path First) is of two types : 1) Single Area OSPF and 2) Multi Area OSPF. Internal Routers Area1 Area2 Area Border Router IR IR ABR ABR Area0 S 0 S 0
  • 62. Router A Router B S 0 192.168.1.194/252 192.168.1.193/252 S 0 E 0 1.65 192.168.1.32/ 255.255.255.224 192.168.1.64/ 255.255.255.224 E 0 1.33 OSPF under Single Area
  • 63. (Config)# ip routing (Config-Router)# router OSPF 6573 (Config-Router)# network 192.168.1.32 0.0.0.31 area 1 (Config-Router)# area 1 range 192.168.1.32 255.255.255.224 (Config-Router)# network 192.168.1.192 0.0.0.3 area 1 (Config-Router)# area 1 range 192.168.1.192 255.255.255.224
  • 64. (Config)# ip routing (Config-Router)# router OSPF 6573 (Config-Router)# network 192.168.1.32 0.0.0.31 area 1 (Config-Router)# area 1 range 192.168.1.64 255.255.255.224 (Config-Router)# network 192.168.1.195 0.0.0.3 area 1 (Config-Router)# area 1 range 192.168.1.195 255.255.255.252 Configuration of Router B --------------------------------
  • 65. OSPF under Different Areas Area 0 192.168.1.0 192.168.5.0 Area 1 Area 2 E0 E0 5.50 Router A Router B 1.50
  • 66. (Config)# ip routing (Config-Router)# router OSPF 6573 (Config-Router)# network 192.168.1.0 0.0.0.255 area 1 (Config-Router)# area 1 range 192.168.1.0 255.255.255.0 (Config-Router)# network 172.16.0.0 0.0.255.255 area 0 (Config-Router)# area 0 range 172.16.0.0 255.255.0.0 Configuration of Router A --------------------------------
  • 67. Configuration of Router B -------------------------------- (Config)# ip routing (Config-Router)# router OSPF 6573 (Config-Router)# network 192.168.5.0 0.0.0.255 area 2 (Config-Router)# area 2 range 192.168.5.0 255.255.255.0 (Config-Router)# network 172.16.0.0 0.0.255.255 area 0 (Config-Router)# area 0 range 172.16.0.0 255.255.0.0
  • 68. Access Control List It is also called Network Traffic Control Management (NTCM). We can provide restrictions to individual users, subnets and services etc. ACL Standard ACL Extended ACL Any access list is identified by its number. S. A. L 1 – 99 Ex. A. L 100 - 199
  • 69.
  • 70. Standard Access List Router A Router B S 0 172.16.1.1 172.16.1.2 S 0 E 0 5.50 1.1 1.2 1.3 1.4 5.1 5.2 5.4 5.3 E 0 1.50 Syntax Router(config)# Access-list ALNO P/D Src Src-WCM Router(config)# Int <name of interface> Router(Config-if)#Ip Access-Group <Direction>
  • 71. Configuration Standard Access-list For Router A Restricting particular user (Config)# Access-list 1 deny 192.168.1.3 0.0.0.0 (Config)# Access-list 1 permit 0.0.0.0 255.255.255.255 or Access-list 1 permit any Restricting a Network (Config)# Access-list 1 deny 192.168.3.0 0.0.0.255 (Config)# Access-list 1 permit any
  • 72. Extended Access List Router A Router B S 0 172.16.1.1 172.16.1.2 S 0 E 0 5.50 1.1 1.2 1.3 1.4 5.1 5.2 5.4 5.3 E 0 1.50 1.20
  • 73. Configuration of Router A (Config)# Access-list 101 deny TCP 192.168.5.0 0.0.0.255 192.168.1.20 0.0.0.0 eq FTP (Config)# Access-list 101 permit IP any any Implementation (Config)#int E0 (config-if)# IP Access-group 101 Out
  • 74.  
  • 75. NAT(Network Address Translation) Router A Router B S 0 172.16.1.1 172.16.1.2 S 0 E 0 5.50 1.1 1.2 192.168.1.3 1.4 5.1 5.2 5.4 5.3 E 0 1.50 Note : 192.168.1.3 is denied from entering the network of 5.0.So it will enter with mask.
  • 76. Configuration of Router A -------------------------------- # Config t (Config)# int E 0 (Config-if)# ip address 192.168.1.50 255.255.255.0 (Config-if)# no shut (Config-if)# exit (Config)# int S 0 (Config-if)# ip address 172.16.1.1 255.255.0.0 (Config-if)# clock rate 56000 (Config-if)# bandwidth 64 (Config-if)# no shut (Config-if)# exit (Config)# ip routing (Config-Router)# ip route 192.168.5.0 255.255.255.0 172.16.1.2 (Config)# int E 0 (Config-if)# ip nat inside
  • 77. (Config)# int S 0 (Config-if)# ip nat outside (Config)# access-list 1 permit 192.168.1.3 0.0.0.0 (Config)# ip nat inside source list 1 int S 0 overload # Config t (Config)# int E 0 (Config-if)# ip address 192.168.5.50 255.255.255.0 (Config-if)# no shut (Config-if)# exit (Config)# int S 0 (Config-if)# ip address 172.16.1.2 255.255.0.0 (Config-if)# clock rate 56000 (Config-if)# bandwidth 64 (Config-if)# no shut (Config-if)# exit Configuration of Router B --------------------------------
  • 78. (Config)# ip routing (Config-Router)# ip route 192.168.1.0 255.255.255.0 172.16.1.1 (Config)# access-list 10 deny 192.168.1.3 0.0.0.0 (Config)# access-list 10 permit any (Config)# int E 0 (Config-if)# ip access-group 10 out Note : Only Public IP can go to the Internetworking world.
  • 79. A Scenario of providing Net access to the IP's of Router B Natting Router A Router B Switch Routing Leased line Routing 5.0 5.50 1.50 172.16.1.1 172.16.1.2 192.168.1.99
  • 80. Configuration of Router A -------------------------------- # Config t (Config)# int E 0 (Config-if)# ip address 192.168.1.50 255.255.255.0 (Config-if)# no shut (Config-if)# exit (Config)# int S 0 (Config-if)# ip address 172.16.1.1 255.255.0.0 (Config-if)# clock rate 56000 (for DCE) (Config-if)# bandwidth 64 (Config-if)# no shut (Config-if)# exit (Config)# ip routing (Config-Router)# ip route 0.0.0.0 0.0.0.0 192.168.1.99
  • 81. (Config)# int S 0 (Config-if)# ip nat inside ((Config-if)# exit (Config)# access-list 10 permit 172.16.0.0 0.0.255.255 (Config)# ip nat inside source list 10 int E 0 overload (Config)# int E 0 (Config-if)# ip nat outside (Config-if)# no shut (Config-if)# exit Configuration of Router B -------------------------------- # Config t (Config)# int E 0 (Config-if)# ip address 192.168.5.50 255.255.255.0 (Config-if)# no shut (Config-if)# exit
  • 82. (Config)# int S 0 (Config-if)# ip address 172.16.1.2 255.255.0.0 (Config-if)# clock rate 56000 (Config-if)# bandwidth 64 (Config-if)# no shut (Config-if)# exit (Config)# int E 0 (Config-if)# ip nat inside (Config-if)# no shut (Config-if)# exit (Config)# int S 0 (Config-if)# ip nat outside (Config-if)# exit (Config)# ip routing (Config-Router)# ip route 0.0.0.0 0.0.0.0 172.16.1.1 (Config)# access-list 10 permit 192.168.5.0 0.0.0.255 (Config)# ip nat inside source list 10 int E 0 overload
  • 83. PPP(Point-to-Point) using PAP protocol Router A (ISDN) Router B (Zoom) S 0 172.16.1.1 172.16.1.2 S 0 E 0 5.50 1.1 1.2 1.3 1.4 5.1 5.2 5.4 5.3 E 0 1.50 Internet based leased line NOTE : Passwords of both should be same.
  • 84. Configuration of Router A -------------------------------- # Config t (Config)# int E 0 (Config-if)# ip address 192.168.1.50 255.255.255.0 (Config-if)# no shut (Config-if)# exit (Config)# int S 0 (Config-if)# ip address 172.16.1.1 255.255.0.0 (Config-if)# clock rate 56000 (for DCE) (Config-if)# bandwidth 64 (Config-if)# no shut (Config-if)# exit (Config)# ip routing (Config-Router)# ip route 192.168.5.0 255.255.255.0 172.16.1.2 (Config)# int S 0 (Config-if)# encapsulation ppp (Config-if)# ppp authentication PAP (Config-if)# ppp PAP sent-username zoom password cisco
  • 85. Configuration of Router B -------------------------------- # Config t (Config)# int E 0 (Config-if)# ip address 192.168.5.50 255.255.255.0 (Config-if)# no shut (Config-if)# exit (Config)# int S 0 (Config-if)# ip address 172.16.1.2 255.255.0.0 (Config-if)# clock rate 56000 (for DCE) (Config-if)# bandwidth 64 (Config-if)# no shut (Config-if)# exit (Config)# ip routing (Config-Router)# ip route 192.168.1.0 255.255.255.0 172.16.1.1 (Config)# int S 0 (Config-if)# encapsulation ppp (Config-if)# ppp authentication PAP (Config-if)# ppp PAP sent-username ISP password cisco
  • 86. PPP(Point-to-Point) using CHAP protocol Router A (ISDN) Router B (Zoom) S 0 172.16.1.1 172.16.1.2 S 0 E 0 5.50 1.1 1.2 1.3 1.4 5.1 5.2 5.4 5.3 E 0 1.50 Internet based leased line NOTE : Passwords of both should be same.
  • 87. Configuration of Router A -------------------------------- # Config t (Config)# int E 0 (Config-if)# ip address 192.168.1.50 255.255.255.0 (Config-if)# no shut (Config-if)# exit (Config)# int S 0 (Config-if)# ip address 172.16.1.1 255.255.0.0 (Config-if)# clock rate 56000 (for DCE) (Config-if)# bandwidth 64 (Config-if)# no shut (Config-if)# exit (Config)# ip routing (Config-Router)# ip route 192.168.5.0 255.255.255.0 172.16.1.2 (Config)# int S 0 (Config-if)# encapsulation ppp (Config-if)# ppp authentication CHAP (Config-if)# ppp CHAP hostname zoom (Config-if)# ppp CHAP password cisco
  • 88. Configuration of Router B -------------------------------- # Config t (Config)# int E 0 (Config-if)# ip address 192.168.5.50 255.255.255.0 (Config-if)# no shut (Config-if)# exit (Config)# int S 0 (Config-if)# ip address 172.16.1.2 255.255.0.0 (Config-if)# clock rate 56000 (for DCE) (Config-if)# bandwidth 64 (Config-if)# no shut (Config-if)# exit (Config)# ip routing (Config-Router)# ip route 192.168.1.0 255.255.255.0 172.16.1.1 (Config)# int S 0 (Config-if)# encapsulation ppp (Config-if)# ppp authentication CHAP (Config-if)# ppp CHAP hostname ISP (Config-if)# ppp CHAP password cisco
  • 89. DDR(Dial on Demand Routing) Router A Router B S 0 172.16.1.1 172.16.1.2 S 0 E 0 5.50 1.1 1.2 1.3 1.4 5.1 5.2 5.4 5.3 E 0 1.50 ISP
  • 90. # Config t (Config)# isdn switch-type basic-net 3 (Config)# int E 0/1 (Config-if)# ip address 192.168.1.50 255.255.255.0 (Config-if)# no shut (Config-if)# exit (Config)# int Bri 1/0 (Config-if)# no ip address (Config-if)# encapsulation ppp (Config-if)# no cdp enable (Config-if)# no shut (Config-if)# exit (Config)# int dialer 1 (Config-if)# ip address negotiated (Config-if)# encapsulation ppp (Config-if)# no cdp enable (Config-if)# ppp authentication CHAP PAP callin (Config-if)# ppp CHAP hostname unicomin@hd2 (Config-if)# ppp CHAP password password
  • 91. (Config-if)# ppp PAP sent-username unicomin@hd2 password password (Config-if)# dialer in-band (Config-if)# dialer string 3328400 (Config-if)# dialer idle-time out 180 (Config-if)# dialer hold-queue 10 (Config-if)# exit (Config)# access-list 1 permit 192.168.1.0 0.0.0.255 (Config)# dialer-list 1 protocol ip permit ((Config)# int bri 1/0 (Config-if)# dialer rotary-group 1 (Config-if)# no shut (Config-if)# exit (Config)# int dialer 1 (Config-if)# dialer-group 1 (Config-if)# exit (Config)# ip routing (Config-router)# ip route 0.0.0.0 0.0.0.0 dialer 1 2
  • 92. (Config)# ip name-server 202.54.30.2 (Config)# ip name-server 202.54.2.30 (Config)# int E 0 (Config-if)# ip nat inside (Config-if)# no shut (Config-if)# exit (Config)# int Bri 1/0 (Config-if)# ip nat outside (Config-if)# no shut (Config-if)# exit (Config)# int dialer 1 (Config-if)# ip nat outside (Config-if)# exit (Config)# ip nat inside source list 1 int dialer 1 overload
  • 93. Backup Interface for a Leased Line S 0 172.16.1.1 172.16.1.2 S 0 E 0 5.50 1.1 1.2 1.3 1.4 5.1 5.2 5.4 5.3 E 0 1.50 ISP ISP CPE -Customer Premises Equipment DTE -Data Communications & Circutary end CPE/DTE Bri 0
  • 94. # Config t (Config)# isdn switch-type basic-net 3 (Config)# int E 0/1 (Config-if)# ip address 192.168.1.50 255.255.255.0 (Config-if)# no shut (Config-if)# exit (Config)# int S 0 (Config-if)# ip address 172.16.1.1 255.255.0.0 (Config)# int Bri 1/ 0 (Config-if)# no ip address (Config-if)# encapsulation ppp (Config-if)# no cdp enable (Config-if)# no shut (Config-if)# exit
  • 95. (Config)# int dialer 1 (Config-if)# ip address negotiated (Config-if)# encapsulation ppp (Config-if)# no cdp enable (Config-if)# ppp authentication CHAP PAP callin (Config-if)# ppp CHAP hostname zoom (Config-if)# ppp CHAP password cisco (Config-if)# ppp PAP sent-username isp password cisco (Config-if)# dialer in-band (Config-if)# dialer string 3328400 (Config-if)# dialer ideal-time out 180 (Config-if)# dialer hold-queue 10 (Config-if)# exit (Config)# access-list 1 permit 192.168.1.0 0.0.0.255 (Config)# dialer-list 1 protocol ip permit ((Config)# int bri 1/ 0 (Config-if)# dialer rotary-group 1 (Config-if)# no shut (Config-if)# exit
  • 96. (Config)# int dialer 1 (Config-if)# dialer-group 1 (Config-if)# exit (Config)# ip routing (Config-router)# ip route 0.0.0.0 0.0.0.0 S 0 (Config-router)# ip route 0.0.0.0 0.0.0.0 dialer 1 2 (Config)# ip name-server 202.54.30.1 (Config)# ip name-server 202.54.1.30 (Config)# int E 0 (Config-if)# ip nat inside (Config-if)# no shut (Config-if)# exit (Config)# int Bri 1/ 0 (Config-if)# ip nat outside (Config-if)# no shut (Config-if)# exit
  • 97. (Config)# int dialer 1 (Config-if)# ip nat outside (Config-if)# exit (Config)# Access-list 2 permit 4 public 10 (Config)# ip nat inside source list 2 int dialer 1 overload (Config)# int S 0 (Config-if)# backup interface bri 1/0 (Config-if)# backup delay 30 60
  • 98. Frame Relay Point - to - Point frame-relay Network Router A S 0 172.16.1.1 172.16.1.2 S 0 E 0 5.50 1.1 1.2 1.3 1.4 5.1 5.2 5.4 5.3 E 0 1.50 Dlci 101 Dlci 102 Router B Fr-Switch Fr-Switch PVC
  • 99. Config t (Config)# int S 0 (Config-if)# no ip address (Config-if)# encapsulation frame-relay (Config-if)# no shut (Config-if)# exit (Config)# int S 0.1 point-to-point (Config-if)# bandwidth 64 (Config-if)# ip address 172.16.1.1 255.255.0.0 (Config-if)# frame-relay interface DLC1 102 (or) (Config-if)# frame-relay map ip 172.16.1.2 102 broadcast (Config-if)# no shut (Config-if)# exit (Config)# ip routing (Config)# ip route 192.168.5.0 255.255.255.0 172.16.1.2
  • 100. Point - to - Multi Point 10.0.0.4 101 102 A B C D 103 104 10.0.0.3 10.0.0.2 10.0.0.1 4.0 2.0 3.0 1.0
  • 101. Config t (Config)# int S 0 (Config-if)# no ip address (Config-if)# encapsulation frame-relay (Config-if)# no shut (Config-if)# exit (Config)# int S 0.1 multipoint (Config-if)# bandwidth 64 (Config-if)# ip address 10.0.0.4 255.0.0.0 (Config-if)# frame-relay map ip 10.0.0.1 103 broadcast (Config-if)# frame-relay map ip 10.0.0.2 102 broadcast (Config-if)# frame-relay map ip 10.0.0.3 101 broadcast (Config-if)# no shut (Config-if)# exit (Config)# ip routing (Config)# ip route 192.168.2.0 255.255.255.0 10.0.0.3 (Config)# ip route 192.168.4.0 255.255.255.0 10.0.0.1 (Config)# ip route 192.168.5.0 255.255.255.0 10.0.0.2 Configuration of Router A --------------------------------
  • 102. Point-to-Point - Point-to-Point 4.0 2.0 3.0 1.0 10.0.0.1 10.0.0.3 10.0.0.2 172.16.1.2 172.16.1.1 161.16.1.1 101 102 103 104
  • 103. Config t (Config)# int S 0 (Config-if)# no ip address (Config-if)# encapsulation frame-relay (Config-if)# no shut (Config-if)# exit (Config)# int S 0.1 point-to-point (Config-if)# bandwidth 64 (Config-if)# clockrate 56000 (Config-if)# ip address 172.16.1.1 255.255.0.0 (Config-if)# frame-relay map ip 172.16.1.2 103 broadcast (Config-if)# no shut (Config-if)# exit Configuration of Router A --------------------------------
  • 104. (Config)# int S 0.2 point-to-point (Config-if)# ip address 161.16.1.1 255.255.0.0 (Config-if)# no shut (Config-if)# bandwidth 64 (Config-if)# clock rate 56000 (Config-if)# frame-relay map ip 161.16.1.2 102 broadcast (Config-if)# exit (Config)# int S 0.3 point-to-point (Config-if)# bandwidth 64 (Config-if)# clockrate 56000 (Config-if)# ip address 10.0.0.1 255.0.0.0 (Config-if)# frame-relay map ip 10.0.0.2 101 broadcast (Config-if)# no shut (Config-if)# exit (Config)# ip routing (Config)# ip route 172.16.0.0 255.255.0.0
  • 105.
  • 106. 3. Session layer Establishing the session or the conectivity n/w n/w 1 & n/w 2 is done By the session layer. It 1. Establishes a session 2. maintains it & 3. Terminates it b/w the application 4. Transport layer End-end connectivity during a session b/w two application is done By the transport layer. It also decides the type of connection like tcp or udp i.e. connection oriented or connection less. Services: Sequencing Flow ctrl, error detection & correction Transport layer info + data is called segment.
  • 107. 5. Netwrok layer Logical addressing is done at thenetwork layer i.e. source address & destination address are attached to the data. Protocols @network layer Routed protocols routing protocols Eg: ip,ipx eg: rip,igrp,ospf Routed protocols: they always carry the data along with them Routing protocol: they identify the path for routed protocol to carry the data At this layer routers & layer 3 switches forms packets.
  • 108. Data link layer MAC LLC Media access control logical link control framing of data Ip address is lik the pincode & MAC address is like house number. Here layer2 switches are used. Wab protocols used at this layer are PPP,HDLC,FP,X.25 etc. Here error checking CRC bits are added to the packets DLL info+ packets --> frames
  • 109. 7 physical layer Takes care of physical connectivity i.e connector,cable etc. here Frames are converted to bits (1’s & 0’s). The devices like hubs, repeaters,cables & connectors are used at this layer. I P Addressing Now a days ip ver4 is followed. It is a 32-bit addressing scheme. 32bits are divided into 4 octets of 8 bits each. i.e 8-8-8-8. i.e (1’s & 0’s)-(1’s & 0s)-(1’s & 0’s)-(1’s & 0’s). (binary format). The ip address is maximum of 255 & min of 0. In future ip ver 6 is expected. It is 128 bit scheme. Ip adresses are clsassified into different classes.
  • 110. Class A 0 - 127 Class B 128 - 191 Class C 192 - 223 Class D 224 - 239 Class E 240 - 255 8-8-8-8 M.S.O Most Significant Ocate considering MSO
  • 111. Through out class A, the MSB ‘0’ is constant in class B the Msbs are ‘101’ constant through out. Class D & E are not used for internetworking class D is used for Multicast network. “ E “ “ “ research. class A 0-0-0-0 should not be assigned for any divice 127-0-0-0 is reserved for loopback 127-0-0-1 127-0-0-” 127-0-0-” usually reserved for loopback 127-0-0-” 127-255-255-254
  • 112. Hence 0 & 127 cannot be used for adressing so actual range will be 1 to 126. All ip addresses are divided into two. 1.network I.d 2.host I.d in class a address there is 1n I.d postion & 3 host I.d postion I,e N-H-H-H.. Class A N-H-H-H Class B N-N-H-H Class C N-N-N-H Network Ids are represented by 1s & host ids are by 0s.
  • 113. Types of ip adresses IP address public ip address private ip address Public network: the public address is defined with routing over the Internet it is given by I.S.P & routing table is created on the internet. Private network: for internal network I,e intranet, all the ip addresses Are governed by a body called INTERNIC. If we are a part of asia Pacefic then it is governed by APNIC. We can run our private network with any ip addresses of our choice But it should not be connected to internet.
  • 114. Range of addresses for private network Class A 10.0.0.0 to 10.255.255.255 Class B 172.16.0.0 to 172.31.255.255 Class C 192.168.0.0 to 192.168.255.255 Private ip addresses donot have routing. To meet the demand of no.of networks, the network is broken Into smaller networks called subnets. Eg: find no.of subnets, hosts/s.n subnet mask & valid ip addresses For a class c address. 192.168.1.0/24 ‘ 24’ shows the network bits 24= 3 octate position bits are enough, therefore no need to borrow Any bits from host position. =24 network & no host Default subet mask is 255.255.255.0 & valid ip addresses are 192.168.1.0 network
  • 115.
  • 116. Switches Access layer Distribution layer Core layer Access layer swithc: catalyst 1912 Catalyst – manufacturer, but it is now owned by cisco. 12 port switch
  • 117.
  • 118. The switch will always learn the MAC address from the source itself The source should atleast communicate once to learn the MAC address. 2. Filter & forwarding : store & forward cut through fragment free On access layer the default is fragment free we can change to any Of the3 mentioned above. 1.store & forward: it stores the whole information (1500 bytes Ethernet) into buffer, then checks for errors, looks for destination In MAC table and then forward. 2. Cut through: no error checking.as soon as a packet arrives It looks into MAC table & forward.
  • 119.
  • 120. The “hello” packets that are sent by root bridge for every 2 sec to inform that it is working properly are called BPDUS; (bridge protocol data limits). If non root bridge do no receive 10 BPDUs for next 20secs then it is clear that the root bridge has Failed. 20secs – max age time Then a new root bridge is selected. In the above eg:if switch A is selected as root bridge and ports A & B Of switch A are designated ports. Depending on the shortest paths For high speed & low cost one port of switch B is selected as root port & the other will be blocked.
  • 121.
  • 122. ‘ B’channel – it is a bearer channel for data. ‘ D’channel – it is a delta channel for synchronization In bri each B channel = 64 kbps d channel = 16kbps Max 128 kbps BW in isdn In PRI both B & D channels _= 64kbps. European – 2mbps North american – 1.54 mbps ISDN will have a voltage of 90-110v
  • 123. SPID number : (service profile identifier) to identify the link. Types of ISDN switches Euro-basic net3 U.S-basic 5 ess-at&t standard U.K-basic net3 & basic net5 France-vn3 & vn4 Ss7 (signalling system7) Will be configured at the back bone side. telco vn3/vn4 basic net3 France India ss7
  • 124. E-series, I-series & Q-series E-tells about telephone network & ISDN network I-tells about concepts & interfaces of ISDN Q-tells about signalling & switching of ISDN DDR Dail on Demand Routing The main feature of ISDN is it dials & connects on request & Discounects when no data transfer is taking place. nat (network address translation IP NAT inside IP NAT out side overload
  • 125. IPNAT inside: any request from th internal network will be NATED To public Ip address sending the request from internal network To Bri interface is overloading. When ever NAT is enable, the router will maintain a nat table. Nat table: When nat t able is enabled nau request will be allocated a port Number after 1024. Above 1024 port numbers are reserved for other Services. This allocation of port numbers is dynamic.
  • 126. Configuring a DDR for ISDN Config#int e0 Config#ip adress 192.168.5.150 255.255.255.0 Config#ip nat inside Config#exit Config-if#int bri 0 Config-if#ip address negotiated Config-if#encapsulation PPP Config-if#PPP authenticaiton PAP chap collin Config-if#PPP chap hostname (username) Config-if#PPP chap password (password) Config-if#dialer string (tel.no.) Config-if#dialer idle timeout (time in secs) Config-if#dialer group Config-if#ip nat outside Config-if#exit
  • 127. Ip address negotialted : this is when an ip adress is fetched kdynamically From ISP 7 donot have a permanent public I.P adress Dialer – list range 1-10 to configure router as a DHCP server Config#ip pool <name> staring ip end ip. Some ISDN command Sh int bri0 Sh isdn status (layer 1 should be active. If not physical conectivity is lost) Sh isdn active Sh isdn history Sh ip network translaiton