26 permit icmp, 27 permit igmp – CANOGA PERKINS CanogaOS Command Reference User Manual
Page 681
![background image](/manuals/651410/681/background.png)
CanogaOS Command Line Reference
Revision 1.02
Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches
Page 681 of 855
33.26 permit icmp
Use this command to permit ICMP packets matching the IP filter.
Command Syntax
[<1-2147483646>] permit icmp { source source-mask | any | host source } {destination
destination-mask any | host destination } [ icmp-type < 0-255 > [icmp-code < 0-255 >] ]
[ ip-precedence precedence | dscp dscp ] [ fragments ] [ routed-packet ] [ options ] [ time-range
time-range-name ] [ stats ]
icmp-type: <0-255> ICMP message type
icmp-code: <0-255> ICMP message code
Command Mode
IP ACL configuration
Usage
None
Examples
This example shows how to create a filter in IP ACL to permit any ICMP packets.
Switch(config-ip-acl)#1 permit icmp any any
This example shows how to create a filter in IP ACL to permit the ICMP packets with the icmp-type 3
and icmp-code 3.
Switch(config-ip-acl)#2 permit icmp any any icmp-type 3 icmp-code 3
Related Commands
permit
permit udp
permit tcp
permit igmp
33.27 permit igmp
Use this command to permit IGMP packets matching the IP filter.
Command Syntax
[<1-2147483646>] permit {<0-255> | any } { source source-mask | any | host source } {destination
destination-mask any | host destination} [ igmp-type ] [ ip-precedence precedence | dscp dscp ]
[ fragments ] [ routed-packet ]
[ options ] [ time-range time-range-name ] [ stats ]
igmp-type: IGMP type, including dvmrp, host-query, host-report, mtrace, mtrace-response, pim,
precedence, trace, v2-leave, v2-report, v3-report
Please refer to command permit for other parameters.