ZXR10ZSRV2ConīægurationGuide(SystemManagement)
R2(config)#interfacegei-1/1
R2(config-if-gei-1/1)#noshutdown
R2(config-if-gei-1/1)#ipaddress10.10.20.2255.255.255.0
R2(config-if-gei-1/1)#exit
R2(config)#routerospf1
R2(config-ospf-1)#network10.10.20.00.0.0.255area0
R2(config-ospf-1)#network10.10.50.00.0.0.255area0
R2(config-ospf-1)#exit
lConīægurationVeriīæcation
WhenthesourcesendsIPpacketswithcorrectIPoptions,thetrafīæcisforwarded
properly.
WhenthesourcesendsIPpacketswithincorrectIPoptions,thepacketsaredropped.
15.3ConīguringICMPUnreachablePacketFunction
Overview
Iftherouterreceivesanon-multicastpacketsentbyanunknownprotocol,therouter
returnsanICMPunreachablepackettothesourceaddress.Similarly,iftherouterreceives
apacketthatcannotbesenttothedestination(becausetheroutetothedestinationis
unknown),itsendsanICMPhostunreachablepackettothesourceaddress.Bydefault,
ICMPunreachablepacketsarevalid.
ConīgurationCommands
ToconīæguretheICMPunreachablepacketfunction,runthefollowingcommandsonthe
ZXR10ZSRV2:
CommandFunction
ZXR10(config)#icmp-configEnterICMPconīægurationmode.
ZXR10(config-icmp)#interface<interface-name>EnterICMPinterfaceconīægurationmode.
ZXR10(config-icmp-if-interface-name)#ip
unreachable
Enablestheinterfacefunctionofsending
ICMPunreachablepackets.
MaintenanceCommands
ToviewdetailedinformationonpacketsendingandreceivingaftertheICMPunreachable
packetfunctionisconīægured,runthefollowingcommand.Forothercommands,referto
15.1ConīæguringICMPFastResponse.
CommandFunction
ZXR10#debugipicmpdetailDisplaysinformationonICMPpackets.
15-6
SJ-20140504150128-007|2014-05-10(R1.0)ZTEProprietaryandConīædential