您好,登錄后才能下訂單哦!
dis isis peer '//查看isis鄰居關系'
dis isis 1 brief '//查看isis接口的明細'
dis isis interface g0/0/1 '//查看接口isis詳情'
[Huawei] isis 1 '//isis 后面跟進程。默認不加就是1進程'
[Huawei-isis-1] network-entity 49.0001.0010.0100.1001.00 '//補足三位,然后4位分割'
[Huawei-isis-1] is-level level-1 '//根據網絡結構配置IS-IS路由類型,這邊有路由器類型'
[Huawei-isis-1] int g0/0/1 '//進接口'
[Huawei-g0/0/1] isis enable '//啟動ISIS'
isis 1
import-route rip 1 lever-1 '//引入后變成L1信息 默認值'
rip 1
import-route isis 1 cost 5 '//對于rip的度量值是跳數 '
isis 1
import-route isis level-2 into level-1 '//華為手冊這個叫路由泄露'
isis 1
summary 202.0.0.0 255.255.254.0 level-1-2 '//ABR匯總:域間路由匯總'
isis 1
summary 203.0.0.0 255.255.254.0 level-1 '//ASBR匯總:不同協議間的路由匯總'
<huawei>sys
[huawei]sysname R1
[R1]int g0/0/0 //進接口
[R1-GigabitEthernet0/0/0]ip add 16.0.0.1 30 //添加IP地址
[R1-GigabitEthernet0/0/0]un sh //保存
[R1-GigabitEthernet0/0/0]q //退出
[R1]int g0/0/1 //進接口
[R1-GigabitEthernet0/0/1]ip add 12.0.0.1 30 //添加IP地址
[R1-GigabitEthernet0/0/1]un sh //保存
[R1-GigabitEthernet0/0/1]q //退出
[R1]int loo 0
[R1-LoopBack0]ip add 1.1.1.1 32
[R1-LoopBack0]q
[R1]isis 1
[R1-isis-1] is-level level-1 //將路由器isis等級設置L1
[R1-isis-1] network-entity 49.0001.0010.0100.1001.00 //宣告IP地址
[R1-isis-1] q
[R1]int g0/0/0 //進接口
[R1-GigabitEthernet0/0/0]isis enable //開始isis
[R1]int g0/0/1
[R1-GigabitEthernet0/0/0]isis enable
[R1]int loo 0
[R1-LoopBack0]isis enable
rip 1 //進入rip進程
undo summary //關閉路由匯總
version 2 //選擇版本2
network 16.0.0.0 //宣告網段
<huawei>sys
[huawei]sysname R2
[R2]int g0/0/0 //進接口
[R2-GigabitEthernet0/0/0]ip add 23.0.0.1 30 //添加IP地址
[R2-GigabitEthernet0/0/0]un sh //保存
[R2-GigabitEthernet0/0/0]q //退出
[R2]int g0/0/1 //進接口
[R2-GigabitEthernet0/0/1]ip add 12.0.0.2 30 //添加IP地址
[R2-GigabitEthernet0/0/1]un sh //保存
[R2-GigabitEthernet0/0/1]q //退出
[R2]int loo 0
[R2-LoopBack0]ip add 2.2.2.2 32
[R2-LoopBack0]q
[R2]isis 1
[R2-isis-1] network-entity 49.0001.0020.0200.2002.00 //宣告IP地址
[R2isis-1] q
[R2]int g0/0/0 //進接口
[R2-GigabitEthernet0/0/0]isis enable //開啟isis
[R2]int g0/0/1
[R2-GigabitEthernet0/0/0]isis enable
[R2]int loo 0
[R2-LoopBack0]isis enable
<huawei>sys
[huawei]sysname R3
[R3]int g0/0/0 //進接口
[R3-GigabitEthernet0/0/0]ip add 23.0.0.2 30 //添加IP地址
[R3-GigabitEthernet0/0/0]un sh //保存
[R3-GigabitEthernet0/0/0]q //退出
[R3]int g0/0/1 //進接口
[R3-GigabitEthernet0/0/1]ip add 34.0.0.1 30 //添加IP地址
[R3-GigabitEthernet0/0/1]un sh //保存
[R3-GigabitEthernet0/0/1]q //退出
[R3]int loo 0
[R3-LoopBack0]ip add 3.3.3.3 32
[R3-LoopBack0]q
[R3]isis 1
[R3-isis-1] is-level level-2 //將路由器isis等級設置L2
[R3-isis-1] network-entity 49.0000.0030.0300.3003.00 //宣告IP地址
[R3-isis-1] q
[R3]int g0/0/0 //進接口
[R3-GigabitEthernet0/0/0]isis enable //開啟isis
[R3]int g0/0/1
[R3-GigabitEthernet0/0/0]isis enable
[R3]int loo 0
[R3-LoopBack0]isis enable
<huawei>sys
[huawei]sysname R4
[R4]int g0/0/0
[R4-GigabitEthernet0/0/0] ip add 45.0.0.1 30
[R4-GigabitEthernet0/0/0] un sh
[R4-GigabitEthernet0/0/0]int g0/0/1
[R4-GigabitEthernet0/0/1] ip add 34.0.0.2 30
[R4-GigabitEthernet0/0/1] un sh
[R4-GigabitEthernet0/0/1] q
[R4]int loo0
[R4-LoopBack0] ip address 4.4.4.4 32
[R4-LoopBack0] q
[R4]isis 1
[R4-isis-1] network-entity 49.0002.0040.0400.4004.00 '//宣告IP地址'
[R4-isis-1] q
[R4]int g0/0/0 //進接口
[R4-GigabitEthernet0/0/0]isis enable //開啟isis
[R4]int g0/0/1
[R4-GigabitEthernet0/0/0]isis enable
[R4]int loo 0
[R4-LoopBack0]isis enable
<huawei>sys
[huawei]sysname R5
[R5] int g0/0/0
[R5-GigabitEthernet0/0/0]ip add 45.0.0.2 30
[R5-GigabitEthernet0/0/0]un sh
[R5-GigabitEthernet0/0/0]q
[R5]int loo 0
[R5-LoopBack0] ip add 5.5.5.5 32
[R5-LoopBack0] q
[R5]int loo 1
[R5-LoopBack1] ip add202.0.0.1 24
[R5-LoopBack1] q
[R5]int loo 2
[R5-LoopBack2] ip add 202.0.1.1 24
[R5-LoopBack2]q
[R5]isis 1
[R5-isis-1] is-level level-1 //將路由器isis等級設置L1
[R5-isis-1] network-entity 49.0002.0050.0500.5005.00 //宣告IP地址
[R5-isis-1] q
[R5] int g0/0/0 //進接口
[R5-GigabitEthernet0/0/0] isis enable //開啟isis
[R5]int loo 0
[R5-LoopBack0]isis enable
[R5]int loo 1
[R5-LoopBack1]isis enable
[R5]int loo 2
[R5-LoopBack2]isis enable
<huawei>sys
[huawei]sysname R6
[R6] int g0/0/0
[R6-GigabitEthernet0/0/0]ip add 16.0.0.2 30
[R6-GigabitEthernet0/0/0]un sh
[R6-GigabitEthernet0/0/0]q
[R6]int loo 0
[R6-LoopBack0] ip add 6.6.6.6 32
[R6-LoopBack0] q
[R6]int loo 1
[R6-LoopBack1] ip add203.0.0.1 24
[R6-LoopBack1] q
[R6]int loo 2
[R6-LoopBack2] ip add 203.0.1.1 24
[R6-LoopBack2]q
rip 1 //進入rip進程
undo summary //關閉路由匯總
version 2 //選擇版本2
network 16.0.0.0 //宣告網段
network 6.0.0.0
network 203.0.0.0
network 203.0.1.0
[R1]rip 1
[R1-rip-1]import-route isis 1 cost 5 '//將rip注入到isis中'
[R1-rip-1]q
[R1]isis 1
[R1-isis-1]import-route rip 1 level-1 '//將isis注入到rip中'
[R1-isis-1]import-route rip level-2
[R1-isis-1]import-route rip level-1-2
[R2]isis 1
[R2-isis-1]import-route isis level-2 into level-1 //將isisL2的信息泄露成L1的信息
[R4]isis
[R4-isis-1]import-route isis level-2 into level-1
[R4]isis
[R4-isis-1]summary 202.0.0.0 255.255.254.0 level-1-2
[R1]isis
[R1-isis-1]summary 203.0.0.0 255.255.254.0 level-1
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。