本文记录一下华为RIP协议的简单配置

CLINET1:

IP:192.168.1.10

掩码:255.255.255.0

网关:192.168.1.1

CLINET2:

IP:192.168.2.10

掩码:255.255.255.0

网关:192.168.2.1

用到的网段有:

  • 192.168.1.0/24

  • 192.168.2.0/24

  • 192.168.5.0/24

  • 192.168.6.0/24

enter description here

配置接口IP:

[AR1]配置命令如下——————————————————————- »


<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]sysname AR1

[AR1]int

Nov? 6 2015 11:33:00-05:13 AR1 %%01IFPDT/4/IF_STATE(l)[0]:Interface GigabitEthern

et0/0/1 has turned into UP state.

[AR1]int G0/0/0

[AR1-GigabitEthernet0/0/0]ip add 192.168.1.1 24

[AR1-GigabitEthernet0/0/0]

Nov? 6 2015 11:33:27-05:13 AR1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP

on the interface GigabitEthernet0/0/0 has entered the UP state.

[AR1-GigabitEthernet0/0/0]int g0/0/1

[AR1-GigabitEthernet0/0/1]ip add 192.168.5.1 24

[AR1-GigabitEthernet0/0/1]

Nov? 6 2015 11:34:19-05:13 AR1 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP

on the interface GigabitEthernet0/0/1 has entered the UP state.

[AR1-GigabitEthernet0/0/1]

[AR1-GigabitEthernet0/0/1]q

[AR1]rip

[AR1-rip-1]version 1

[AR1-rip-1]network 192.168.5.0

[AR1-rip-1]network 192.168.1.0

[AR2]配置命令如下——————————————————————- »

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]sysname AR2

[AR2]int g0/0/0

[AR2-GigabitEthernet0/0/0]ip add 192.168.5.2 24

[AR2-GigabitEthernet0/0/0]

Nov? 6 2015 11:34:41-05:13 AR2 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP

on the interface GigabitEthernet0/0/0 has entered the UP state.

[AR2-GigabitEthernet0/0/0]int g0/0/1

[AR2-GigabitEthernet0/0/1]ip add 192.168.6.1 24

[AR2-GigabitEthernet0/0/1]

Nov? 6 2015 11:34:54-05:13 AR2 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP

on the interface GigabitEthernet0/0/1 has entered the UP state.

[AR2-GigabitEthernet0/0/1]

[AR2-GigabitEthernet0/0/1]q

[AR2-rip-1]version 1

[AR2-rip-1]network 192.168.5.0

[AR2-rip-1]network 192.168.6.0

[AR3]配置命令如下——————————————————————- »


<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]sysname AR3

[AR3]int G0/0/0

[AR3-GigabitEthernet0/0/0]ip add 192.168.6.2 24

[AR3-GigabitEthernet0/0/0]

Nov? 6 2015 11:35:20-05:13 AR3 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP

on the interface GigabitEthernet0/0/0 has entered the UP state.

[AR3-GigabitEthernet0/0/0]int G0/0/1

[AR3-GigabitEthernet0/0/1]ip add 192.168.2.1 24

[AR3]rip

[AR3-rip-1]version 1

[AR3-rip-1]network 192.168.6.0

[AR3-rip-1]

[AR3-rip-1]network 192.168.2.0

配置结果:

enter description here

实验链接:http://pan.baidu.com/s/1dDhVMxj 密码:xfnv