Configuring Access List Filtering; Packet Type Filtering - Cisco 4500M Software Manual

Software guide
Table of Contents

Advertisement

Packet Type Filtering

Configuring Access List Filtering

To configure access list filtering, perform this task:
Command
Switch(config)# [no] monitor session
{ session_number } filter {ip access-group
[ name | id ] }{vlan vlan_IDs [, | - ] } |
{packet-type {good | bad}} |
{address-type {unicast | multicast |
broadcast} [rx | tx | both]}
IP access lists must be created in configuration mode as described in the chapter "Configuring Network
Note
Security with ACLs."
This example shows how to configure IP access group 10 on a SPAN session and verify that an access
list has been configured:
Switch(config)# monitor session 1 source interface fa6/1 both
Switch(config)# monitor session 1 destination interface fa6/2
Switch(config)# monitor session 1 filter vlan 1
Switch(config)# monitor session 1 filter ip access-group 10
Switch(config)# exit
Switch# show monitor
Session 1
---------
Type
Source Ports
Destination Ports : Fa6/2
Filter VLANs
IP Access-group
Packet Type Filtering
When configuring a SPAN session, you can specify packet filter parameters similar to VLAN filters.
When specified, the packet filters indicate types of packets that may be sniffed. If no packet filters are
specified, packets of all types may be sniffed. Different types of packet filters may be specified for
ingress and egress traffic.
Software Configuration Guide—Release 12.2(25)EW
39-14
No policing is allowed on traffic exiting SPAN ports.
Only IP ACLs are supported on SPAN sessions.
: Local Session
:
Both
: Fa6/1
Encapsulation : Native
Ingress : Disabled
Learning : Disabled
: 1
: 10
Chapter 39
Purpose
Specifies filter sniffing based on the access list.
For session_number, specify the session number
identified with this SPAN session (1 through 6).
You can specify either a name or a numeric ID for the
access list.
For name, specify the IP access list name.
For id, specify a standard <1 to 199> or extended
<1300-2699> IP access list.
Configuring SPAN and RSPAN
OL-6696-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 series

Table of Contents