1 / 16

Configuration Prompt Interface Router(config-if)# Line Router(config-line)#

Cisco Router MODES. Configuration Prompt Interface Router(config-if)# Line Router(config-line)# Router Router(config-router)# Route-map Router(config-route-map)# All of these commands are done in the ‘Global Configuration Mode’.

elma
Télécharger la présentation

Configuration Prompt Interface Router(config-if)# Line Router(config-line)#

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Cisco Router MODES ConfigurationPrompt Interface Router(config-if)# Line Router(config-line)# Router Router(config-router)# Route-map Router(config-route-map)# All of these commands are done in the ‘Global Configuration Mode’. Type exit from one of these specific configuration modes to return to global configuration mode Type Ctrl-Z to return to privileged EXEC mode

  2. Configure a Router Hostname : Router> enable Router# configure terminal Router(config)# hostnameTokyo Tokyo(config)#

  3. Configure a Router - Passwords Configure Console password : Router(config)# line console 0 Router(config-line)# login Router(config-line)# passwordcisco Configure Virtual terminal : Router(config)# line vty 0 4 Router(config-line)# login Router(config-line)# passwordcisco

  4. Configure a Router - Passwords Configure enable password: Router(config)# enable passwordpassword Configure secret password Router(config)# enable secretpassword NOTE: “enable secret” has preference over “enable password”

  5. Configure a Router – Show commands • We may compile a list of “show” commands to help debug the router. Some of these commands are: • show interface • show interface serial port • show version • show protocol • show startup-configuration • show running-configuration

  6. Configure a Router - Interfaces In the following commands,type,refers to either,ethernet, orserialports. Router(config)# interfacetype port OR Router(config)# interfacetype slot/port To bring a port down, or ‘shut it down’: Router(config)# interface type port Router(config-if)# shutdown To bring ‘up’ an interface or ‘initialize’ it: Router(config)# interface type port Router(config-if)# no shutdown

  7. Configure a Router – Interfaces (cont.) Example: Router(config)# interfaceserial 1 Router(config-if)# no shutdown Router(config)# interfaceserial 1/0 Router(config-if)# no shutdown Router(config)# interfaceethernet0 Router(config-if)# no shutdown

  8. Configure a Router – Interfaces (cont.) • By default, the interfaces are ‘down’ • Before one does a ‘no shutdown’, all interfaces are in the state: • administrative down, line protocol down

  9. Configure a Router – Interfaces (cont.) When you are at interface mode, you need to give characteristics to the ethernet or serial port: Router(config)# interfaceserial0/0 Router(config-if)# ip address<ip address> <netmask> If the serial port is the DCE, then the clock rate must be applied: Router(config)# interface serial 0/0 Router(config-if)# ip address<ip address> <netmask> Router(config-if)# clock rate56000 Router(config-if)# no shutdown

  10. Configure a Router - Interfaces (cont.) When you are at interface mode, you need to give characteristics to the ethernet or serial port: Router(config)# interfaceserial 0 Router(config-if)# ip address192.10.10.1 255.255.255.0 If the serial port is the DCE, then the clock rate must be applied: Router(config)# interfaceserial 0/0 Router(config-if)# ip address192.10.10.2 255.255.255.0 Router(config-if)# clock rate56000 Router(config-if)# no shutdown

  11. Configure a Router – erase configuration To erase the configuration of a router: Router# erase startup-config Router# reload To load the running configuration of a router into NVRAM, do: Router# copy running-config startup-config • There are some ‘bad’ results with ‘start’ if you misspell ‘start’. So use • wr memory

  12. Configure a Router Give a description to an interface: Router(config)# interface e0 Router(config-if)# descriptionCET LAN, Bldg 19 Give a message of the day (MOTD): Router(config)# banner motd#You have entered a secure area! #

  13. Configure a Router – ip host command Give host name resolution, or a mini-DNS table, do: Router(config)# ip hostAuckland 172.16.32.1 Router(config)# ip hostBeirut 192.168.53.1 Router(config)# ip hostDallas 201.10.10.2

  14. Configure a Router 175.11.11.1 197.16.16.1 s0 e0 e1 s1 London Paris 192.16.10.1 175.11.11.2 e0 e1 195.27.13.1 201.45.46.1 Router(config)# hostnameLondon London(config)# ip hostParis 175.11.11.2 Router(config)# hostnameParis Paris(config)# ip hostLondon 175.11.11.1 These ping commands would give you the same results London# ping 175.11.11.2 London# ping Paris These ping commands would give you the same results Paris# ping 175.11.11.2 Paris# ping Paris

  15. Configure a Router • To copy information from one place to another: • Router# copy <from file> <to file> Router#copy running-config startup-config Router#copy running-configtftp Router#copy tftpstartup-config

  16. Standards • It’s important to create a standard for networking consistency to alleviate router configuration by: • reducing complexity • limiting unplanned downtime • limiting events that may impact network performance

More Related