
893-741-B
A13-11
Filtering
address_pair
{ip_addr1[/n] | * | -1}
{ip_addr2[/n] | * | -1}
(Enter both addresses
on the same line;
separate them with a
space)
Matches packets passing in either direction between two
specified IP addresses. To match only the non-host portion
of an address, enter /n after the address, where n is the
number of bits in the non-host portion of the subnet mask
for this address. For example, 132.245.33.0/24 denotes a
mask of 255.255.255.0, which matches destination
addresses on network 132.245.33.0. (If you list the filter,
132.245.33.0/24 appears as the destination address.) To
match all packets to or from a given address, enter one
ip_addr and then specify * or -1 for the other. For example,
* 132.254.33.2 and 132.254.33.2 -1 match all packets to or
from 132.254.33.2.
Restriction: if you use the address_pair keyword, you cannot
use the keyword dst_address or src_address.
port_pair
{p1 p2| s1 s2 |*|-1}
Matches packets passing in either direction between the two
specified TCP or UDP port numbers (p1 and p2) or standard
service names (s1 and s2), such as finger, ftp, nfs, rlogin,
smtp, telnet, or tftp. Use a space to separate the port
numbers or names. To match all packets to or from a given
port number, enter one port number or service name and
specify –1 or * for the other. For a list of service names and
their corresponding port numbers, see Table A13-5.
Restriction: if you use the port_pair keyword, you cannot
use the dst_port or src_port keyword.
protocol
{protonum|protoname}
Matches the transport protocol in the packet. Valid protocol
numbers range from 1 to 65535. Or, specify a protocol
name, such as tcp, udp, or icmp. If no protocol is given but
a port is specified (dst_port, src_port, or port_pair), the port
specification applies to both TCP and UDP packets.
Warning: A command such as the following can cause
infinite loops:
filter add asy1 output include\
> protocol icmp icmp
Table A13-4. Keywords for add criteria Argument (continued)
Keyword
Value
Explanation
Содержание 5390
Страница 28: ...893 741 B Figures xxviii ...
Страница 44: ...893 741 B Preface xliv ...
Страница 45: ......
Страница 48: ......
Страница 60: ...A1 12 893 741 B Introduction to the Model 5390 Server ...
Страница 106: ...A3 18 893 741 B Configuring Ports ...
Страница 142: ...A5 12 893 741 B Printers ...
Страница 152: ...A6 10 893 741 B Modems ...
Страница 168: ...A7 16 893 741 B Serial Line Internet Protocol SLIP ...
Страница 224: ...A9 38 893 741 B Internetwork Packet Exchange IPX Protocol ...
Страница 258: ...A11 12 893 741 B Dial up Networking ...
Страница 289: ...893 741 B A12 31 Internet Protocol IP Routing that are possible ...
Страница 506: ...A15 86 893 741 B Using Model 5390 Security ...
Страница 507: ......
Страница 508: ... Chapter B1 Network Administration Chapter B2 Simple Network Management Protocol SNMP Part B Network Administration ...
Страница 544: ...B1 36 893 741 B Network Administration ...
Страница 574: ...B2 30 893 741 B Simple Network Management Protocol SNMP ...
Страница 575: ......
Страница 606: ...C1 30 893 741 B na Commands ...
Страница 676: ...C2 70 893 741 B Configuration Parameters ...
Страница 772: ...C3 96 893 741 B Using the CLI Commands ...
Страница 794: ...C5 12 893 741 B Network Protocols ...
Страница 795: ......
Страница 796: ... Appendix D1 Software Reference Part D Appendixes ...