SlideShare uma empresa Scribd logo
1 de 11
Baixar para ler offline
Cisco router: command configuration overview
[Abstract] Cisco router configuration statement summary startup interface, assigning IP
address:
router>router>enablerouter#router#configureterminalrouter (config) #router (config)#interf
acetypeportrouter (config-if) #noshutdownrouter (config-if) # ipaddressip-addresssubnetmaskrouter (config-if) rip routing protocol # ^ Z configuration: 30 seconds to update
a router(config) #routerriprouter (config-if) #......

Cisco router: commond configuration overview:
Start the interface, IP address allocation:
Router>
Router> enable
Router#
Router# configure terminal
Router (config) #
Router (config) interface type port #
Router (config-if no shutdown) #
Router (config-if) IP address IP-address subnet-mask #
Router (config-if) # ^ Z

Configure the rip routing protocol: 30 seconds to update once
Router (config router RIP) #
Router (config-if network network-number) # < -- notice the standard a, B, C network -- >
Router (config-if) # ^ Z

Configure the IGRP routing protocol: 90 seconds to update once
Router (config) router IGRP as-number # < -- as-number range of 1 to 65535 -- >
Router (config-if network network-number) # < -- notice the standard a, B, C network -- >
Router (config-if) # ^ Z

Configure the Novell IPX routing protocol: Novell rip 60 second to update once
Router (config) IPX routing [node address] #
Router (config) IPX maximum-paths paths # < -- set the load balance, the range of 1 to
512 -- >
Router (config) interface type port #
1
Router (config-if) IPX network network-number [encapsulation encapsulation-type] [secon
dary] #< -- notice the standard a, B, C network -- >
Router (config-if) # ^ Z

The configuration of ddr:
Router (config) dialer-list group-number protocol protocol-type permit [list # acl-number]
Router (config) Interface BRI 0 #
Router (config-if dialer-group group-number) #
Router (config-if) dialer map protocol-type next-hop-address name hostname # telphonenumber
Router (config-if) # ^ Z

The configuration of isdn:
Router (config) isdnth-typeth-type < -- # configuration ISDN switch type, Chinese using
basic-net3 -- >
Router (config-if) # ^ Z

Configure frame relay:
Router (config-if) encapsulation frame-relay [cisco IETF # |]
Router (config-if) frame-relay lmi-type [ansi Cisco # | | q933a]
Router (config-if bandwidth kilobits) #
Router (config-if) # frame-relay invers-arp [protocol] [dlci]
< -- Static invers ARP table:
Router (config) frame-relay protocol protocol-address DLCI # [broadcast] [Cisco] [payload
-compress IETF | | packet-by-packet]
-- >
< -- set the keepalive interval:
Router (config-if keepalive number) #
-- >
< -- the local interface with the specified dlci:
Router (config-if) frame-lelay local-dlci number #
-- >
< -- sub interface:
Router (config-if) interface type port.subininterface-number multipoint | # [point-to-point]
Router (config-subif) IP unnumbered interface #
2
Router (config-subif) frame-lelay local-dlci number #
-- >
Router (config-if) # ^ Z

Configuration the standard acl:
Router (config) access-list access-list-number permit | # [Deny] source [source-mask] < -access-list-number range: 1 to 99 standard ACL; 100 ~ 199 extended ACL; 800 to 899
standard IPX ACL; 900 ~ 999 expansion of IPX ACL; 1000~1099 IPX SAP ACL; 600 ~
699apple talk ACL -->
Router (config) interface type port #
Router (config-if) IP access-group access-list-number in | # [out]
Router (config-if) # ^ Z

Configure an extended acl:
Router (config) access-list access-list-number permit | # [Deny] [protocol protocolnumber]source source-wildcard | [source-port] destination destination-wildcard [destinatio
n-port][established]
Router (config) interface type port #
Router (config-if) IP access-group access-list-number in | # [out]
Router (config-if) # ^ Z

Configuration the naming acl:
Router (config) IP access-list standard | # [extended] acl-name
Router (config [std- NaCl ext-] |) | # [permit deny] [ip-access-list-test-conditions]
Router (config [std- NaCl ext-] |) # no [permit deny] [ip-access-list-test-conditions] |
Router (config [std- NaCl ext-] |) # ^ Z
Router (config) interface type port #
Router (config-if) IP access-group [acl-name 1~199 # | |] [in out]
Router (config-if) # ^ Z
Configure the DCE clock:
Router# show controllers type port < -- define DCE interface -- >
Router (confin-if) clock rate 64000 # < -- into the DCE interface to set the clock rate -- >
Router (config-if) # ^ Z

Configure the PPP protocol:
3
Router (config) username name password set-password-here # < -- Verification establish
database -- >
Router (config) interface type port #
Router (config-if encapsulation PPP) # -- start -- > < PPP protocol
Router (config-if PPP outhentication) # [chap chap PAP PAP chap | | | PAP] < -- choose
PPPauthentication -- >
Router (config-if) PPP Pap sent-username name password password # < -- send
verificationinformation -- >
Router (config-if) # ^ Z

PAP authentication configuration example:
The verifier:
Router-server (config) username client password
12345 # < -- Verification establish database -->
Router-server (config) interface serial 0 #
Router-server (config-if encapsulation PPP) #
Router-server (config-if) PPP authentication Pap # < -- choose to use PAP to achieve
PPP certification -- >
Router-server (config-if) # ^ Z

Attested party:
Router-client (config-if encapsulation PPP) #
Router-client (config-if) PPP Pap sent-username client password 12345 # < -- send
verificationinformation -- >
Router-client (config-if) # ^ Z

PAP bidirectional authentication configuration example:
Router a:
Routera (config) username B password 12345 #
Routera (config) interface serial 0 #
Routera (config-if encapsulation PPP) #
Routera (config-if) PPP authentication Pap #
Routera (config-if) PPP Pap sent-username a password 54321 #
Routera (config-if) # ^ Z
Router b:
Routerb (config) username a password 54321 #
4
Routerb (config) interface serial 1 #
Routerb (config-if encapsulation PPP) #
Routerb (config-if) PPP authentication Pap #
Routerb (config-if) PPP Pap sent-username B password 12345 #
Routerb (config-if) # ^ Z

Chap authentication configuration example:
The verifier:
Router-server (config) username router-client password 12345 #
Router-server (config) interface serial 0 #
Router-server (config-if encapsulation PPP) #
Router-server (config-if) PPP authentication chap #
Router-server (config-if) # ^ Z
Attested party:
Router-client (config-if encapsulation PPP) #
Router-client (config-if) PPP authentication chap #
Router-client (config-if) PPP chap hostname router-client #
Router-client (config-if) PPP chap password 12345 #
Router-client (config-if) # ^ Z chap bidirectional authentication configuration example:
Router a:
Routera (config) username routerb password 12345 #
Routera (config) interface serial 0 #
Routera (config-if encapsulation PPP) #
Routera (config-if) PPP authentication chap #
Routera (config-if) PPP chap hostname routera #
Routera (config-if) PPP chap password 54321 #
Routera (config-if) # ^ Z
Router b:
Routerb (config) username routera password 54321 #
Routerb (config) interface serial 1 #
Routerb (config-if encapsulation PPP) #
Routerb (config-if) PPP authentication chap #
Routerb (config-if) PPP chap hostname routerb #
Routerb (config-if) PPP chap password 12345 #
5
Routerb (config-if) # ^ Z

Telnet use:
Routera# terminal monitor < -- can back to execute the debug command on a remote
hostresults -- >
Routera# telnet IP-address [router-name] < -- the host telnet to the specified address
or name -->
Routerb# [exit logout] < -- | exit telnet -- >
Routerb# ++<6> then press < -- hang telnet -- >
Routera# show sessions < -- shows all current telnet information, including connectnumber -- >
Routera# connect-number < -- returns the specified telnet connection -- >
Connection -- > routera# disconnect IP-address [router-name] < -- disconnect the
specified address or name of the host
Routera# show user < -- show the telnet connection to the information -- > this machine
Routera# clear line [0 | 1 | 2 | 3 | 4] < -- disconnect connection to
the specified telnet -- > thismachine
No telnet to the machine:
Router (config) line vty 04 #
Router (config-line access-class acl-number) #
Router (config) # ^ Z
Set the host name:
Router (config hostname set-hostname) #
Router (config) # ^ Z
Router (config) # ^ Z

Set user mode code:
Router (config) line console 0 #
Router (config-line) # login
Router (config-line password set-password) #
Router (config-line) # ^ Z

Set the telnet password:
Router (config) line vty 04 #
Router (config-line) # login
6
Router (config-line password set-password) #
Router (config-line) # ^ Z

Set the privileged mode password:
Router (config) enable password set-password # < -- the password is
not encrypted, password -- >
Router (config) enable secret set-password # < -- the encrypted password -- >
Router (config) # ^ Z

For all the password encryption:
Router (config) service password-ancryption set-password-here #
Router (config) no service password-ancryption # < -- cancel encryption -- >
Router (config) # ^ Z

Set the login banner:
Router (config banner MOTD) # separator set-banner-information-here
delimiters < -- before and after the delimiter must agree -- >

Set interface description information:
Router (config-if description set-port-information-here) #
Router (config) # ^ Z

The control of cdp:
Router (config-if CDP enable) # < -- in the designated port enable CDP, default -- >
Router (config-if) no CDP enable # < -- close CDP -- > in the designated port
Router (config CDP run) # < -- that all ports enable CDP -- >
Router (config) no CDP run # < -- that all ports closed CDP -- >

The use of ping:
Router# Ping IP-address
Router# Ping < -- extended ping command -- >
Protocol [ip]:[protocol-type] < -- select the protocol type -- >
Target IP address:ip-address < -- input test address -- >
Repeat count [5]: < -- choose to send ICMP packet number -- >
Datagram size [100]: < -- choose the size of each package -- >
7
Timeout in seconds [2]: < -- set each packet timeout -- >
Extended commands [n]:y < -- using the extended ping command -- >
Sweep range of sizes [n]:

The use of tracke:
Router# trace IP-address [host-name]
Cisco 4000 router specified media type:
Router (config-if media-type 10baset) # < -- the AUI (the default) failure, modified to use
RJ-45 -->
Router (config-if) # ^ Z

Change the startup sequence of routers:
Router (config) boot system flash ios-filename #
Router (config) boot system TFTP ios-filename tftp-ip-address #
Router (config) boot system ROM #
Router (config) # ^ Z

Modify register values:
Router (config config-register value) # < -- Cisco default value = 0x2102, value range:
0x2100(enter ROM monitor), 0x2101 (the system boot from
ROM to 0x210f (0x2102), enables the system to boot from NVRAM). 0x1
= 0x2101, starting from the smallest bit change -- >
Change the register values in the ROM monitor:
> o/r value

Router password recovery:
Cold shutdown, then start again and in 60 seconds press ctrl>+ to enter the ROM monitor
mode
> o/r 0x2142 > > confreg <--25xx router or 0x2142 <--16xx router
Router> I
Router> n
Router> enable
Router# copy startup-config running-config
Router# configure terminal
Router (config) enable secret new-password #
8
Router (config config-register 0x2102) #
Router (config) # ^ Z
Router# copy running-config startup-config
Router# reload

Configuration name - main entrance:
Router (config) # IP host set-name [tcp-port-number] IP-address [IP-address 2..
Router (config) # ^ Z

The definition of the DNS host:
Router (config) IP name-server server-address # [server-address 2..
Router (config) # ^ Z

Disable dns:
Router (config) no IP domain-lookup #
Router (config) # ^ Z configuration level segmentation:
Router (config-if IP split-horizon) #
Router (config-if) no IP split-horizon #
Router (config-if) # ^ Z

Static router configuration:
Router (config) IP route IP-address subnet-mask # [next-hop-address [distace local-outport]] |
< -- distance range: 1 ~ 255, equivalent to the priority, the smaller the
better. Rip=120;dspf=110; igrp=100; eigrp=90 -- >
Router (config) # ^ Z

Configure a default router:
Router (config) IP defoult-network IP-address # < -- Dynamic default route -- >
Router (config) IP route 0.0.0.0 0.0.0.0 # [next-hop-address local-out-port [distace]] | < -Staticdefault route -- >
Router (config) # ^ Z

Other commands:
Router# show version
9
Router# show running-config
Router# show startup-config
Router# show flash
Router# show interface [type port]
Router# show buffers
Router# show protocol
Router# show mem
Router# show stacks
Router# show processes
Router# show CDP entry [device-name] < -- display the specified neighbor three layers of
information -- >
Router# show cdp neighbors
Router# show cdp neighbors detail < -- shows all the neighbors three layers of
information - >
Router# show IP router
Router# show IPX router
Router# show host
Router# show ip protocol
Router# show IP interface type port
Router# show IPX interface type port
Router# show IPX servers
Router# show IPX traffic
Router# show access-lists [acl-number]
Router# show ISDN status
Router# show dialer < -- Viewing the ISDN dial information -- >
Router# show ISDN active
Router# show frame-relay PVC
Router# show frame-relay map
Router# show frame-relay LMI
Router# erase startup-config
Router# reload
Router# setup
Router# copy running-config startup-config
Router# copy startup-config running-config
Router# copy TFTP running-config
10
Router# copy running-config TFTP
Router# debug IPX routing activity
Router# debug IPX SAP
Router# debug ISDN q921
Router# debug ISDN Q931
Router# debug dialer
Router# debug IP rip
Router# clear interface bri

More related:
How To Recover Cisco Router Password
The Difference of The Cisco Catalyst 2900 and Cisco Catalyst 1900
More Cisco products and Reviews you can visit: http://www.3anetwork.com/blog

3Anetwork.com is a world leading Cisco networking products wholesaler, we wholesale
original new Cisco networking equipments, including Cisco Catalyst switches, Cisco
routers, Cisco firewalls, Cisco wireless products, Cisco modules and interface cards
products at competitive price and ship to worldwide.
Our website: http://www.3anetwork.com
Telephone: +852-3069-7733
Email: info@3Anetwork.com
Address: 23/F Lucky Plaza, 315-321 Lockhart Road, Wanchai, Hongkong

11

Mais conteúdo relacionado

Mais procurados

Cisco commands List for Beginners (CCNA, CCNP)
Cisco commands List for Beginners (CCNA, CCNP)Cisco commands List for Beginners (CCNA, CCNP)
Cisco commands List for Beginners (CCNA, CCNP)DH Da Lat
 
STP Protection
STP ProtectionSTP Protection
STP ProtectionNetwax Lab
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracerAnabia Anabia
 
How to configure vlan, stp, dtp step by step guide
How to configure vlan, stp, dtp step by step guideHow to configure vlan, stp, dtp step by step guide
How to configure vlan, stp, dtp step by step guideIT Tech
 
Chapter 3 vlans
Chapter 3   vlansChapter 3   vlans
Chapter 3 vlanskratos2424
 
RARP, BOOTP, DHCP and PXE Protocols
RARP, BOOTP, DHCP and PXE ProtocolsRARP, BOOTP, DHCP and PXE Protocols
RARP, BOOTP, DHCP and PXE ProtocolsPeter R. Egli
 
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)anilinvns
 
Les commandes CISCO (routeur)
Les commandes CISCO (routeur)Les commandes CISCO (routeur)
Les commandes CISCO (routeur)EL AMRI El Hassan
 
Configuring the cisco switch with the cli based setup program
Configuring the cisco switch with the cli based setup programConfiguring the cisco switch with the cli based setup program
Configuring the cisco switch with the cli based setup program3Anetwork com
 
Overview of Spanning Tree Protocol
Overview of Spanning Tree ProtocolOverview of Spanning Tree Protocol
Overview of Spanning Tree ProtocolArash Foroughi
 
CCNA 2 Routing and Switching v5.0 Chapter 7
CCNA 2 Routing and Switching v5.0 Chapter 7CCNA 2 Routing and Switching v5.0 Chapter 7
CCNA 2 Routing and Switching v5.0 Chapter 7Nil Menon
 
Cisco IPv6 Tutorial
Cisco IPv6 TutorialCisco IPv6 Tutorial
Cisco IPv6 Tutorialkriz5
 
Network Troubleshooting - Part 2
Network Troubleshooting - Part 2Network Troubleshooting - Part 2
Network Troubleshooting - Part 2SolarWinds
 

Mais procurados (20)

Cisco commands List for Beginners (CCNA, CCNP)
Cisco commands List for Beginners (CCNA, CCNP)Cisco commands List for Beginners (CCNA, CCNP)
Cisco commands List for Beginners (CCNA, CCNP)
 
STP Protection
STP ProtectionSTP Protection
STP Protection
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracer
 
How to configure vlan, stp, dtp step by step guide
How to configure vlan, stp, dtp step by step guideHow to configure vlan, stp, dtp step by step guide
How to configure vlan, stp, dtp step by step guide
 
Cisco Commands
Cisco CommandsCisco Commands
Cisco Commands
 
Ccna command
Ccna commandCcna command
Ccna command
 
Chapter 3 vlans
Chapter 3   vlansChapter 3   vlans
Chapter 3 vlans
 
bgp protocol
 bgp protocol bgp protocol
bgp protocol
 
RARP, BOOTP, DHCP and PXE Protocols
RARP, BOOTP, DHCP and PXE ProtocolsRARP, BOOTP, DHCP and PXE Protocols
RARP, BOOTP, DHCP and PXE Protocols
 
Basic BGP Configuration
Basic BGP ConfigurationBasic BGP Configuration
Basic BGP Configuration
 
Router commands
Router commandsRouter commands
Router commands
 
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
 
Les commandes CISCO (routeur)
Les commandes CISCO (routeur)Les commandes CISCO (routeur)
Les commandes CISCO (routeur)
 
Configuring the cisco switch with the cli based setup program
Configuring the cisco switch with the cli based setup programConfiguring the cisco switch with the cli based setup program
Configuring the cisco switch with the cli based setup program
 
Static Routing
Static RoutingStatic Routing
Static Routing
 
Layer 2 switching
Layer 2 switchingLayer 2 switching
Layer 2 switching
 
Overview of Spanning Tree Protocol
Overview of Spanning Tree ProtocolOverview of Spanning Tree Protocol
Overview of Spanning Tree Protocol
 
CCNA 2 Routing and Switching v5.0 Chapter 7
CCNA 2 Routing and Switching v5.0 Chapter 7CCNA 2 Routing and Switching v5.0 Chapter 7
CCNA 2 Routing and Switching v5.0 Chapter 7
 
Cisco IPv6 Tutorial
Cisco IPv6 TutorialCisco IPv6 Tutorial
Cisco IPv6 Tutorial
 
Network Troubleshooting - Part 2
Network Troubleshooting - Part 2Network Troubleshooting - Part 2
Network Troubleshooting - Part 2
 

Destaque

Router configuration
Router configurationRouter configuration
Router configuration97148881557
 
MICAI 2013 Tutorial Slides - Measuring the Similarity and Relatedness of Conc...
MICAI 2013 Tutorial Slides - Measuring the Similarity and Relatedness of Conc...MICAI 2013 Tutorial Slides - Measuring the Similarity and Relatedness of Conc...
MICAI 2013 Tutorial Slides - Measuring the Similarity and Relatedness of Conc...University of Minnesota, Duluth
 
similarity measure
similarity measure similarity measure
similarity measure ZHAO Sam
 
Day 5.3 configuration of router
Day 5.3 configuration of routerDay 5.3 configuration of router
Day 5.3 configuration of routerCYBERINTELLIGENTS
 
Teacher management system guide
Teacher management system guideTeacher management system guide
Teacher management system guidenicolasmunozvera
 
Day 25 cisco ios router configuration
Day 25 cisco ios router configurationDay 25 cisco ios router configuration
Day 25 cisco ios router configurationCYBERINTELLIGENTS
 
Initial Configuration of Router
Initial Configuration of RouterInitial Configuration of Router
Initial Configuration of RouterKishore Kumar
 
3 Router Configuration - Cisco Packet Tracer
3 Router Configuration - Cisco Packet Tracer 3 Router Configuration - Cisco Packet Tracer
3 Router Configuration - Cisco Packet Tracer Rajan Kasodariya
 
Document similarity with vector space model
Document similarity with vector space modelDocument similarity with vector space model
Document similarity with vector space modeldalal404
 
MikroTik Basic Training Class - Online Moduls - English
 MikroTik Basic Training Class - Online Moduls - English MikroTik Basic Training Class - Online Moduls - English
MikroTik Basic Training Class - Online Moduls - EnglishAdhie Lesmana
 
Computer networking short_questions_and_answers
Computer networking short_questions_and_answersComputer networking short_questions_and_answers
Computer networking short_questions_and_answersTarun Thakur
 

Destaque (18)

Router configuration
Router configurationRouter configuration
Router configuration
 
Day 11 eigrp
Day 11 eigrpDay 11 eigrp
Day 11 eigrp
 
MICAI 2013 Tutorial Slides - Measuring the Similarity and Relatedness of Conc...
MICAI 2013 Tutorial Slides - Measuring the Similarity and Relatedness of Conc...MICAI 2013 Tutorial Slides - Measuring the Similarity and Relatedness of Conc...
MICAI 2013 Tutorial Slides - Measuring the Similarity and Relatedness of Conc...
 
similarity measure
similarity measure similarity measure
similarity measure
 
Ir 08
Ir   08Ir   08
Ir 08
 
Troubleshooting basic networks
Troubleshooting basic networksTroubleshooting basic networks
Troubleshooting basic networks
 
Day 5.3 configuration of router
Day 5.3 configuration of routerDay 5.3 configuration of router
Day 5.3 configuration of router
 
Teacher management system guide
Teacher management system guideTeacher management system guide
Teacher management system guide
 
Day 25 cisco ios router configuration
Day 25 cisco ios router configurationDay 25 cisco ios router configuration
Day 25 cisco ios router configuration
 
Initial Configuration of Router
Initial Configuration of RouterInitial Configuration of Router
Initial Configuration of Router
 
10 More Quotes for Entrepreneurs
10 More Quotes for Entrepreneurs10 More Quotes for Entrepreneurs
10 More Quotes for Entrepreneurs
 
3 Router Configuration - Cisco Packet Tracer
3 Router Configuration - Cisco Packet Tracer 3 Router Configuration - Cisco Packet Tracer
3 Router Configuration - Cisco Packet Tracer
 
Redes cisco
Redes ciscoRedes cisco
Redes cisco
 
Document similarity with vector space model
Document similarity with vector space modelDocument similarity with vector space model
Document similarity with vector space model
 
MikroTik Basic Training Class - Online Moduls - English
 MikroTik Basic Training Class - Online Moduls - English MikroTik Basic Training Class - Online Moduls - English
MikroTik Basic Training Class - Online Moduls - English
 
E s switch_v6_ch01
E s switch_v6_ch01E s switch_v6_ch01
E s switch_v6_ch01
 
Computer networking short_questions_and_answers
Computer networking short_questions_and_answersComputer networking short_questions_and_answers
Computer networking short_questions_and_answers
 
College Network
College NetworkCollege Network
College Network
 

Semelhante a Cisco router command configuration overview

Semelhante a Cisco router command configuration overview (20)

CCNA ppt Day 7
CCNA ppt Day 7CCNA ppt Day 7
CCNA ppt Day 7
 
Ciso ospf
Ciso ospfCiso ospf
Ciso ospf
 
Ciso commands
Ciso commandsCiso commands
Ciso commands
 
Ciso commands
Ciso commandsCiso commands
Ciso commands
 
Basic cisco commands_by_marcus_nielson_2
Basic cisco commands_by_marcus_nielson_2Basic cisco commands_by_marcus_nielson_2
Basic cisco commands_by_marcus_nielson_2
 
Ccnacommand 140205001152-phpapp01
Ccnacommand 140205001152-phpapp01Ccnacommand 140205001152-phpapp01
Ccnacommand 140205001152-phpapp01
 
Configuración del dial peer
Configuración del dial peer Configuración del dial peer
Configuración del dial peer
 
Ciso 4 ospf
Ciso 4 ospfCiso 4 ospf
Ciso 4 ospf
 
Ccna commands
Ccna commandsCcna commands
Ccna commands
 
Ccna commands
Ccna commandsCcna commands
Ccna commands
 
commandes_CHEAT_SH_2.pdf
commandes_CHEAT_SH_2.pdfcommandes_CHEAT_SH_2.pdf
commandes_CHEAT_SH_2.pdf
 
Chapter 04 - Router Conf
Chapter 04 - Router ConfChapter 04 - Router Conf
Chapter 04 - Router Conf
 
CCNA ALL IN ONE
CCNA ALL IN ONE CCNA ALL IN ONE
CCNA ALL IN ONE
 
Dynamic routing OSPF 1
Dynamic routing OSPF 1Dynamic routing OSPF 1
Dynamic routing OSPF 1
 
OSPF
OSPFOSPF
OSPF
 
Ccna commands
Ccna commands   Ccna commands
Ccna commands
 
Service Provider Networks and Frame Relay
Service Provider Networks and Frame RelayService Provider Networks and Frame Relay
Service Provider Networks and Frame Relay
 
Cisco Router Basic Configuraiton
Cisco Router Basic ConfiguraitonCisco Router Basic Configuraiton
Cisco Router Basic Configuraiton
 
Router Commands Overview
Router Commands OverviewRouter Commands Overview
Router Commands Overview
 
CCNA presentation.
CCNA presentation.CCNA presentation.
CCNA presentation.
 

Mais de 3Anetwork com

Cisco 3900 and cisco 2900 series routers
Cisco 3900 and cisco 2900 series routersCisco 3900 and cisco 2900 series routers
Cisco 3900 and cisco 2900 series routers3Anetwork com
 
Cisco catalyst 2960 x series
Cisco catalyst 2960 x seriesCisco catalyst 2960 x series
Cisco catalyst 2960 x series3Anetwork com
 
Cisco catalyst 3750 x series switches
Cisco catalyst 3750 x series switchesCisco catalyst 3750 x series switches
Cisco catalyst 3750 x series switches3Anetwork com
 
Cisco switches for small business
Cisco switches for small businessCisco switches for small business
Cisco switches for small business3Anetwork com
 
How to recover the password for cisco 2900 integrated services router
How to recover the password for cisco 2900 integrated services routerHow to recover the password for cisco 2900 integrated services router
How to recover the password for cisco 2900 integrated services router3Anetwork com
 
Cisco 4 and 8-port gigabit ethernet ehwi cs
Cisco 4  and 8-port gigabit ethernet ehwi csCisco 4  and 8-port gigabit ethernet ehwi cs
Cisco 4 and 8-port gigabit ethernet ehwi cs3Anetwork com
 
Cisco 2960 basic configuration – vlan configuration
Cisco 2960 basic configuration – vlan configurationCisco 2960 basic configuration – vlan configuration
Cisco 2960 basic configuration – vlan configuration3Anetwork com
 
Configuring a Cisco Router as a PPPoE Client for DSL Connectivity
 Configuring a Cisco Router as a PPPoE Client for DSL Connectivity Configuring a Cisco Router as a PPPoE Client for DSL Connectivity
Configuring a Cisco Router as a PPPoE Client for DSL Connectivity3Anetwork com
 
Cisco catalyst 3850 series switches datasheet
Cisco catalyst 3850 series switches datasheetCisco catalyst 3850 series switches datasheet
Cisco catalyst 3850 series switches datasheet3Anetwork com
 
Cisco catalyst 2960 series switches overview
Cisco catalyst 2960 series switches overviewCisco catalyst 2960 series switches overview
Cisco catalyst 2960 series switches overview3Anetwork com
 
Enterprise Network Manager: the Router-On-A-stick
Enterprise Network Manager: the Router-On-A-stickEnterprise Network Manager: the Router-On-A-stick
Enterprise Network Manager: the Router-On-A-stick3Anetwork com
 
Cisco Catalyst 2960-X Datasheet
Cisco Catalyst 2960-X DatasheetCisco Catalyst 2960-X Datasheet
Cisco Catalyst 2960-X Datasheet3Anetwork com
 
How to configure a catalyst 3750 x
How to configure a catalyst 3750 xHow to configure a catalyst 3750 x
How to configure a catalyst 3750 x3Anetwork com
 
Hubs vs switches vs routers
Hubs vs switches vs routersHubs vs switches vs routers
Hubs vs switches vs routers3Anetwork com
 
Installing and removing sfp and sfp+ transceiver modules
Installing and removing sfp and sfp+ transceiver modulesInstalling and removing sfp and sfp+ transceiver modules
Installing and removing sfp and sfp+ transceiver modules3Anetwork com
 
Dmvpn with configuration example
Dmvpn with configuration exampleDmvpn with configuration example
Dmvpn with configuration example3Anetwork com
 
Cisco unified access from vision to reality
Cisco unified access from vision to realityCisco unified access from vision to reality
Cisco unified access from vision to reality3Anetwork com
 
How to use time domain reflectometer (tdr)
How to use time domain reflectometer (tdr)How to use time domain reflectometer (tdr)
How to use time domain reflectometer (tdr)3Anetwork com
 
Cisco Router Throughput
Cisco Router ThroughputCisco Router Throughput
Cisco Router Throughput3Anetwork com
 

Mais de 3Anetwork com (20)

Cisco sfp modules
Cisco sfp modulesCisco sfp modules
Cisco sfp modules
 
Cisco 3900 and cisco 2900 series routers
Cisco 3900 and cisco 2900 series routersCisco 3900 and cisco 2900 series routers
Cisco 3900 and cisco 2900 series routers
 
Cisco catalyst 2960 x series
Cisco catalyst 2960 x seriesCisco catalyst 2960 x series
Cisco catalyst 2960 x series
 
Cisco catalyst 3750 x series switches
Cisco catalyst 3750 x series switchesCisco catalyst 3750 x series switches
Cisco catalyst 3750 x series switches
 
Cisco switches for small business
Cisco switches for small businessCisco switches for small business
Cisco switches for small business
 
How to recover the password for cisco 2900 integrated services router
How to recover the password for cisco 2900 integrated services routerHow to recover the password for cisco 2900 integrated services router
How to recover the password for cisco 2900 integrated services router
 
Cisco 4 and 8-port gigabit ethernet ehwi cs
Cisco 4  and 8-port gigabit ethernet ehwi csCisco 4  and 8-port gigabit ethernet ehwi cs
Cisco 4 and 8-port gigabit ethernet ehwi cs
 
Cisco 2960 basic configuration – vlan configuration
Cisco 2960 basic configuration – vlan configurationCisco 2960 basic configuration – vlan configuration
Cisco 2960 basic configuration – vlan configuration
 
Configuring a Cisco Router as a PPPoE Client for DSL Connectivity
 Configuring a Cisco Router as a PPPoE Client for DSL Connectivity Configuring a Cisco Router as a PPPoE Client for DSL Connectivity
Configuring a Cisco Router as a PPPoE Client for DSL Connectivity
 
Cisco catalyst 3850 series switches datasheet
Cisco catalyst 3850 series switches datasheetCisco catalyst 3850 series switches datasheet
Cisco catalyst 3850 series switches datasheet
 
Cisco catalyst 2960 series switches overview
Cisco catalyst 2960 series switches overviewCisco catalyst 2960 series switches overview
Cisco catalyst 2960 series switches overview
 
Enterprise Network Manager: the Router-On-A-stick
Enterprise Network Manager: the Router-On-A-stickEnterprise Network Manager: the Router-On-A-stick
Enterprise Network Manager: the Router-On-A-stick
 
Cisco Catalyst 2960-X Datasheet
Cisco Catalyst 2960-X DatasheetCisco Catalyst 2960-X Datasheet
Cisco Catalyst 2960-X Datasheet
 
How to configure a catalyst 3750 x
How to configure a catalyst 3750 xHow to configure a catalyst 3750 x
How to configure a catalyst 3750 x
 
Hubs vs switches vs routers
Hubs vs switches vs routersHubs vs switches vs routers
Hubs vs switches vs routers
 
Installing and removing sfp and sfp+ transceiver modules
Installing and removing sfp and sfp+ transceiver modulesInstalling and removing sfp and sfp+ transceiver modules
Installing and removing sfp and sfp+ transceiver modules
 
Dmvpn with configuration example
Dmvpn with configuration exampleDmvpn with configuration example
Dmvpn with configuration example
 
Cisco unified access from vision to reality
Cisco unified access from vision to realityCisco unified access from vision to reality
Cisco unified access from vision to reality
 
How to use time domain reflectometer (tdr)
How to use time domain reflectometer (tdr)How to use time domain reflectometer (tdr)
How to use time domain reflectometer (tdr)
 
Cisco Router Throughput
Cisco Router ThroughputCisco Router Throughput
Cisco Router Throughput
 

Último

Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#Karmanjay Verma
 
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...BookNet Canada
 
All These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDFAll These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDFMichael Gough
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observabilityitnewsafrica
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructureitnewsafrica
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Kuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorialKuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorialJoão Esperancinha
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesBernd Ruecker
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
JET Technology Labs White Paper for Virtualized Security and Encryption Techn...
JET Technology Labs White Paper for Virtualized Security and Encryption Techn...JET Technology Labs White Paper for Virtualized Security and Encryption Techn...
JET Technology Labs White Paper for Virtualized Security and Encryption Techn...amber724300
 
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Mark Simos
 
Digital Tools & AI in Career Development
Digital Tools & AI in Career DevelopmentDigital Tools & AI in Career Development
Digital Tools & AI in Career DevelopmentMahmoud Rabie
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 

Último (20)

Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#
 
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
 
All These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDFAll These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDF
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Kuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorialKuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorial
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
JET Technology Labs White Paper for Virtualized Security and Encryption Techn...
JET Technology Labs White Paper for Virtualized Security and Encryption Techn...JET Technology Labs White Paper for Virtualized Security and Encryption Techn...
JET Technology Labs White Paper for Virtualized Security and Encryption Techn...
 
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
 
Digital Tools & AI in Career Development
Digital Tools & AI in Career DevelopmentDigital Tools & AI in Career Development
Digital Tools & AI in Career Development
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 

Cisco router command configuration overview

  • 1. Cisco router: command configuration overview [Abstract] Cisco router configuration statement summary startup interface, assigning IP address: router>router>enablerouter#router#configureterminalrouter (config) #router (config)#interf acetypeportrouter (config-if) #noshutdownrouter (config-if) # ipaddressip-addresssubnetmaskrouter (config-if) rip routing protocol # ^ Z configuration: 30 seconds to update a router(config) #routerriprouter (config-if) #...... Cisco router: commond configuration overview: Start the interface, IP address allocation: Router> Router> enable Router# Router# configure terminal Router (config) # Router (config) interface type port # Router (config-if no shutdown) # Router (config-if) IP address IP-address subnet-mask # Router (config-if) # ^ Z Configure the rip routing protocol: 30 seconds to update once Router (config router RIP) # Router (config-if network network-number) # < -- notice the standard a, B, C network -- > Router (config-if) # ^ Z Configure the IGRP routing protocol: 90 seconds to update once Router (config) router IGRP as-number # < -- as-number range of 1 to 65535 -- > Router (config-if network network-number) # < -- notice the standard a, B, C network -- > Router (config-if) # ^ Z Configure the Novell IPX routing protocol: Novell rip 60 second to update once Router (config) IPX routing [node address] # Router (config) IPX maximum-paths paths # < -- set the load balance, the range of 1 to 512 -- > Router (config) interface type port # 1
  • 2. Router (config-if) IPX network network-number [encapsulation encapsulation-type] [secon dary] #< -- notice the standard a, B, C network -- > Router (config-if) # ^ Z The configuration of ddr: Router (config) dialer-list group-number protocol protocol-type permit [list # acl-number] Router (config) Interface BRI 0 # Router (config-if dialer-group group-number) # Router (config-if) dialer map protocol-type next-hop-address name hostname # telphonenumber Router (config-if) # ^ Z The configuration of isdn: Router (config) isdnth-typeth-type < -- # configuration ISDN switch type, Chinese using basic-net3 -- > Router (config-if) # ^ Z Configure frame relay: Router (config-if) encapsulation frame-relay [cisco IETF # |] Router (config-if) frame-relay lmi-type [ansi Cisco # | | q933a] Router (config-if bandwidth kilobits) # Router (config-if) # frame-relay invers-arp [protocol] [dlci] < -- Static invers ARP table: Router (config) frame-relay protocol protocol-address DLCI # [broadcast] [Cisco] [payload -compress IETF | | packet-by-packet] -- > < -- set the keepalive interval: Router (config-if keepalive number) # -- > < -- the local interface with the specified dlci: Router (config-if) frame-lelay local-dlci number # -- > < -- sub interface: Router (config-if) interface type port.subininterface-number multipoint | # [point-to-point] Router (config-subif) IP unnumbered interface # 2
  • 3. Router (config-subif) frame-lelay local-dlci number # -- > Router (config-if) # ^ Z Configuration the standard acl: Router (config) access-list access-list-number permit | # [Deny] source [source-mask] < -access-list-number range: 1 to 99 standard ACL; 100 ~ 199 extended ACL; 800 to 899 standard IPX ACL; 900 ~ 999 expansion of IPX ACL; 1000~1099 IPX SAP ACL; 600 ~ 699apple talk ACL --> Router (config) interface type port # Router (config-if) IP access-group access-list-number in | # [out] Router (config-if) # ^ Z Configure an extended acl: Router (config) access-list access-list-number permit | # [Deny] [protocol protocolnumber]source source-wildcard | [source-port] destination destination-wildcard [destinatio n-port][established] Router (config) interface type port # Router (config-if) IP access-group access-list-number in | # [out] Router (config-if) # ^ Z Configuration the naming acl: Router (config) IP access-list standard | # [extended] acl-name Router (config [std- NaCl ext-] |) | # [permit deny] [ip-access-list-test-conditions] Router (config [std- NaCl ext-] |) # no [permit deny] [ip-access-list-test-conditions] | Router (config [std- NaCl ext-] |) # ^ Z Router (config) interface type port # Router (config-if) IP access-group [acl-name 1~199 # | |] [in out] Router (config-if) # ^ Z Configure the DCE clock: Router# show controllers type port < -- define DCE interface -- > Router (confin-if) clock rate 64000 # < -- into the DCE interface to set the clock rate -- > Router (config-if) # ^ Z Configure the PPP protocol: 3
  • 4. Router (config) username name password set-password-here # < -- Verification establish database -- > Router (config) interface type port # Router (config-if encapsulation PPP) # -- start -- > < PPP protocol Router (config-if PPP outhentication) # [chap chap PAP PAP chap | | | PAP] < -- choose PPPauthentication -- > Router (config-if) PPP Pap sent-username name password password # < -- send verificationinformation -- > Router (config-if) # ^ Z PAP authentication configuration example: The verifier: Router-server (config) username client password 12345 # < -- Verification establish database --> Router-server (config) interface serial 0 # Router-server (config-if encapsulation PPP) # Router-server (config-if) PPP authentication Pap # < -- choose to use PAP to achieve PPP certification -- > Router-server (config-if) # ^ Z Attested party: Router-client (config-if encapsulation PPP) # Router-client (config-if) PPP Pap sent-username client password 12345 # < -- send verificationinformation -- > Router-client (config-if) # ^ Z PAP bidirectional authentication configuration example: Router a: Routera (config) username B password 12345 # Routera (config) interface serial 0 # Routera (config-if encapsulation PPP) # Routera (config-if) PPP authentication Pap # Routera (config-if) PPP Pap sent-username a password 54321 # Routera (config-if) # ^ Z Router b: Routerb (config) username a password 54321 # 4
  • 5. Routerb (config) interface serial 1 # Routerb (config-if encapsulation PPP) # Routerb (config-if) PPP authentication Pap # Routerb (config-if) PPP Pap sent-username B password 12345 # Routerb (config-if) # ^ Z Chap authentication configuration example: The verifier: Router-server (config) username router-client password 12345 # Router-server (config) interface serial 0 # Router-server (config-if encapsulation PPP) # Router-server (config-if) PPP authentication chap # Router-server (config-if) # ^ Z Attested party: Router-client (config-if encapsulation PPP) # Router-client (config-if) PPP authentication chap # Router-client (config-if) PPP chap hostname router-client # Router-client (config-if) PPP chap password 12345 # Router-client (config-if) # ^ Z chap bidirectional authentication configuration example: Router a: Routera (config) username routerb password 12345 # Routera (config) interface serial 0 # Routera (config-if encapsulation PPP) # Routera (config-if) PPP authentication chap # Routera (config-if) PPP chap hostname routera # Routera (config-if) PPP chap password 54321 # Routera (config-if) # ^ Z Router b: Routerb (config) username routera password 54321 # Routerb (config) interface serial 1 # Routerb (config-if encapsulation PPP) # Routerb (config-if) PPP authentication chap # Routerb (config-if) PPP chap hostname routerb # Routerb (config-if) PPP chap password 12345 # 5
  • 6. Routerb (config-if) # ^ Z Telnet use: Routera# terminal monitor < -- can back to execute the debug command on a remote hostresults -- > Routera# telnet IP-address [router-name] < -- the host telnet to the specified address or name --> Routerb# [exit logout] < -- | exit telnet -- > Routerb# ++<6> then press < -- hang telnet -- > Routera# show sessions < -- shows all current telnet information, including connectnumber -- > Routera# connect-number < -- returns the specified telnet connection -- > Connection -- > routera# disconnect IP-address [router-name] < -- disconnect the specified address or name of the host Routera# show user < -- show the telnet connection to the information -- > this machine Routera# clear line [0 | 1 | 2 | 3 | 4] < -- disconnect connection to the specified telnet -- > thismachine No telnet to the machine: Router (config) line vty 04 # Router (config-line access-class acl-number) # Router (config) # ^ Z Set the host name: Router (config hostname set-hostname) # Router (config) # ^ Z Router (config) # ^ Z Set user mode code: Router (config) line console 0 # Router (config-line) # login Router (config-line password set-password) # Router (config-line) # ^ Z Set the telnet password: Router (config) line vty 04 # Router (config-line) # login 6
  • 7. Router (config-line password set-password) # Router (config-line) # ^ Z Set the privileged mode password: Router (config) enable password set-password # < -- the password is not encrypted, password -- > Router (config) enable secret set-password # < -- the encrypted password -- > Router (config) # ^ Z For all the password encryption: Router (config) service password-ancryption set-password-here # Router (config) no service password-ancryption # < -- cancel encryption -- > Router (config) # ^ Z Set the login banner: Router (config banner MOTD) # separator set-banner-information-here delimiters < -- before and after the delimiter must agree -- > Set interface description information: Router (config-if description set-port-information-here) # Router (config) # ^ Z The control of cdp: Router (config-if CDP enable) # < -- in the designated port enable CDP, default -- > Router (config-if) no CDP enable # < -- close CDP -- > in the designated port Router (config CDP run) # < -- that all ports enable CDP -- > Router (config) no CDP run # < -- that all ports closed CDP -- > The use of ping: Router# Ping IP-address Router# Ping < -- extended ping command -- > Protocol [ip]:[protocol-type] < -- select the protocol type -- > Target IP address:ip-address < -- input test address -- > Repeat count [5]: < -- choose to send ICMP packet number -- > Datagram size [100]: < -- choose the size of each package -- > 7
  • 8. Timeout in seconds [2]: < -- set each packet timeout -- > Extended commands [n]:y < -- using the extended ping command -- > Sweep range of sizes [n]: The use of tracke: Router# trace IP-address [host-name] Cisco 4000 router specified media type: Router (config-if media-type 10baset) # < -- the AUI (the default) failure, modified to use RJ-45 --> Router (config-if) # ^ Z Change the startup sequence of routers: Router (config) boot system flash ios-filename # Router (config) boot system TFTP ios-filename tftp-ip-address # Router (config) boot system ROM # Router (config) # ^ Z Modify register values: Router (config config-register value) # < -- Cisco default value = 0x2102, value range: 0x2100(enter ROM monitor), 0x2101 (the system boot from ROM to 0x210f (0x2102), enables the system to boot from NVRAM). 0x1 = 0x2101, starting from the smallest bit change -- > Change the register values in the ROM monitor: > o/r value Router password recovery: Cold shutdown, then start again and in 60 seconds press ctrl>+ to enter the ROM monitor mode > o/r 0x2142 > > confreg <--25xx router or 0x2142 <--16xx router Router> I Router> n Router> enable Router# copy startup-config running-config Router# configure terminal Router (config) enable secret new-password # 8
  • 9. Router (config config-register 0x2102) # Router (config) # ^ Z Router# copy running-config startup-config Router# reload Configuration name - main entrance: Router (config) # IP host set-name [tcp-port-number] IP-address [IP-address 2.. Router (config) # ^ Z The definition of the DNS host: Router (config) IP name-server server-address # [server-address 2.. Router (config) # ^ Z Disable dns: Router (config) no IP domain-lookup # Router (config) # ^ Z configuration level segmentation: Router (config-if IP split-horizon) # Router (config-if) no IP split-horizon # Router (config-if) # ^ Z Static router configuration: Router (config) IP route IP-address subnet-mask # [next-hop-address [distace local-outport]] | < -- distance range: 1 ~ 255, equivalent to the priority, the smaller the better. Rip=120;dspf=110; igrp=100; eigrp=90 -- > Router (config) # ^ Z Configure a default router: Router (config) IP defoult-network IP-address # < -- Dynamic default route -- > Router (config) IP route 0.0.0.0 0.0.0.0 # [next-hop-address local-out-port [distace]] | < -Staticdefault route -- > Router (config) # ^ Z Other commands: Router# show version 9
  • 10. Router# show running-config Router# show startup-config Router# show flash Router# show interface [type port] Router# show buffers Router# show protocol Router# show mem Router# show stacks Router# show processes Router# show CDP entry [device-name] < -- display the specified neighbor three layers of information -- > Router# show cdp neighbors Router# show cdp neighbors detail < -- shows all the neighbors three layers of information - > Router# show IP router Router# show IPX router Router# show host Router# show ip protocol Router# show IP interface type port Router# show IPX interface type port Router# show IPX servers Router# show IPX traffic Router# show access-lists [acl-number] Router# show ISDN status Router# show dialer < -- Viewing the ISDN dial information -- > Router# show ISDN active Router# show frame-relay PVC Router# show frame-relay map Router# show frame-relay LMI Router# erase startup-config Router# reload Router# setup Router# copy running-config startup-config Router# copy startup-config running-config Router# copy TFTP running-config 10
  • 11. Router# copy running-config TFTP Router# debug IPX routing activity Router# debug IPX SAP Router# debug ISDN q921 Router# debug ISDN Q931 Router# debug dialer Router# debug IP rip Router# clear interface bri More related: How To Recover Cisco Router Password The Difference of The Cisco Catalyst 2900 and Cisco Catalyst 1900 More Cisco products and Reviews you can visit: http://www.3anetwork.com/blog 3Anetwork.com is a world leading Cisco networking products wholesaler, we wholesale original new Cisco networking equipments, including Cisco Catalyst switches, Cisco routers, Cisco firewalls, Cisco wireless products, Cisco modules and interface cards products at competitive price and ship to worldwide. Our website: http://www.3anetwork.com Telephone: +852-3069-7733 Email: info@3Anetwork.com Address: 23/F Lucky Plaza, 315-321 Lockhart Road, Wanchai, Hongkong 11