15-16
Cisco Intrusion Prevention System Sensor CLI Configuration Guide for IPS 5.0
78-16527-01
Chapter 15 Configuring IDSM-2
Configuring the Catalyst Series 6500 Switch for IDSM-2 in Inline Mode
You can use the
mls ip ids
command to designate which packets will be captured. Packets that are
permitted by the ACL will be captured. Those denied by the ACL will not be captured. The permit/deny
parameter does not affect whether a packet is forwarded to destination ports. Packets coming into that
router interface are checked against the IPS ACL to determine if they should be captured.
To use the
mls ip ids
command to capture IDS traffic, follow these steps:
Step 1
Log in to the console.
Step 2
Enter global configuration mode:
router#
configure terminal
Step 3
Configure an ACL to designate which packets will be captured:
router(config)#
ip access-list extended
word
Step 4
Select the interface that carries the packets to be captured:
router(config)#
interface
interface_name
Step 5
Specify the capture VLANs:
router(config)#
intrusion-detection module
module_number
data-port
data_port_number
capture allowed-vlan
capture_vlans
Example:
router(config)#
intrusion-detection module 4 data-port 1 capture allowed-vlan 165
Step 6
Apply the ACL created in Step 4 to the interface selected in Step 5:
router(config-if)#
mls ip ids
word
Caution
For IDSM-2 to capture all packets marked by the
mls ip ids
command, data port 1 or data port 2 of
IDSM-2 must be a member of all VLANs to which those packets are routed.
Configuring the Catalyst Series 6500 Switch for IDSM-2 in Inline
Mode
You can use IDM or the CLI to configure the IDSM-2 to operate in inline mode between two separate
VLANs (one VLAN for each side of the IDM-2). To prepare the IDSM-2 for inline mode, you must
configure the switch as well as the IDSM-2. Configure the switch first, then configure the IDSM-2
interfaces for inline mode. For the procedure for configuring IDSM-2 to run in promiscuous or inline
mode, see
Chapter 5, “Configuring Interfaces.”
This section contains the following topics:
•
Catalyst Software, page 15-17
•
Cisco IOS Software, page 15-18