Filter Indexing - HP E3800-24G-PoE+-2SFP+ Access Security Manual

Switch software
Hide thumbs Also See for E3800-24G-PoE+-2SFP+:
Table of Contents

Advertisement

For example, suppose you wanted to configure the filters in table 12-3 on a
switch. (For more on source-port filters, refer to "Configuring a Source-Port
Traffic Filter" on page 12-17.)
Table 12-3. Filter Example
Filter Type
Filter Value
Source-Port
Inbound ports: 1, 2*
Multicast
010000-123456
Multicast
010000-224466
Protocol
Appletalk
Protocol
ARP
*Because the switch allows one inbound port in a source-port filter, the
requirement to filter ports 1 and 2 means you will configure two separate
source-port filters.
The following commands configure the filters listed above:
HP Switch(config)# filter source-port drop 5
HP Switch(config)# filter source-port drop 5
HP Switch(config)# filter multicast 010000-123456 drop e 10-12
HP Switch(config)# filter multicast 010000-224466 drop e 7-8
HP Switch(config)# filter protocol Appletalk drop e 18, 20-22
HP Switch(config)# filter protocol Arp drop e 3-4, 6
Figure 12-15. Configuring Various Traffic/Security Filters

Filter Indexing

The switch automatically assigns each new filter to the lowest-available index
(IDX) number. The index numbers are included in the show filter command
described in the next section and are used with the show filter < index >
command to display detailed information about a specific filter.
If there are no filters currently configured, and you create three filters in
succession, they will have index numbers 1 - 3. However, if you then delete
the filter using index number "2" and then configure two new filters, the first
new filter will receive the index number "2" and the second new filter will
receive the index number "4". This is because the index number "2" was made
vacant by the earlier deletion, and was therefore the lowest index number
available for the next new filter.
Traffic/Security Filters and Monitors
Configuring Traffic/Security Filters
Action
Destination Ports
Drop
5
Drop
10-12
Drop
7-8
Drop
18, 20-22
Drop
3-4, 6
12-21

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents