dfdggg44 发表于 2011-3-28 07:54:16

路由器高级配置命令(二)

二、对话方式下路由器的基本配置   利用设置对话过程可以避免手工输入命令的烦琐,在特权命令状态使用SETUP命令即可进入对话配置状态。进入设置对话过程后,路由器首先会显示一些如下类似提示信息:  --- System Configuration Dialog ---   At any point you may enter a question mark '?' for help.   Use ctrl-c to abort configuration dialog at any prompt.   Default settings are in square brackets '[ ]'.   这是告诉你在设置对话过程中的任何地方都可以键入"?"得到系统的帮助,按ctrl-c可以退出设置过程,缺省设置将显示在"[ ]"中。然后路由器会问是否进入设置对话:  Would you like to enter the initial configuration dialog? :   假如按y或回车,路由器就会进入设置对话过程。首先你可以看到路由器各端口当前的配置状况,如下所示:   First, would you like to see the current inte***ce summary? : (选择"y")。  Any inte***ce listed with OK? value "NO" does not have a valid configuration (所有端口的配置情况列表)。Inte***ce IP-Address OK? Method Status Protocol Ethernet0 unassigned NO unset up up Serial0 unassigned NO unset up up ……… ……… … …… … …   然后,就可对路由器进行全局的配置了,先进行初始化配置。   Configuring global parameters:   1.Enter host name :(设置路由器名)。   2.The enable secret is a one-way cryptographic secret used instead of the enable password when it exists. Enter enable secret: cisco(设置进入特权状态的密文(secret),此密文在设置以后不会以明文方式显示)。   3.The enable password is used when there is no enable secret and when using older software and some boot images. Enter enable password: pass(设置进入特权状态的密码(password),此密码只在没有密文时起作用,并且在设置以后会以明文方式显示)。  4.Enter virtual terminal password: cisco (设置虚拟终端访问时的密码)  5.询问是否要设置路由器支持的各种网络协议:   Configure SNMP Network Management? :   Configure DECnet? :   Configure AppleTalk? :   Configure IPX? :   Configure IP? :   Configure IGRP routing? :   Configure RIP routing? :   ………   6.假如配置的是拨号访问服务器,系统还会设置异步口的参数:   Configure Async lines? :   (1) 设置线路的最高速度:   Async line speed :   (2) 是否使用硬件流控:   Configure for HW flow control? :   (3) 是否设置modem:   Configure for modems? : yes   (4) 是否使用默认的脚本:   Configure for default chat script? :   (5) 是否设置异步口的PPP参数:   Configure for Dial-in IP SLIP/PPP access? : yes   (6) 是否使用动态IP地址:   Configure for Dynamic IP addresses? :   (7) 是否使用缺省IP地址:   Configure Default IP addresses? : yes   (8) 是否使用TCP头压缩:   Configure for TCP Header Compression? :   (9) 是否在异步口上使用路由表更新:   Configure for routing updates on async links? : y   (10) 是否设置异步口上的其它协议。 7.接下来,系统会对每个接口进行参数的设置,       1/3 123下一页尾页
页: [1]
查看完整版本: 路由器高级配置命令(二)