Simple for CCNA)

Source: Internet
Author: User

This article lists the basic configurations and common configuration commands of Cisco routers in detail for actual operation problems. I believe this article will help you.

Start the interface and assign an IP Address:
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 route protocol: Once every 30 seconds
Router (config) # router rip
Router (config-if) # network Network-Number <-- advertise standard A, B, and C Networks -->
Router (config-if) # ^ z

Configure the IGRP route protocol: updated every 90 seconds
Router (config) # router igrp AS-Number <-- AS-Number range: 1 ~ 65535 -->
Router (config-if) # network Network-Number <-- advertise standard A, B, and C Networks -->
Router (config-if) # ^ z configure the Novell IPX Routing Protocol: The Novell RIP is updated once every 60 seconds.
Router (config) # ipx routing [node address]
Router (config) # ipx maximum-paths Paths <-- set load balancing, range: 1 ~ 512 -->
Router (config) # interface Type Port
Router (config-if) # ipx network Network-Number [encapsulation-type] [secondary] <-- advertise standard A, B, and C Networks -->
Router (config-if) # ^ z configure 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 Telphone-Number
Router (config-if) # ^ z configure ISDN:
Router (config) # isdn swith-type Swith-Type <-- configure the ISDN switch type, China uses basic-net3 -->
Router (config-if) # ^ z

Configure Frame Relay:
Router (config-if) # encapsulation frame-relay [cisco | ietf]
Router (config-if) # frame-relay LR-type [ansi | cisco | q933a]
Router (config-if) # bandwidth kilobits
Router (config-if) # frame-relay invers-arp [Protocol] [dlci]
<-- Configure the static Invers ARP table:
Router (config) # frame-relay Protocol-Address DLCI [Broadcast] [ietf | cisco] [payload-compress | packet-by-packet]
-->
<-- Set the Keepalive interval:
Router (config-if) # keepalive Number
-->
<-- Specify DLCI for the Local interface:
Router (config-if) # frame-lelay local-dlci Number
-->
<-- Sub-interface configuration:
Router (config-if) # interface Type Port. Subininterface-Number [multipoint | point-to-point]
Router (config-subif) # ip unnumbered Interface
Router (config-subif) # frame-lelay local-dlci Number
-->
Router (config-if) # ^ z configure the standard ACL:
Router (config) # access-list Access-List-Number [permit | deny] source [source-mask] <-- Access-List-Number range: 1 ~ 99 standard ACLs; 100 ~ 199 extend the ACL; 800 ~ 899 standard ipx acl; 900 ~ 999 extend ipx acl; 1000 ~ 1099 ipx sap acl; 600 ~ 699 Apple Talk ACL -->
Router (config) # interface Type Port
Router (config-if) # ip access-group Access-List-Number [in | out]
Router (config-if) # ^ z configure the extended ACL:
Router (config) # access-list Access-List-Number [permit | deny] [Protocol | Protocol-Number] source-wildcard [Source-Port] destination-wildcard [Destination-Port] [established]
Router (config) # interface Type Port
Router (config-if) # ip access-group Access-List-Number [in | out]
Router (config-if) # ^ z configure the name ACL:
Router (config) # ip access-list [standard | extended] ACL-Name
Router (config [std-| ext-] nacl) # [permit | deny] [IP-Access-List-Test-Conditions]
Router (config [std-| ext-] nacl) # no [permit | deny] [IP-Access-List-Test-Conditions]
Router (config [std-| ext-] nacl) # ^ 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 <-- confirm DCE interface -->
Router (confin-if) # clock rate 64000 <-- enter the DCE interface to set the clock rate -->
Router (config-if) # ^ z configure the PPP protocol:
Router (config) # username Name password Set-Password-Here <-- the validator creates a database -->
Router (config) # interface Type Port
Router (config-if) # encapsulation ppp <-- start the PPP protocol -->
Router (config-if) # ppp outhentication [chap | chap pap | pap chap | pap] <-- select PPP authentication -->
Router (config-if) # ppp pap sent-username Name password Password <-- send verification information -->
Router (config-if) # ^ zPAP one-way authentication configuration instance:

Validators:
Router-server (config) # username Client password 12345 <-- the validator creates a database -->
Router-server (config) # interface serial 0
Router-server (config-if) # encapsulation ppp
Router-server (config-if) # ppp authentication pap <-- select to use PAP for PPP authentication -->
Router-server (config-if) # ^ z
Verified:
Router-client (config-if) # encapsulation ppp
Router-client (config-if) # ppp pap sent-username Client password 12345 <-- send verification information -->
Router-client (config-if) # ^ zPAP two-way authentication configuration instance:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.