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进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。