導航:首頁 > 程序命令 > 命令路由

命令路由

發布時間:2022-01-23 05:47:26

① 路由器怎麼寫命令

一·CISCO路由器簡介

1.1 CISCO IOS操作環境。
有三種:
ROM monitor > Failure of password recovery
BootROM router(boot) > Flash image upgrade
Cisco IOS router > Normal operation

1.2 Command Modes命令模式。
User EXEC Router> 普通級別
Privileged EXEC Router# 系統管理級別(超級用戶)
Configuration mode Router(config)# 修改配置

二、 配置前的准備工作

2.1 用終端或模擬終端接入CONSOLE口 。

終端或模擬終端配置信息如下:

9600 baud 8 data bits no parity 2 stop bits (9600,8/N/2)

2.2 用TELNET命令在網上進行設置。

系統管理員可在網上用telnet address命令進行遠程配置。

三、 配置IP地址

3.1 config命令行方式進行設置

3.1.1 首先啟動ROUTER 進入router > 模式。

鍵入Enable 進入router # 模式

然後鍵入config 進入router(config)# 模式

3.1.2 選擇要配置的路由器埠

Router(config) # interface埠號

進入埠設置狀態 Router(config-if)

此時用命令IP address <掩碼>

設定路由器埠IP地址

四、 配置ip路由協議 (RIP ,OSPF ,BGP ,STATICS)

在圖中有路由器A和B,廣域網通過router A
的s0/0/0和router B的s2/0/0相連,IP如下:

router A:

E1:202.101.1.1/24

S0/0/0:202.101.3.1/30

router B:

E1:202.101.2.1/24

S2/0/0:202.101.3.2/30

當我們設置路由器協議時,可根據方案的規定設置一種或多種協議。
以下動態協議都是按最簡單設置,復雜的配置可參考具體手冊。

4.1靜態路由

IP route 目的網路地址 子網掩碼 埠號

在router A上配router B的路由:

IP route 202.101.2.0 255.255.255.0 202.101.3.2

在router A上配router B的路由:

IP route 202.101.1.0 255.255.255.0 202.101.3.1

4.2 RIP2設置

router A進行如下設置:

router rip ;enable rip

version 2 ;選擇版本2

network 202.101.1.0 ;相關子網地址

network 202.101.3.0

router B進行如下設置:

router rip ;enable rip

version 2 ;選擇版本2

network 202.101.2.0 ;相關子網地址

network 202.101.3.0

4.3 OSPF設置

router A:

router ospf 200 ;enable ospf 進程號為200

network 202.101.1.0 0.0.0.255 area 0 ; 相關子網地址及區域號

network 202.101.3.0 0.0.0.3 area 0

router B:

router ospf 200 ;enable ospf 進程號為200

network 202.101.2.0 0.0.0.255 area 0 ; 相關子網地址及區域號

network 202.101.3.0 0.0.0.3 area 0

4.4 BGP設置

router A:

router bgp 100 ;enable bgp 設置自治域號

network 202.101.3.0 mask 255.255.255.252 ;相關子網地址及子網掩碼

network 202.101.1.0 mask 255.255.255.0 ; 這些地址由bgp發到鄰居路由器

neighbor 202.101.3.2 remote-as 200 ;設置遠程相連自治域邊界路由器埠

router B:

router bgp 100 ;enable bgp 設置自治域號

network 202.101.2.0 mask 255.255.255.252 ;相關子網地址及子網掩碼

network 202.101.1.0 mask 255.255.255.0 ; 這些地址由bgp發到鄰居路由器

neighbor 202.101.3.1 remote-as 200 ;設置遠程相連自治域邊界路由器埠

五、 radius認證的設置

5.1 radius的簡述

RADIUS的全稱為(Remote Access Dail-In User Service),它是對遠程撥號用戶訪問進行認證的一種協議。主要進行Authentication Authorization Accounting (AAA) 三方面的工作。

5.2 radius的配置

具體配置如下:

aaa new-mode ;enable radius

radius-server host ;指明radius server在網上的地址

radius-server key ;建立一個網上傳輸密

aaa authentication login default radius local ;進行login認證,若radius server未找到從本地資料庫內查找

aaa authentication ppp default radius local

aaa authorization network radius local ;授權檢測

aaa accounting network start-stop radius ;計帳檢測

六、 路由器軟體升級方法

6.1 改變操作環境

在global config mode設置: config -reg 0x2101

reload 進入Boot Rom 模式:router(boot)>

6.2 運行tftp server

在網上運行tftp server,使升級文件可以傳輸。

6.3 升級版本

命令如下:

tftp flash ;將tftp server上的文件傳入路由器的flash memoy中

flash tftp ; 將flash中的文件備份到tftp server中

七、 路由器配置的其它事項

7.1撥號用戶的配置。

cisco 2509/2511的非同步串列通訊口在配置modem時,modem需設置成自動應答方式。具體方法如下:

用超級終端進入modem AT 命令方式,鍵入ats0=1 設置自動應答方式,然後鍵入at&w 將設置寫入寄存器。

7.2 RIP & BGP的設置

當一個運行RIP路由協議的子網,做為一個自治域,用BGP協議接入另一自治域時。此子網內所有路由器需添加參數: ip classless 。同時在與邊界路由器直接相連的路由器上需添加一個預設網關。

7.3 v.35電纜直連的設置

在相關的埠上設置時鍾速率:clock rate < speed> .

7.4 loopback埠的設置

loopback埠是一個虛擬埠,埠狀態始終處於UP。通過它可以使由BGP相連的AS之間始終保持連系,不會由於邊界路由器埠狀態的改變而發生變化。其具體配置如下:

interface loopback

ip address IP地址 子網掩碼

八、常見問題

8.1如何檢測網路是否通暢?

在網路主機上採用命令ping 來逐端檢測網端。

8.2如何查看路由器配置信息?

在EXEC模式下用show config命令。

8.3如何查看路由器路由信息?

在EXEC模式下用show ip route 命令。

8.4如何查看路由器埠信息?

EXEX模式下用show int <埠號> 命令。

8.5為什麼埠協議已經配置,狀態仍然是down?

在CONFIG模式下,選擇該埠,執行no shutdwon命令。

8.6 config模式有幾種狀態,對應那些操作?

config模式有以下幾種狀態:

· globle config 全局配置操作 exec模式鍵入config t

· interface config 埠配置操作 config模式鍵入int <埠號>

· line config 線路配置操作 config模式鍵入line <線路號>

· router config 路由配置操作 config模式鍵入router<路由協議>

② 求DOS命令下 怎樣控制路由器

操作網路路由表。
ROUTE [-f] [-p] [-4|-6] command [destination] [MASK netmask] [gateway] [METRIC metric] [IF interface]
-f 清除所有網關項的路由表。如果與某個
命令結合使用,在運行該命令前,
應清除路由表。

-p 與 ADD 命令結合使用時,將路由設置為
在系統引導期間保持不變。默認情況下,重新啟動系統時,
不保存路由。忽略所有其他命令,
這始終會影響相應的永久路由。Windows 95
不支持此選項。

-4 強制使用 IPv4。
-6 強制使用 IPv6。
command 其中之一:
PRINT 列印路由
ADD 添加路由
DELETE 刪除路由
CHANGE 修改現有路由
destination 指定主機。
MASK 指定下一個參數為「網路掩碼」值。
netmask 指定此路由項的子網掩碼值。
如果未指定,其默認設置為 255.255.255.255。
gateway 指定網關。
interface 指定路由的介面號碼。
METRIC 指定躍點數,例如目標的成本。

用於目標的所有符號名都可以在網路資料庫
文件 NETWORKS 中進行查找。用於網關的符號名稱都可以在主機名稱
資料庫文件 HOSTS 中進行查找。

如果命令為 PRINT 或 DELETE。目標或網關可以為通配符,(通配符指定為星號「*」),否則可能會忽略網關參數。
如果 Dest 包含一個 * 或 ?,則會將其視為 Shell 模式,並且只
列印匹配目標路由。「*」匹配任意字元串,
而「?」匹配任意一個字元。示例: 157.*.1、157.*、127.*、*224*。

只有在 PRINT 命令中才允許模式匹配。
診斷信息注釋:
無效的 MASK 產生錯誤,即當 (DEST & MASK) != DEST 時。
示例: > route ADD 157.0.0.0 MASK 155.0.0.0 157.55.80.1 IF 1
路由添加失敗: 指定的掩碼參數無效。
(Destination & Mask) != Destination。

示例:
> route PRINT
> route PRINT -4
> route PRINT -6
> route PRINT 157* .... 只列印那些匹配 157* 的項

> route ADD 157.0.0.0 MASK 255.0.0.0 157.55.80.1 METRIC 3 IF 2
destination^ ^mask ^gateway metric^ ^
Interface^
如果未給出 IF,它將嘗試查找給定網關的最佳
介面。
> route ADD 3ffe::/32 3ffe::1

> route CHANGE 157.0.0.0 MASK 255.0.0.0 157.55.80.5 METRIC 2 IF 2
CHANGE 只用於修改網關和/或躍點數。
> route DELETE 157.0.0.0
> route DELETE 3ffe::/32

這是路由參數,自己看看

③ route add命令添加路由列表

route的命令是手動配置路由表,在本地IP路由表中顯示和修改條目,用不帶參數的routeprint可以查看本地路由表信息,詳細步驟:

1、win+R打開資源管理器輸入:cmd點擊:確定,在cmd裡面輸入:route/?來查看route命令和參數的使用。

④ 如何查看經過路由命令

電腦打開cmd,
輸入tracert 網網站域名 Tracert命令用來顯示數據包到達目標主機所經過的路徑,
並顯示到達每個節點的時間。

⑤ 路由器命令大全

一·CISCO路由器簡介

1.1 CISCO IOS操作環境。
有三種:
ROM monitor > Failure of password recovery
BootROM router(boot) > Flash image upgrade
Cisco IOS router > Normal operation

1.2 Command Modes命令模式。
User EXEC Router> 普通級別
Privileged EXEC Router# 系統管理級別(超級用戶)
Configuration mode Router(config)# 修改配置


二、 配置前的准備工作

2.1 用終端或模擬終端接入CONSOLE口 。

終端或模擬終端配置信息如下:

9600 baud 8 data bits no parity 2 stop bits (9600,8/N/2)

2.2 用TELNET命令在網上進行設置。

系統管理員可在網上用telnet address命令進行遠程配置。

三、 配置IP地址

3.1 config命令行方式進行設置

3.1.1 首先啟動ROUTER 進入router > 模式。

鍵入Enable 進入router # 模式

然後鍵入config 進入router(config)# 模式

3.1.2 選擇要配置的路由器埠

Router(config) # interface埠號

進入埠設置狀態 Router(config-if)

此時用命令IP address <掩碼>

設定路由器埠IP地址

四、 配置ip路由協議 (RIP ,OSPF ,BGP ,STATICS)

在圖中有路由器A和B,廣域網通過router A
的s0/0/0和router B的s2/0/0相連,IP如下:

router A:

E1:202.101.1.1/24

S0/0/0:202.101.3.1/30

router B:

E1:202.101.2.1/24

S2/0/0:202.101.3.2/30

當我們設置路由器協議時,可根據方案的規定設置一種或多種協議。
以下動態協議都是按最簡單設置,復雜的配置可參考具體手冊。

4.1靜態路由

IP route 目的網路地址 子網掩碼 埠號

在router A上配router B的路由:

IP route 202.101.2.0 255.255.255.0 202.101.3.2

在router A上配router B的路由:

IP route 202.101.1.0 255.255.255.0 202.101.3.1

4.2 RIP2設置

router A進行如下設置:

router rip ;enable rip

version 2 ;選擇版本2

network 202.101.1.0 ;相關子網地址

network 202.101.3.0

router B進行如下設置:

router rip ;enable rip

version 2 ;選擇版本2

network 202.101.2.0 ;相關子網地址

network 202.101.3.04.3 OSPF設置

router A:

router ospf 200 ;enable ospf 進程號為200

network 202.101.1.0 0.0.0.255 area 0 ; 相關子網地址及區域號

network 202.101.3.0 0.0.0.3 area 0

router B:

router ospf 200 ;enable ospf 進程號為200

network 202.101.2.0 0.0.0.255 area 0 ; 相關子網地址及區域號

network 202.101.3.0 0.0.0.3 area 04.4 BGP設置

router A:

router bgp 100 ;enable bgp 設置自治域號

network 202.101.3.0 mask 255.255.255.252 ;相關子網地址及子網掩碼

network 202.101.1.0 mask 255.255.255.0 ; 這些地址由bgp發到鄰居路由器

neighbor 202.101.3.2 remote-as 200 ;設置遠程相連自治域邊界路由器埠

router B:

router bgp 100 ;enable bgp 設置自治域號

network 202.101.2.0 mask 255.255.255.252 ;相關子網地址及子網掩碼

network 202.101.1.0 mask 255.255.255.0 ; 這些地址由bgp發到鄰居路由器

neighbor 202.101.3.1 remote-as 200 ;設置遠程相連自治域邊界路由器埠五、 radius認證的設置

5.1 radius的簡述

RADIUS的全稱為(Remote Access Dail-In User Service),它是對遠程撥號用戶訪問進行認證的一種協議。主要進行Authentication Authorization Accounting (AAA) 三方面的工作。

5.2 radius的配置

具體配置如下:

aaa new-mode ;enable radius

radius-server host ;指明radius server在網上的地址

radius-server key ;建立一個網上傳輸密

aaa authentication login default radius local ;進行login認證,若radius server未找到從本地資料庫內查找

aaa authentication ppp default radius local

aaa authorization network radius local ;授權檢測

aaa accounting network start-stop radius ;計帳檢測

六、 路由器軟體升級方法

6.1 改變操作環境

在global config mode設置: config -reg 0x2101

reload 進入Boot Rom 模式:router(boot)>

6.2 運行tftp server

在網上運行tftp server,使升級文件可以傳輸。

6.3 升級版本

命令如下:

tftp flash ;將tftp server上的文件傳入路由器的flash memoy中

flash tftp ; 將flash中的文件備份到tftp server中

七、 路由器配置的其它事項

7.1撥號用戶的配置。

cisco 2509/2511的非同步串列通訊口在配置modem時,modem需設置成自動應答方式。具體方法如下:

用超級終端進入modem AT 命令方式,鍵入ats0=1 設置自動應答方式,然後鍵入at&w 將設置寫入寄存器。

7.2 RIP & BGP的設置

當一個運行RIP路由協議的子網,做為一個自治域,用BGP協議接入另一自治域時。此子網內所有路由器需添加參數: ip classless 。同時在與邊界路由器直接相連的路由器上需添加一個預設網關。

7.3 v.35電纜直連的設置

在相關的埠上設置時鍾速率:clock rate < speed> .

7.4 loopback埠的設置

loopback埠是一個虛擬埠,埠狀態始終處於UP。通過它可以使由BGP相連的AS之間始終保持連系,不會由於邊界路由器埠狀態的改變而發生變化。其具體配置如下:

interface loopback

ip address IP地址 子網掩碼

八、常見問題

8.1如何檢測網路是否通暢?

在網路主機上採用命令ping 來逐端檢測網端。

8.2如何查看路由器配置信息?

在EXEC模式下用show config命令。

8.3如何查看路由器路由信息?

在EXEC模式下用show ip route 命令。

8.4如何查看路由器埠信息?

EXEX模式下用show int <埠號> 命令。

8.5為什麼埠協議已經配置,狀態仍然是down?

在CONFIG模式下,選擇該埠,執行no shutdwon命令。

8.6 config模式有幾種狀態,對應那些操作?

config模式有以下幾種狀態:

· globle config 全局配置操作 exec模式鍵入config t

· interface config 埠配置操作 config模式鍵入int <埠號>

· line config 線路配置操作 config模式鍵入line <線路號>

· router config 路由配置操作 config模式鍵入router<路由協議>

⑥ 路由命令

給個意見,像這樣的問題,至少應該給100分!應該有人寫得出來!

⑦ 電腦查看路由命令

在瀏覽器地址欄輸入192.168.1.1
有的路由器不是這個地址,翻看路由器的底部,一般會有連接路由的方法。

⑧ 路由配置命令

只有CISCO路由器的命令

路由器顯示命令:
router#show run ;顯示配置信息

router#show interface ;顯示介面信息

router#show ip route ;顯示路由信息

router#show cdp nei ;顯示鄰居信息

router#reload ;重新起動
路由器口令設置:
router>enable ;進入特權模式

router#config terminal ;進入全局配置模式

router(config)#hostname ;設置交換機的主機名

router(config)#enable secret xxx ;設置特權加密口令

router(config)#enable password xxb ;設置特權非密口令

router(config)#line console 0 ;進入控制台口

router(config-line)#line vty 0 4 ;進入虛擬終端

router(config-line)#login ;要求口令驗證

router(config-line)#password xx ;設置登錄口令xx

router(config)#(Ctrl+z) ; 返回特權模式

router#exit ;返回命令
路由器配置:
router(config)#int s0/0 ;進入Serail介面

router(config-if)#no shutdown ;激活當前介面

router(config-if)#clock rate 64000 ;設置同步時鍾

router(config-if)#ip address ;設置IP地址

router(config-if)#ip address second ;設置第二個IP

router(config-if)#int f0/0.1 ;進入子介面

router(config-subif.1)#ip address ;設置子介面IP

router(config-subif.1)#encapsulation dot1q ;綁定vlan中繼協議

router(config)#config-register 0x2142 ;跳過配置文件

router(config)#config-register 0x2102 ;正常使用配置文件

router#reload ;重新引導
路由器文件操作:
router# running-config startup-config ;保存配置

router# running-config tftp ;保存配置到tftp

router# startup-config tftp ;開機配置存到tftp

router# tftp flash: ;下傳文件到flash

router# tftp startup-config;下載配置文件
ROM狀態:

Ctrl+Break ;進入ROM監控狀態

rommon>confreg 0x2142 ;跳過配置文件

rommon>confreg 0x2102 ;恢復配置文件

rommon>reset ;重新引導

rommon> xmodem: flash: ;從console傳輸文件
rommon>IP_ADDRESS=10.65.1.2 ;設置路由器IP

rommon>IP_SUBNET_MASK=255.255.0.0 ;設置路由器掩碼

rommon>TFTP_SERVER=10.65.1.1 ;指定TFTP伺服器IP

rommon>TFTP_FILE=c2600.bin ;指定下載的文件

rommon>tftpdnld ;從tftp下載

rommon>dir flash: ;查看快閃記憶體內容

rommon>boot ;引導IOS
靜態路由:
ip route ;命令格式

router(config)#ip route 2.0.0.0 255.0.0.0 1.1.1.2 ;靜態路由舉例

router(config)#ip route 0.0.0.0 0.0.0.0 1.1.1.2 ;默認路由舉例
動態路由:
router(config)#ip routing ;啟動路由轉發

router(config)#router rip ;啟動RIP路由協議。

router(config-router)#network ;設置發布路由

router(config-router)#negihbor ;點對點幀中繼用。
幀中繼命令:
router(config)#frame-relay switching ;使能幀中繼交換

router(config-s0)#encapsulation frame-relay ;使能幀中繼

router(config-s0)#fram-relay lmi-type cisco ;設置管理類型

router(config-s0)#frame-relay intf-type DCE ;設置為DCE

router(config-s0)#frame-relay dlci 16 ;

router(config-s0)#frame-relay local-dlci 20 ;設置虛電路號

router(config-s0)#frame-relay interface-dlci 16 ;

router(config)#log-adjacency-changes ;記錄鄰接變化

router(config)#int s0/0.1 point-to-point ;設置子介面點對點

router#show frame. pvc ;顯示永久虛電路

router#show frame. map ;顯示映射
基本訪問控制列表:
router(config)#access-list permit|deny

router(config)#interface ;default:deny any

router(config-if)#ip access-group in|out ;default:out
例1:

router(config)#access-list 4 permit 10.8.1.1

router(config)#access-list 4 deny 10.8.1.0 0.0.0.255

router(config)#access-list 4 permit 10.8.0.0 0.0.255.255

router(config)#access-list 4 deny 10.0.0.0 0.255.255.255

router(config)#access-list 4 permit any

router(config)#int f0/0

router(config-if)#ip access-group 4 in
擴展訪問控制列表:
access-list permit|deny icmp <DESTINATIONIP

wild>[type]

access-list permit|deny tcp <DESTINATIONIP

wild>[port]

例3:

router(config)#access-list 101 deny icmp any 10.64.0.2 0.0.0.0 echo

router(config)#access-list 101 permit ip any any

router(config)#int s0/0

router(config-if)#ip access-group 101 in

例3:

router(config)#access-list 102 deny tcp any 10.65.0.2 0.0.0.0 eq 80

router(config)#access-list 102 permit ip any any

router(config)#interface s0/1

router(config-if)#ip access-group 102 out
刪除訪問控制例表:
router(config)#no access-list 102

router(config-if)#no ip access-group 101 in
路由器的nat配置
Router(config-if)#ip nat inside ;當前介面指定為內部介面

Router(config-if)#ip nat outside ;當前介面指定為外部介面

Router(config)#ip nat inside source static [p] <私有IP><公網IP> [port]

Router(config)#ip nat inside source static 10.65.1.2 60.1.1.1

Router(config)#ip nat inside source static tcp 10.65.1.3 80 60.1.1.1 80

Router(config)#ip nat pool p1 60.1.1.1 60.1.1.20 255.255.255.0

Router(config)#ip nat inside source list 1 pool p1

Router(config)#ip nat inside destination list 2 pool p2

Router(config)#ip nat inside source list 2 interface s0/0 overload

Router(config)#ip nat pool p2 10.65.1.2 10.65.1.4 255.255.255.0 type rotary

Router#show ip nat translation

rotary 參數是輪流的意思,地址池中的IP輪流與NAT分配的地址匹配。

overload參數用於PAT 將內部IP映射到一個公網IP不同的埠上。
外部網關協議配置:
routerA(config)#router bgp 100

routerA(config-router)#network 19.0.0.0

routerA(config-router)#neighbor 8.1.1.2 remote-as 200
配置PPP驗證:
RouterA(config)#username password

RouterA(config)#int s0

RouterA(config-if)#ppp authentication {chap|pap}
3.PIX防火牆命令
Pix525(config)#nameif ethernet0 outside security0 ;命名介面和級別

Pix525(config)#interface ethernet0 auto ;設置介面方式

Pix525(config)#interface ethernet1 100full ;設置介面方式

Pix525(config)#interface ethernet1 100full shutdown

Pix525(config)#ip address inside 192.168.0.1 255.255.255.0

Pix525(config)#ip address outside 133.0.0.1 255.255.255.252
Pix525(config)#global (if_name) natid ip-ip ;定義公網IP區間

Pix525(config)#global (outside) 1 7.0.0.1-7.0.0.15 ;例句

Pix525(config)#global (outside) 1 133.0.0.1 ;例句

Pix525(config)#no global (outside) 1 133.0.0.1 ;去掉設置
Pix525(config)#nat (if_name) nat_id local_ip [netmark]

Pix525(config)#nat (inside) 1 0 0

內網所有主機(0代表0.0.0.0)可以訪問global 1指定的外網。

Pix525(config)#nat (inside) 1 172.16.5.0 255.255.0.0

內網172.16.5.0/16網段的主機可以訪問global 1指定的外網。
Pix525(config)#route if_name 0 0 gateway_ip [metric] ;命令格式

Pix525(config)#route outside 0 0 133.0.0.1 1 ;例句

Pix525(config)#route inside 10.1.0.0 255.255.0.0 10.8.0.1 1 ;例句
Pix525(config)#static (inside, outside) 133.0.0.1 192.168.0.8

表示內部ip地址192.168.0.8,訪問外部時被翻譯成133.0.0.1全局地址。
Pix525(config)#static (dmz, outside) 133.0.0.1 172.16.0.8

中間區域ip地址172.16.0.8,訪問外部時被翻譯成133.0.0.1全局地址

⑨ 怎麼用命令進路由

首先你要知道路由器的IP地址,其次是開了23埠,默認是23,如果路由器IP是192.168.1.1,在CMD下,輸入 telnet 192.168.1.1如果提示輸入帳戶密碼就OK了。

⑩ 路由器里的常用命令

路由器常用的命令如下:

1、Router>(用戶模式)、Router>enable (進入特權模式)、Router#(特權模式) 、Router#configure terminal(進入全局配置模式) 、Router(config)# (全局配置模式) 。

2、Router(config)#hostnameXXX (設置路由器主機名) 、Router(config)#enable password 123(設置特權非密口令) 、Router(config)#enable secret123 (設置特權加密口令) 。

3、Router(config)#interface f0/6 (進入埠配置模式 ) 、Router(config-if)# (埠配置模式) 、Router(config)#line consode 0 (進入控制台埠)。

4、Router(config)#line vty 0 4(進入虛擬終端配置模式) 、Router(config- line)# (虛擬終端配置模式) 、Router(config)#router rip (進入rip路由協議配置模式)。

5、Router(config-router) ( rip路由協議配置模式)、Router(config-router)network 159.105.0.0(設置參與RIP協議的網路地址,不支持可變長掩碼,只有IP網路號)。

6、Router(config)#router ospf 63(進入ospf路由協議配置模式)、Router(config-router) # (ospf路由協議配置模式)。

7、Router#write memory(保存配置到路由器的NVRAM中) 、Router#write network tftp (保存配置到 TFTP伺服器中)。

(10)命令路由擴展閱讀:

路由器原理:

路由器通過路由決定數據的轉發。轉發策略稱為路由選擇(routing),這也是路由器名稱的由來(router,轉發者)。

作為不同網路之間互相連接的樞紐,路由器系統構成了基於TCP/IP 的國際互聯網路Internet的主體脈絡,也可以說,路由器構成了Internet的骨架。它的處理速度是網路通信的主要瓶頸之一,它的可靠性則直接影響著網路互連的質量。

閱讀全文

與命令路由相關的資料

熱點內容
田英章楷書pdf 瀏覽:200
為什麼zar找不到解壓文件 瀏覽:119
mud手機app源碼 瀏覽:180
app怎麼查看自己的主域名 瀏覽:639
歐洲銀行加密幣市場 瀏覽:859
linuxc編程高級 瀏覽:733
python解碼vip視頻 瀏覽:594
醜陋的中國人pdf 瀏覽:717
我的世界如何在伺服器裡面裝模組 瀏覽:624
javaweb進銷存源碼下載 瀏覽:557
單片機遙控門鈴設計圖解 瀏覽:324
閃送app怎麼更改照片 瀏覽:160
公司的程序員開始忙了 瀏覽:507
統信系統命令行如何輸漢字 瀏覽:281
java隨機取數組 瀏覽:478
伺服器匆忙什麼意思 瀏覽:780
windows下載文件命令 瀏覽:101
紹興加密防偽技術 瀏覽:54
linux清除緩存的命令 瀏覽:779
樑柱連接處梁的加密箍筋 瀏覽:103