Specifying IP protocol

Last Updated : Nov 06, 2012 |

Procedure

To specify the IP protocol to which the rule applies, enter ip-protocol followed by the name of an IP protocol.

If you want the rule to apply to all protocols, use any with the command. If you want the rule to apply to all protocols except for one, use the no form of the command, followed by the name of the protocol to which you do not want the rule to apply.

Example

The following command specifies the UDP protocol for rule 1 in QoS list 401:

Gxxx-001(QoS 401/rule 1)# ip-protocol udp

The following command specifies any IP protocol except IGMP for rule 3 in access control list 302:

Gxxx-001(ACL 302/ip rule 3)# no ip-protocol igmp