RIP实例Word格式文档下载.docx
- 文档编号:6205309
- 上传时间:2023-05-06
- 格式:DOCX
- 页数:27
- 大小:381.27KB
RIP实例Word格式文档下载.docx
《RIP实例Word格式文档下载.docx》由会员分享,可在线阅读,更多相关《RIP实例Word格式文档下载.docx(27页珍藏版)》请在冰点文库上搜索。
dropillegal-macalarm
diffservdomaindefault
drop-profiledefault
aaa
authentication-schemedefault
authorization-schemedefault
accounting-schemedefault
domaindefault
domaindefault_admin
local-useradminpasswordsimpleadmin
local-useradminservice-typehttp
interfaceVlanif1
interfaceVlanif10
ipaddress10.0.0.2255.255.255.0
interfaceVlanif11
ipaddress10.0.1.2255.255.255.0
interfaceVlanif12
ipaddress10.0.2.2255.255.255.0
interfaceVlanif13
ipaddress10.0.3.2255.255.255.0
interfaceVlanif14
ipaddress10.1.0.2255.255.255.0
interfaceMEth0/0/1
interfaceGigabitEthernet0/0/1
portlink-typetrunk
porttrunkallow-passvlan10to14
interfaceNULL0
rip1
undosummary
version2
network10.0.0.0
import-routedirect
user-interfacecon0
user-interfacevty04
return
AR1配置(增加配置):
[V200R003C00]
boardadd0/22SA
snmp-agentlocal-engineid800007DB03000000000000
snmp-agent
clocktimezoneChina-Standard-Timeminus08:
00:
00
portallocal-serverloadportalpage.zip
dropillegal-macalarm
setcpu-usagethreshold80restore75
aaa
domaindefault
domaindefault_admin
local-useradminpasswordcipher%$%$K8m.Nt84DZ}e#<
0`8bmE3Uw}%$%$
firewallzoneLocal
priority15
ipaddress10.0.0.1255.255.255.0
ipaddress10.0.1.1255.255.255.0
ipaddress10.0.2.1255.255.255.0
ipaddress10.0.3.1255.255.255.0
ipaddress10.1.0.1255.255.255.0
interfaceEthernet0/0/0
interfaceSerial2/0/0
link-protocolfr
undofrinarp
frmapip192.168.1.2102broadcast
ipaddress192.168.1.1255.255.255.0
ripsummary-address10.0.0.0255.255.0.0avoid-feedback#R1已将网络10.X.X.0/24引入RIP,但是向R2仅发送一条10.0.0.0/16汇总路由,请用最少配置命令,确保该聚合不能再通过接口S0/0/0学到。
●通过指定avoid-feedback关键字,本接口将不再学习到和已发布的聚合IP地址相同的聚合路由,从而可以起到防止产生路由环路的作用。
●filter-policyexport
命令用来配置全局、协议、接口的出口过滤策略,只有通过过滤的路由才能被加入其路由表中,并通过更新报文发布出去。
interfaceSerial2/0/1
link-protocolppp
interfaceGigabitEthernet0/0/0
peer192.168.1.2#R1只有接口S0/0/0运行RIP,R1通过单播发送更新报文;
network192.168.1.0
silent-interfaceSerial2/0/0#R1只有接口S0/0/0运行RIP,R1通过单播发送更新报文;
●通常情况下,peer命令会造成对端同时收到同一报文的组播(或广播)和单播两种形式报文。
因此建议在配置该命令的同时,将相关接口改为被动(silent)模式。
这样,发送的报文只有单播报文。
filter-policyip-prefix1import#R1只接收172.16.0.0/24、172.16.1.0/24、172.16.2.0/24和172.16.3.0/24这四条路由;
filter-policyip-prefix2exportdirect#R1已将网络10.X.X.0/24引入RIP,但是向R2仅发送一条10.0.0.0/16汇总路由,请用最少配置命令,确保该聚合不能再通过接口S0/0/0学到。
ipip-prefix1index10permit172.16.0.022greater-equal24less-equal24#R1只接收172.16.0.0/24、172.16.1.0/24、172.16.2.0/24和172.16.3.0/24这四条路由;
ipip-prefix2index10permit10.0.0.022greater-equal24less-equal24#R1已将网络10.X.X.0/24引入RIP,但是向R2仅发送一条10.0.0.0/16汇总路由,请用最少配置命令,确保该聚合不能再通过接口S0/0/0学到。
authentication-modepassword
user-interfacevty1620
wlanac
Return
FRSW1配置:
AR2配置:
[V200R003C00]
ipaddress172.16.0.1255.255.255.0
ipaddress172.16.1.1255.255.255.0
ipaddress172.16.2.1255.255.255.0
ipaddress172.16.3.1255.255.255.0
ipaddress172.16.4.1255.255.255.0
frmapip192.168.1.1201broadcast
ipaddress192.168.1.2255.255.255.0
peer192.168.1.1
network172.16.0.0
LSW1配置:
sysnameHuawei
ipaddress172.16.0.2255.255.255.0
ipaddress172.16.1.2255.255.255.0
ipaddress172.16.2.2255.255.255.0
ipaddress172.16.3.2255.255.255.0
ipaddress172.16.4.2255.255.255.0
测试结果
需求一:
<
AR1>
terminalmonitor
Info:
Currentterminalmonitorison.
terminaldebugging
Currentterminaldebuggingison.
displaydebugging
debuggingrip1sendSerial2/0/0
Mar17201715:
01:
05.752.1-08:
00AR1RIP/7/DBG:
6:
13456:
RIP1:
Sendingrespons
eoninterfaceSerial2/0/0from192.168.1.1to192.168.1.2
05.752.2-08:
13476:
Packet:
Version2,Cmd
response,Length104
05.752.3-08:
13546:
Dest172.16.0.0/24,Ne
xthop0.0.0.0,Cost2,Tag0
05.752.4-08:
Dest172.16.1.0/24,Ne
。
undoterminaldebugging
Currentterminaldebuggingisoff.
undoterminalmonitor
Currentterminalmonitorisoff.
Debug命令测试
debuggingipicmp
12:
39.442.1-08:
00AR1IP/7/debug_icmp:
ICMPReceive:
echo(Type=2048,Code=0),Src=2.1.168.192,Dst=1.1.0.10,ICMPI
d=0xabd9,ICMPSeq=256
39.442.2-08:
ICMPSend:
echo-reply(Type=0,Code=0),Src=1.1.0.10,Dst=2.1.168.192,ICMPI
39.932.1-08:
d=0xabd9,ICMPSeq=512
39.932.2-08:
40.432.1-08:
d=0xabd9,ICMPSeq=768
40.442.1-08:
40.942.1-08:
d=0xabd9,ICMPSeq=1024
40.942.2-08:
41.422.1-08:
d=0xabd9,ICMPSeq=1280
41.432.1-08:
需求二:
需求三:
实例2
公司C网络运行RIPv2,拓扑如下图所示。
现公司C对网络有具体需求,需求如下:
●要求一:
要求全网配置较强的华为特有认证模式,密码为huawei,以保证网络的安全;
●要求二:
R1只接收172.16.X.0/24网段地址中第24位为1的网络,禁止使用前缀列表,且最少命令;
●要求三:
全网路由发送RIP广播更新
●要求全网配置较强的华为特有认证模式,密码为Huawei,以保证网络的安全;
●R1只接收172.16.X.0/24网段地址中第24位为1的网络,禁止使用前缀列表,且最少命令;
●全网路由发送RIP广播更新
AR1配置
sysnameAR1
aclnumber2000
rule5permitsource172.16.1.00.0.254.255#R1只接收172.16.X.0/24网段地址中第24位为1的网络,禁止使用前缀列表,且最少命令;
ripauthentication-modemd5usualcipherhuawei#要求全网配置较强的华为特有认证模式,密码为huawei,以保证网络的安全;
ripversion2broadcast#全网路由发送RIP广播更新
filter-policy2000import#R1只接收172.16.X.0/24网段地址中第24位为1的网络,禁止使用前缀列表,且最少命令;
AR2配置
AR3配置
[V200R0
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- RIP 实例