Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Where have you been all my life! I found the answer I needed in seconds..."

Geography

Where in the world do Tek-Tips members come from?
tomcotton (TechnicalUser)
23 Jul 12 11:34
Hi All,

I've got a requirement to mirror a port to a virtual server running off a Cisco 3020 switch. As it's a VMWare blade based environment the server could end up connecting on any one of the 16 ports on that switch. Obviously I don't want to pass the traffic to all 16 ports so:
Is there a command that would enable me to only pass mirrored traffic to a certain host?? Or anything similar?
VinceWhirlwind (TechnicalUser)
23 Jul 12 19:29
Use RSPAN to put the traffic onto a VLAN.

eg,
monitor session 1 source interface g1/0/1
monitor session 1 destination remote vlan 100 reflector-port g1/0/2

Extend the VLAN into your virtual environment.

Now, all you have to do is figure out how to configure the virtual switch to create a destination port for the mirrored traffic off this VLAN:

eg, on Cisco:
monitor session 1 source remote vlan 100
monitor session 1 destination interface g1

tomcotton (TechnicalUser)
24 Jul 12 4:32
Hi Vince,

Thanks for your reply, although normal RSPAN will not work as the blade server isn't connected on to a static port. With it being in a blade server chassis it could end up connecting to any one of the 16 ports in the switch, so I need a method to only mirror traffic from one IP address to another regardless of it's position on a specific switch. Is there a way??
leedsit (TechnicalUser)
24 Jul 12 6:52
Hi, the Cisco 3020 switche is in im presuming HP C7000 chassis and as far as I remember to connect to a virtual port on the 3020 corelating to the slot number, I.E If slot 1, Port 1 etc. you should be able to simply span the virtual port on the 3020 to a physical port on the 3020, I.E Fa0/1 to a spare port on the front?

Can you so a "show inter status" on the 3020 and let me know which slot your server is in? of course if the server is in eg slot 3 and this server is running ESX with multiple VM`s for example you are going to see all of the server traffic, but at least it can be filtered.

Lee.

LEEroy
CCNP,CCIP

ADB100 (TechnicalUser)
24 Jul 12 8:21
What you are asking for is not possible without some manual intervention each time the VM Guest moves. You could maybe write a script that did this for you (i.e. locate the VM's MAC address and then modify the monitor session destination). Not something I'd be keen on doing....
Do you VM guests move that often that you need this?

Andy
leedsit (TechnicalUser)
24 Jul 12 9:10
Ahh after Reading ADB100s reply I understand what your asking, sorry.

You could create a unique vlan just for this server with its own subnet(even if its a /30) and place this server in that vlan(presuming you will use .1q tagging to the blade servers). That way you could span the vlan as a source? otherwise as ADB100 said, its going to be difficult keeping track of that servers blade location.

Lee.

LEEroy
CCNP,CCIP

tomcotton (TechnicalUser)
24 Jul 12 11:14
I think I'll go down the physical server route as we need this call recording solution to be rock solid from day 1 and the above method could have a few teething issues. Thanks a lot for your replies anyway guys
VinceWhirlwind (TechnicalUser)
25 Jul 12 1:59
"With it being in a blade server chassis it could end up connecting to any one of the 16 ports in the switch, so I need a method to only mirror traffic from one IP address to another regardless of it's position on a specific switch. Is there a way"

I think I understand your problem. I seem to recall being involved with virtualised environments which had one virtual host that HAD to run on one physical host and no other. Probably for a similar reason.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close