[cisco路由器配置指令]cisco路由器保存配置_第1頁
[cisco路由器配置指令]cisco路由器保存配置_第2頁
[cisco路由器配置指令]cisco路由器保存配置_第3頁
[cisco路由器配置指令]cisco路由器保存配置_第4頁
免費預(yù)覽已結(jié)束,剩余1頁可下載查看

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

1、cisco路由器配置指令cisco路由器保存配置 cisco路由器是全世界領(lǐng)先的設(shè)備,而且配置cisco路由器的方法多數(shù)都是利用指令,下面為大家整理了一些cisco路由器配置指令,盼望對您有所關(guān)心! cisco路由器配置指令學(xué)問 所處狀態(tài)各類 router 用戶處于用戶指令狀態(tài),可以查看網(wǎng)絡(luò)和主機 router# 用戶處于特權(quán)模式,可以查看狀態(tài),還可以看到和更改路由器的設(shè)置內(nèi)容 router(config)# 全局配置狀態(tài),可以設(shè)置路由的全局參數(shù) router(config-if)#;router(config-line)#;router(config-router)#. 處于局部配置狀態(tài),可

2、以設(shè)置路由的局部參數(shù) 配置端口ip 指令 en config t /全局模式 interface f0/0 ip address 192.168.1.1 255.255.255.0 /設(shè)置端口ip no shu /生效 exit interface f0/1 ip address 192.168.10.1 255.255.255.0 no shu exit end disable 配置靜態(tài)路由 指令 en config t /全局模式 ip route 192.168.100.0 255.255.255.0 192.168.10.2 /到192.168.100.0/24通過192.168.10

3、.2接口 end show ip route /可以看到前面標明s,即為靜態(tài)路由 配置動態(tài)路由(rip) 指令 en config t /全局模式 no route rip /禁止rip協(xié)議 route rip network 192.168.1.0 /network參數(shù)為路由的兩個端口對應(yīng)的網(wǎng)絡(luò)地址 network 192.168.10.0 exit end disable 配置dhcp 指令 en config t /全局模式 ip dhcp excluded-address 192.168.1.1 /需要排解的ip地址 ip dhcp pool gr-dhcp-pool /ip地址池名

4、default-server 192.168.1.1 /指定dhcp服務(wù)器 network 192.168.1.0 255.255.255.0 /配置網(wǎng)絡(luò) dns-server 61.177.7.1 /配置dns服務(wù)器 exit end disable 可以通過 ip helper-address指定 dhcp中繼代理 interface fastethernet0/1 ip address 192.168.1.1 255.255.255.0 ip helper-address 192.168.10.2 /配置dhcp中繼代理,dhcp 配置nat 指令 en config t /全局模式 i

5、nterface f0/0 ip address 192.168.1.1 255.255.255.0 ip nat inside /內(nèi)部端口 no shu exit interface f0/1 ip address 192.168.10.1 255.255.255.0 ip nat outside /外部端口 no shu exit access-list 1 permit any /設(shè)置一個可訪問列表 ip nat pool gr-nat-pool 192.168.10.3 192.168.10.254 netmask 255.255.255.0 /設(shè)置安排池 ip nat inside resource list 1 pool gr-nat-pool overload show ip nat traslations clear ip nat traslation * 其它 sh running-config /顯示當(dāng)前運行配置 sh

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論