要求:R1-R2-R3-R4-R5 RIP 100运行版本2 R6-R7 RIP 200 运行版本1 1.使用合理IP地址规划网络,各自创建环回接口 2.R1创建环回 172.16.1.1/24 172.16.2.1/24 172.16.3.1/24 3.要求R3使用R2访问R1环回 4.减少路由条目数量,R1-R2之间增加路由传递安全性 5.R5创建一个环回模拟运营商,不能通告 6.R1 telnet R2环回实际telnet 到R7上 7.R6-R7路由器不能学习到达R1环回路由 8.全网可达
r1配置
[r1]dis current-configuration
[V200R003C00]
#
sysname r1
#
snmp-agent local-engineid 800007DB03000000000000
snmp-agent
#
clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load flash:/portalpage.zip
#
drop illegal-mac alarm
#
wlan ac-global carrier id other ac id 0
#
set cpu-usage threshold 80 restore 75
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
local-user admin service-type http
#
firewall zone Local
priority 15
#
interface GigabitEthernet0/0/0
ip address 172.16.0.1 255.255.255.252
rip authentication-mode md5 nonstandard cipher %$%$\k1MIfkReO@WL_~QvbWB:O~{%$%$ 5
#
interface GigabitEthernet0/0/1
ip address 172.16.0.14 255.255.255.252
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
interface LoopBack0
ip address 172.16.1.1 255.255.255.0
#
interface LoopBack1
ip address 172.16.2.1 255.255.255.0
#
interface LoopBack2
ip address 172.16.3.1 255.255.255.0
#
rip 100
version 2
network 172.16.0.0
#
user-interface con 0
authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
#
wlan ac
#
return
[r1]
r2配置
<r2>dis current-configuration
[V200R003C00]
#
sysname r2
#
snmp-agent local-engineid 800007DB03000000000000
snmp-agent
#
clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load flash:/portalpage.zip
#
drop illegal-mac alarm
#
wlan ac-global carrier id other ac id 0
#
set cpu-usage threshold 80 restore 75
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user xx password cipher %$%$*5`d<Bl(v:F/m(5dn-%%=:[4%$%$
local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
local-user admin service-type http
#
firewall zone Local
priority 15
#
interface GigabitEthernet0/0/0
ip address 172.16.0.2 255.255.255.252
rip authentication-mode md5 nonstandard cipher %$%$(.PDAE1dI9Z,iU$/.|g1:SM+%$%$ 5
nat server protocol tcp global 172.16.4.2 telnet inside 172.16.9.1 telnet
#
interface GigabitEthernet0/0/1
ip address 172.16.0.5 255.255.255.252
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
interface LoopBack0
ip address 172.16.4.1 255.255.255.0
#
rip 100
version 2
network 172.16.0.0
#
user-interface con 0
authentication-mode password
user-interface vty 0
authentication-mode aaa
user-interface vty 1 4
user-interface vty 16 20
#
wlan ac
#
return
r3配置
<r3>dis current-configuration
[V200R003C00]
#
sysname r3
#
snmp-agent local-engineid 800007DB03000000000000
snmp-agent
#
clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load flash:/portalpage.zip
#
drop illegal-mac alarm
#
wlan ac-global carrier id other ac id 0
#
set cpu-usage threshold 80 restore 75
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
local-user admin service-type http
#
firewall zone Local
priority 15
#
interface GigabitEthernet0/0/0
ip address 172.16.0.6 255.255.255.252
#
interface GigabitEthernet0/0/1
ip address 172.16.0.9 255.255.255.252
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
interface LoopBack0
ip address 172.16.5.1 255.255.255.0
#
rip 100
version 2
network 172.16.0.0
#
user-interface con 0
authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
#
wlan ac
#
return
r4配置
<r4>dis current-configuration
[V200R003C00]
#
sysname r4
#
board add 0/4 4GET
#
snmp-agent local-engineid 800007DB03000000000000
snmp-agent
#
clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load flash:/portalpage.zip
#
drop illegal-mac alarm
#
wlan ac-global carrier id other ac id 0
#
set cpu-usage threshold 80 restore 75
#
acl number 2000
rule 5 permit source 172.16.1.0 0.0.0.255
rule 10 permit source 172.16.2.0 0.0.0.255
rule 15 permit source 172.16.3.0 0.0.0.255
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
local-user admin service-type http
#
firewall zone Local
priority 15
#
interface GigabitEthernet0/0/0
ip address 172.16.0.10 255.255.255.252
rip metricout 2000 5
#
interface GigabitEthernet0/0/1
ip address 172.16.0.13 255.255.255.252
#
interface GigabitEthernet0/0/2
ip address 172.16.0.17 255.255.255.252
#
interface GigabitEthernet4/0/0
ip address 172.16.0.21 255.255.255.252
rip metricout 2000 15
#
interface GigabitEthernet4/0/1
#
interface GigabitEthernet4/0/2
#
interface GigabitEthernet4/0/3
#
interface NULL0
#
interface LoopBack0
ip address 172.16.6.1 255.255.255.0
#
rip 100
default-route originate
version 2
network 172.16.0.0
#
ip route-static 0.0.0.0 0.0.0.0 172.16.0.18
#
user-interface con 0
authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
#
wlan ac
#
return
r5配置
<r5>dis current-configuration
[V200R003C00]
#
sysname r5
#
snmp-agent local-engineid 800007DB03000000000000
snmp-agent
#
clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load flash:/portalpage.zip
#
drop illegal-mac alarm
#
wlan ac-global carrier id other ac id 0
#
set cpu-usage threshold 80 restore 75
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
local-user admin service-type http
#
firewall zone Local
priority 15
#
interface GigabitEthernet0/0/0
ip address 172.16.0.18 255.255.255.252
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
interface LoopBack0
ip address 172.16.7.1 255.255.255.0
#
ip route-static 0.0.0.0 0.0.0.0 172.16.0.17
#
user-interface con 0
authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
#
wlan ac
#
return
r6配置
<r6>dis current-configuration
[V200R003C00]
#
sysname r6
#
snmp-agent local-engineid 800007DB03000000000000
snmp-agent
#
clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load flash:/portalpage.zip
#
drop illegal-mac alarm
#
wlan ac-global carrier id other ac id 0
#
set cpu-usage threshold 80 restore 75
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
local-user admin service-type http
#
firewall zone Local
priority 15
#
interface GigabitEthernet0/0/0
ip address 172.16.0.22 255.255.255.252
rip version 2 multicast
#
interface GigabitEthernet0/0/1
ip address 172.16.0.25 255.255.255.252
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
interface LoopBack0
ip address 172.16.8.1 255.255.255.0
#
rip 200
version 1
network 172.16.0.0
#
user-interface con 0
authentication-mode password
user-interface vty 0 4
user-interface vty 16 20
#
wlan ac
#
return
r7配置
<r7>dis current-configuration
[V200R003C00]
#
sysname r7
#
snmp-agent local-engineid 800007DB03000000000000
snmp-agent
#
clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load flash:/portalpage.zip
#
drop illegal-mac alarm
#
wlan ac-global carrier id other ac id 0
#
set cpu-usage threshold 80 restore 75
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
local-user admin service-type http
local-user huawei password cipher %$%${Hv@HgG(~Y5D/w@H'=x:=,(q%$%$
#
firewall zone Local
priority 15
#
interface GigabitEthernet0/0/0
ip address 172.16.0.26 255.255.255.252
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
interface LoopBack0
ip address 172.16.9.1 255.255.255.0
#
rip 200
version 1
network 172.16.0.0
#
user-interface con 0
authentication-mode password
user-interface vty 0
authentication-mode aaa
user-interface vty 1 4
user-interface vty 16 20
#
wlan ac
#
return