
A13-14
893-741-B
Filtering
The following example creates a filter that logs the arrival of every IP packet on the Ethernet interface
(en0). The example omits the network protocol family because it is optional; IP is assumed.
filter: add en0 input include src_addr * syslog
The following example allows packets to and from 132.254.100.2 and 132.254.100.3 to be forwarded
over interface asy1; all other packets are discarded.
filter: add asy1 input exclude address_pair 132.254.100.2\
>
* discard
filter: add asy1 input exclude address_pair 132.254.100.3\
>
* discard
The following example allows UDP and ICMP packets to and from 132.254.100.2 and
132.2534.100.3 to be forwarded over interface asy1; all other packets are discarded.
filter: add asy1 input exclude address_pair 132.254.100.2 *\
>
protocol icmp discard
filter: add asy1 input exclude address_pair 132.254.100.3 *\
>
protocol icmp discard
filter: add asy1 input exclude address_pair 132.254.100.2 *\
>
protocol udp discard
filter: add asy1 input exclude address_pair 132.254.100.3 *\
>
protocol udp discard
delete
The delete subcommand deletes filters from both the currently running system and non-volatile
memory. The syntax is:
delete filter_list
See Filter Lists on page A13-6 for an explanation of the filter_list argument.
NOTE:
Logging events requires configuration (see Logging User and
Model 5390 Events on page B1-22 for more information).
NOTE:
Dial-out filters can be deleted but will be reinstalled after a
reboot of the Model 5390 server or a reset of the dial-out subsystem.
Содержание 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 ...