Applying rules to ICMP

Last Updated : Nov 06, 2012 |
Prolog information
  1. To apply the rule to a specific type of ICMP packet, use the icmp command.
    ADDITIONAL INFORMATION:
    This command specifies an ICMP type and code to which the rule applies. You can specify the ICMP type and code by integer or text string.
    For example:
    Gxxx-001(super-Capture 520/ip rule 20)# icmp Echo-Reply
    Done!
    Gxxx-001(super-Capture 520/ip rule 20)#
  2. To apply the rule to all ICMP packets except the specified type and code, use the not form of this command.
    For example:
    Gxxx-001(super-Capture 520/ip rule 20)# not icmp 1 2
    Done!
    Gxxx-001(super-Capture 520/ip rule 20)#