<dfn id="w48us"></dfn><ul id="w48us"></ul>
  • <ul id="w48us"></ul>
  • <del id="w48us"></del>
    <ul id="w48us"></ul>
  • 路由器配置基礎(chǔ)知識(shí)

    時(shí)間:2024-06-18 10:11:25 網(wǎng)絡(luò)技術(shù) 我要投稿

    路由器配置基礎(chǔ)知識(shí)

      一般來說,可以用5種方式來設(shè)置路由器,下面跟YJBYS小編一起來學(xué)習(xí)一下吧!

    路由器配置基礎(chǔ)知識(shí)

      一、簡單介紹

      1.Console口接終端或運(yùn)行終端仿真軟件的微機(jī);

      2.AUX口接MODEM,通過電話線與遠(yuǎn)方的終端或運(yùn)行終端仿真軟件的微機(jī)相連;

      3.通過Ethernet上的TFTP服務(wù)器;

      4.通過Ethernet上的TELNET程序;

      5.通過Ethernet上的SNMP網(wǎng)管工作站。

      但路由器的第一次設(shè)置必須通過第一種方式進(jìn)行,此時(shí)終端的硬件設(shè)置如下:

      波特率 :9600

      數(shù)據(jù)位 :8

      停止位 :1

      奇偶校驗(yàn): 無

      二、命令狀態(tài)

      1. router>

      路由器處于用戶命令狀態(tài),這時(shí)用戶可以看路由器的連接狀態(tài),訪問其它網(wǎng)絡(luò)和主機(jī),但不能看到和更改路由器的設(shè)置內(nèi)容。

      2. router#

      在router>提示符下鍵入enable,路由器進(jìn)入特權(quán)命令狀態(tài)router#,這時(shí)不但可以執(zhí)行所有的用戶命令,還可以看到和更改路由器的設(shè)置內(nèi)容。

      3. router(config)#

      在router#提示符下鍵入configure terminal,出現(xiàn)提示符router(config)#,此時(shí)路由器處于全局設(shè)置狀態(tài),這時(shí)可以設(shè)置路由器的全局參數(shù)。

      4. router(config-if)#; router(config-line)#; router(config-router)#;…

      路由器處于局部設(shè)置狀態(tài),這時(shí)可以設(shè)置路由器某個(gè)局部的參數(shù)。

      5. >

      路由器處于RXBOOT狀態(tài),在開機(jī)后60秒內(nèi)按ctrl-break可進(jìn)入此狀態(tài),這時(shí)路由器不能完成正常的功能,只能進(jìn)行軟件升級(jí)和手工引導(dǎo)。

      6. 設(shè)置對(duì)話狀態(tài)

      這是一臺(tái)新路由器開機(jī)時(shí)自動(dòng)進(jìn)入的狀態(tài),在特權(quán)命令狀態(tài)使用SETUP命令也可進(jìn)入此狀態(tài),這時(shí)可通過對(duì)話方式對(duì)路由器進(jìn)行設(shè)置。

      三、設(shè)置對(duì)話過程

      顯示提示信息

      全局參數(shù)的設(shè)置

      接口參數(shù)的設(shè)置

      顯示結(jié)果

      利用設(shè)置對(duì)話過程可以避免手工輸入命令的煩瑣,但它還不能完全代替手工設(shè)置,一些特殊的設(shè)置還必須通過手工輸入的方式完成。

      進(jìn)入設(shè)置對(duì)話過程后,路由器首先會(huì)顯示一些提示信息:

    --- 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 '[]'. 

      這是告訴你在設(shè)置對(duì)話過程中的任何地方都可以鍵入“?”得到系統(tǒng)的幫助,按ctrl-c可以退出設(shè)置過程,缺省設(shè)置將顯示在‘[]’中。然后路由器會(huì)問是否進(jìn)入設(shè)置對(duì)話:

      Would you like to enter the initial configuration dialog? [yes]:

      如果按y或回車,路由器就會(huì)進(jìn)入設(shè)置對(duì)話過程。首先你可以看到各端口當(dāng)前的狀況:

    First, would you like to see the current interface summary? [yes]: 
    Any interface listed with OK? value "NO" does not have a valid configuration 
    Interface 
    IP-Address 
    OK? 
    Method 
    Status 
    Protocol 
    Ethernet0 
    unassigned 
    NO 
    unset 
    up 
    up 
    Serial0 
    unassigned 
    NO 
    unset 
    up 
    up 
    ……… 
    ……… 
    … 
    …… 
    … 
    … 

      然后,路由器就開始全局參數(shù)的設(shè)置:

      Configuring global parameters:

      1.設(shè)置路由器名:

      Enter host name [Router]:

      2.設(shè)置進(jìn)入特權(quán)狀態(tài)的密文(secret),此密文在設(shè)置以后不會(huì)以明文方式顯示

    The enable secret is a one-way cryptographic secret used 
    instead of the enable password when it exists. 
    Enter enable secret: cisco 

      3.設(shè)置進(jìn)入特權(quán)狀態(tài)的密碼(password),此密碼只在沒有密文時(shí)起作用,并且在設(shè)置以后會(huì)以明文方式顯示:

    The enable password is used when there is no enable secret 
    and when using older software and some boot images. 
    Enter enable password: pass 
    

      4.設(shè)置虛擬終端訪問時(shí)的密碼:

      Enter virtual terminal password: cisco

      5.詢問是否要設(shè)置路由器支持的各種網(wǎng)絡(luò)協(xié)議:

    Configure SNMP Network Management? [yes]: 
    Configure DECnet? [no]: 
    Configure AppleTalk? [no]: 
    Configure IPX? [no]: 
    Configure IP? [yes]: 
    Configure IGRP routing? [yes]: 
    Configure RIP routing? [no]: 
    ……… 
    

      6.如果配置的是撥號(hào)訪問服務(wù)器,系統(tǒng)還會(huì)設(shè)置異步口的參數(shù):

      Configure Async lines? [yes]:

      1) 設(shè)置線路的最高速度:

      Async line speed [9600]:

      2) 是否使用硬件流控:

      Configure for HW flow control? [yes]:

      3) 是否設(shè)置modem:

      Configure for modems? [yes/no]: yes

      4) 是否使用默認(rèn)的modem命令:

      Configure for default chat script? [yes]:

      5) 是否設(shè)置異步口的PPP參數(shù):

      Configure for Dial-in IP SLIP/PPP access? [no]: yes

      6) 是否使用動(dòng)態(tài)IP地址:

      Configure for Dynamic IP addresses? [yes]:

      7) 是否使用缺省IP地址:

      Configure Default IP addresses? [no]: yes

      8) 是否使用TCP頭壓縮:

      Configure for TCP Header Compression? [yes]:

      9) 是否在異步口上使用路由表更新:

      Configure for routing updates on async links? [no]: y

      10)  是否設(shè)置異步口上的其它協(xié)議。

      接下來,系統(tǒng)會(huì)對(duì)每個(gè)接口進(jìn)行參數(shù)的設(shè)置。

      1.Configuring interface Ethernet0:

      1) 是否使用此接口:

      Is this interface in use? [yes]:

      2) 是否設(shè)置此接口的IP參數(shù):

      Configure IP on this interface? [yes]:

      3) 設(shè)置接口的IP地址:

      IP address for this interface: 192.168.162.2

      4) 設(shè)置接口的IP子網(wǎng)掩碼:

      Number of bits in subnet field [0]:

      Class C network is 192.168.162.0, 0 subnet bits; mask is /24

      在設(shè)置完所有接口的參數(shù)后,系統(tǒng)會(huì)把整個(gè)設(shè)置對(duì)話過程的結(jié)果顯示出來:

      The following configuration command script was created:

      hostname Router

      enable secret 5 $1$W5Oh$p6J7tIgRMBOIKVXVG53Uh1

      enable password pass

      ………

      請(qǐng)注意在enable secret后面顯示的是亂碼,而enable password后面顯示的是設(shè)置的內(nèi)容。

      顯示結(jié)束后,系統(tǒng)會(huì)問是否使用這個(gè)設(shè)置:

      Use this configuration? [yes/no]: yes

      如果回答yes,系統(tǒng)就會(huì)把設(shè)置的結(jié)果存入路由器的NVRAM中,然后結(jié)束設(shè)置對(duì)話過程,使路由器開始正常的工作。

    【路由器配置基礎(chǔ)知識(shí)】相關(guān)文章:

    思科路由器配置基礎(chǔ)知識(shí)06-19

    思科路由器配置基礎(chǔ)08-13

    華為路由器配置大全10-06

    華為路由器配置命令04-10

    思科路由器的安全配置06-03

    Cisco路由器安全配置命令10-27

    思科路由器SSH配置案例08-26

    Cisco路由器配置命令大全06-12

    CISCO路由器CHAP認(rèn)證配置06-17

    路由器NAT功能介紹及配置07-29

    主站蜘蛛池模板: 国产精品粉嫩美女在线观看| 久久www免费人成精品香蕉| 午夜影视日本亚洲欧洲精品一区| 日本精品少妇一区二区三区| 国产精品白浆在线观看免费| 蜜臀AV无码国产精品色午夜麻豆| 999精品在线| 亚洲AV日韩精品久久久久久| 国产精品丝袜久久久久久不卡| 国产午夜精品免费一区二区三区| 久久青青草原精品国产不卡| 老司机69精品成免费视频| 国产精品9999久久久久| 亚洲国产综合精品中文字幕| 国产乱码精品一区二区三| 精品久久久久久久| 久久国产精品77777| 亚洲精品午夜无码专区| 无码精品人妻一区| 国产精品hd免费观看| 2022国产精品自产拍在线观看| 亚洲AV日韩精品久久久久| 天天爽夜夜爽夜夜爽精品视频| 国产精品无码免费专区午夜| 久久久久夜夜夜精品国产| 500av导航大全精品| 国产在线精品无码二区| 久久国产热精品波多野结衣AV| 曰韩精品无码一区二区三区| 久久99精品久久久久久水蜜桃| 99亚洲精品视频| 91嫩草亚洲精品| 永久免费精品视频| 华人在线精品免费观看| 99精品在线观看| 99re8这里有精品热视频免费| 久久99国内精品自在现线| 精品人妻久久久久久888| 久久99精品久久久久久久不卡| 亚洲精品乱码久久久久久中文字幕| 久久精品综合一区二区三区|