ip icmp Reviewing IP Traffic and Configuring Routes
Enterasys Matrix DFE-Gold Series Configuration Guide 16-27
Examples
ThisexampleshowshowtosetIPaddress10.1.2.3asthenexthopgatewaytodestinationaddress
10.0.0.0.Therouteisassignedatagof1:
Matrix>Router(config)#ip route 10.0.0.0 255.0.0.0 10.1.2.3 1
ThisexampleshowshowtosetIPaddress10.1.2.3asthenexthopgatewaytodestinationaddress
10.0.0.0.Therouteissetaspermanentandassignedatagof20:
Matrix>Router(config)#ip route 10.0.0.0 255.0.0.0 10.1.2.3 permanent tag 20
ThisexampleshowshowtosetVLAN100asthenexthopinterfacetodestinationaddress10.0.0.0:
Matrix>Router(config)#ip route 10.0.0.0 255.0.0.0 vlan 100
ip icmp
Usethiscommandtore‐enabletheInternetControlMessageProtocol(ICMP),allowingarouterto
replytoIPpingrequests.
Syntax
ip icmp {echo-reply | mask-reply}
no ip icmp {echo-reply | mask-reply}
Parameters
Defaults
None.
Mode
Routercommand,Interfaceconfiguration:Matrix>Router(config‐if(Vlan1))#
Usage
Bydefault,ICMPmessagingisenabledonaroutinginterfaceforbothecho‐replyandmask‐reply
modes.If,forsecurityreasons,ICMPhasbeendisabledusingnoipicmp,thiscommandwillre‐
enableitontheroutinginterface.
The“no”formofthiscommanddisablesICMP.
Example
ThisexampleshowshowtoenableICMPinecho‐replymodeonVLAN1:
Matrix>Router(config)#interface vlan 1
Matrix>Router(config-if(Vlan 1))#ip icmp echo-reply
echo‐reply EnablesICMPinecho‐replymode.
mask‐reply EnablesICMPinmask‐replymode.