在華爲eNSP上靜態路由的配置拓撲

1、靜態路由的配置拓撲

2、配置設備

  1. 配置設備

1進入系統視圖:system-view

 

2配置設備名稱:sysname 名稱

(3進入接口視圖:interface 接口類型 接口編號

 

4配置IP地址:ip address ip地址 子網掩碼

  以AR4爲例進行說明(其餘路由器自行配置):

  AR4配置:

The device is running!

<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname AR4
[AR4]interface 
Apr  8 2020 19:49:55-08:00 AR4 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 1, the c
hange loop count is 0, and the maximum number of records is 4095.
               ^
Error:Incomplete command found at '^' position.
[AR4]interface s0/0/0
[AR4-Serial0/0/0]ip address 10.0.14.4 255.255.255.248
[AR4-Serial0/0/0]
Apr  8 2020 19:51:15-08:00 AR4 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 2, the c
hange loop count is 0, and the maximum number of records is 4095.
[AR4-Serial0/0/0]
<AR4>save
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y
Info: Please input the file name ( *.cfg, *.zip ) [vrpcfg.zip]:
Apr  8 2020 19:51:26-08:00 AR4 %%01CFM/4/SAVE(l)[0]:The user chose Y when decidi
ng whether to save the configuration to the device.
Now saving the current configuration to the slot 17.
Save the configuration successfully.
<AR4>

3、檢驗連通性

AR1與AR4(成功)

AR1與AR2、AR3(成功)

AR4與AR2、AR3(失敗)

4、解決方法

通過配置AR4與AR2、AR3靜態路由的方法來建立聯繫(必須相互配置)。

配置靜態路由

ip route-static IP地址 {子網掩碼|掩碼長度} {下一跳地址|接口類型 接口編號 [下一跳地址]}

配置AR4與AR2靜態路由:

檢驗連通(成功):

配置AR4與AR3靜態路由(省略),並且檢驗連通性(成功):

查看AR1中路由條目:display ip routing-table

 

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章