Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

monitor session for IDS

We currently have a Snort IDS installed in an environment with only one switch. The monitor session config for this is below

monitor session 1 source vlan 34
monitor session 1 destination interface Gi1/5
monitor session 1 filter packet-type good rx

We are adding another three switches into the environment and would like to sniff traffic from all four switches without an additional IDS devices or NICs if possible. My intention is to configure the new switches as follows...

monitor session 1 source vlan 34
monitor session 1 destination remote vlan 35

And then alter the config on the switch to which the IDS is connected as follows...

monitor session 1 source vlan 34
monitor session 1 destination remote vlan 35
monitor session 1 filter packet-type good rx
monitor session 2 destination interface Gi1/5
monitor session 2 source remote vlan 35
monitor session 2 filter packet-type good rx

The original config was done by a former colleague so I just wanted to check whether this was the best way of doing it.

Also, should I remove the monitor session x filter packet-type good rx so that the IDS sees all packets? I would have thought that you want your IDS to see all packets? This command appears to be a default and appears any time I configure a monitoring session.

I'm running cat4500-ipbasek9-mz.122-54.SG1.bin on a Cisco 4948

 

4 REPLIES
VIP Purple

Your vlan also needs to be

Your vlan also needs to be configured for remote-span:

vlan 35
  remote-span

I would keep the filter attached, if the frame is not "good" it can't do any harm on the destination-system. It typically won't even get there.

And make sure that you don't have too much span-traffic on the interswitch-links and the destination-link.

 


--
Don't stop after you've improved your network! Improve the world by lending money to the working poor: http://www.kiva.org/invitedby/karsteni
New Member

Hmmm, it doesn't seem to be

Hmmm, it doesn't seem to be working. I'm seeing the traffic from the other switches but not for the one to which the IDS is attached. It's like it won't let me take the VLAN 34 traffic and send it to a RSPAN session on the same switch

VIP Purple

On the switch where the IDS

On the switch where the IDS is attached, you don't send the traffic to the remote-span vlan. On that switch the remote-span vlan is only the source and the physical interface is the destination.


--
Don't stop after you've improved your network! Improve the world by lending money to the working poor: http://www.kiva.org/invitedby/karsteni
New Member

So how do I get all of the

So how do I get all of the VLAN 34 traffic sent to interface Gi1/5 on SW1? I'm beginning to think this is not possible with only one interface.

37
Views
0
Helpful
4
Replies