Applying rules to packets with IP protocols
Procedure
1. Use the ip-protocol command, followed by the name of an IP protocol, to apply
the rule to all packets with the specified IP protocol.
2. If you want the rule to apply to all protocols, use any after the command (ip-
protocol any).
For example, the following rule is defined to capture all TCP packets:
Gxxx-001(super)# ip capture-list 520
Gxxx-001(super-Capture 520)# ip-rule 20
Gxxx-001(super-Capture 520/ip rule 20)# composite-operation capture
Done!
Gxxx-001(super-Capture 520/ip rule 20)# ip-protocol tcp
Done!
Gxxx-001(super-Capture 520/ip rule 20)#
3. To apply the rule to all protocols except the specified protocol, use the no form of
this command.
For example:
Gxxx-001(super-Capture 520/ip rule 20)# no ip-protocol tcp
Done!
Gxxx-001(super-Capture 520/ip rule 20)#
Applying rules to source or destination IP address
Procedure
1. Use the source-ip command to apply the rule to packets from the specified IP
address or range of addresses.
2. Use the destination-ip command to apply the rule to packets going to the
specified IP address or range of addresses.
IP range criteria
Range: Type two IP addresses to set a range of IP addresses to which the rule applies. You
can use wildcards in setting the range. For example:
Gxxx-001(super-Capture 520/ip rule 20)# source-ip 135.64.102.0 0.0.255.255
Done!
Gxxx-001(super-Capture 520/ip rule 20)#
Single address: Type host, by an IP address, to set a single IP address to which the rule
applies. For example:
Gxxx-001(super-Capture 520/ip rule 20)# destination-ip host 135.64.104.102
Done!
Gxxx-001(super-Capture 520/ip rule 20)#
Monitoring applications
Administering Avaya G430 Branch Gateway October 2013 389