欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

H3C ISIS重分布路由实验

程序员文章站 2024-03-20 22:36:46
...

ISIS

常用命令

dis isis peer查看邻居
dis ip routing-table	
dis isis lsdb 查看isis数据库
dis isis lsdb  verbose 

配置

拓扑图

H3C ISIS重分布路由实验

ip地址

设备名称 接口 IP地址 网关
PCA 192.168.0.1/24 192.168.0.254
PCB 192.168.2.1/24 192.168.2.254
RTA G0/0 192.168.0.254/24
S1/0 192.168.1.1/30
RTB G0/0 192.168.2.254/24
S1/0 192.168.1.2/30

30=252
255.255.255.252

24=0
255.255.255.0

代码

RTA

<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C]hostname RTA
[RTA]int g0/0
[RTA-GigabitEthernet0/0]ip address 192.168.0.254 255.255.255.0
[RTA-GigabitEthernet0/0]no shutdown
[RTA-GigabitEthernet0/0]exit
[RTA]int s1/0
[RTA-Serial1/0]ip address 192.168.1.1 255.255.255.252
[RTA-Serial1/0]no shutdown
[RTA-Serial1/0]exit
[RTA]isis
[RTA-isis-1]network-entity 10.0000.0000.0001.00
[RTA-isis-1]is-level level-1
[RTA-isis-1]quit
[RTA]int s1/0
[RTA-Serial1/0] isis enable 1
[RTA-Serial1/0]quit
[RTA]int g0/0
[RTA-GigabitEthernet0/0]isis enable 1
[RTA-GigabitEthernet0/0]quit
[RTA]

RTB


<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C]hostname RTB
[RTB]isis
[RTB-isis-1]network-entity 10.0000.0000.0002.00
[RTB-isis-1]is-level level-1
[RTB-isis-1]quit
    
[RTB]int s1/0
[RTB-Serial1/0]isis enable 1
[RTB-Serial1/0]quit
[RTB-Serial1/0]ip address 192.168.1.2 255.255.255.252
[RTB-Serial1/0]no shutdown
[RTB-Serial1/0]exit
[RTB]
[RTB]int g0/0
[RTB-GigabitEthernet0/0]isis enable 1
[RTB-GigabitEthernet0/0]quit
[RTB-GigabitEthernet0/0]ip address  192.168.2.254 255.255.255.0
[RTB-GigabitEthernet0/0]no shutdown
[RTB-GigabitEthernet0/0]exit

查看基本信息

rta

dis isis brief

rtb

dis isis brief

测试

pc3 ping pc4

 ping  192.168.2.1

H3C ISIS重分布路由实验