
Configuring Traffic Filters and Protocol Prioritization
8-14
308645-14.00 Rev 00
If you specify a protocol other than TCP or UDP, the software prevents you from
filtering on the TCP or UDP source or destination. Otherwise, the offset
associated with one of the parameters in the non-UDP/TCP packet could
coincidentally match the filter, and the software would perform the filter’s action.
To filter traffic using the protocol field, navigate to the match prompt (for
example,
box; ip; filter-template/telnet-in; match) and enter the following
command:
protocol {<
list_of_protocols>
}
list_of_protocols
can include any number of protocol identifiers. It can also
specify ranges of protocol identifiers.
Table 8-4
lists some common protocol ID codes for IP traffic.
Example
To match IGP packets, enter the following command:
match/template/template1# protocol 9
match/template/template1#
Table 8-4. Common Protocol IDs for IP Traffic
Protocol ID Code (Decimal)
ICMP (Internet Control Message Protocol) 1
IGMP (Internet Group Management Protocol) 2
TCP (Transmission Control Protocol) 6
EGP (Exterior Gateway Protocol) 8
IGP (Interior Gateway Protocol) 9
UDP (User Datagram Protocol) 17
RSVP (Resource Reservation Protocol) 46
GRE (Generic Routing Encapsulation) 47
NHRP (Next Hop Resolution Protocol) 54
OSPF (Open Shortest Path First) 89
Comentários a estes Manuais