Introduction to basic configuration statements of Cisco Routers

Source: Internet
Author: User

It is very useful to know some basic configuration statements about Cisco routers. The configuration can ensure the security and performance of our networks. Here we mainly analyze the basic configuration statements of Cisco routers.

Cisco router basic configuration 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

Cisco router basic configuration ISDN:
Router (config) # isdn swith-type Swith-Type <-- configure the ISDN switch type, China uses basic-net3 -->
Router (config-if) # ^ z

Cisco router basic configuration standard ACL:
Router (config) # access-list Access-List-Number [permit | deny] source [source-mask]
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

Cisco router basic configuration 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

Cisco router basic configuration 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

Cisco router basic configuration 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

Cisco router basic configuration 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) # ^ z

PAP 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) # ^ z

PAP two-way authentication configuration instance:
Router:
Routeconfig # username B password 12345
Routeconfig # interface serial 0
Roupid (config-if) # encapsulation ppp
Roupid (config-if) # ppp authentication pap
Routeconfig-if # ppp pap sent-username A password 54321
Routeconfig-if # ^ z
Router B:
RouterB (config) # username A password 54321
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
 

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.