cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
671
Views
0
Helpful
10
Replies
Highlighted

Sample of config for port mirroring

I have a 2960g that I need to mirror one port to 6 other ports, how would I go about configuring that?

Everyone's tags (4)
2 ACCEPTED SOLUTIONS

Accepted Solutions
Engager

Re: Sample of config for port mirroring

Hello Jason, Cisco allow one to many with the - or , options. E.g.

Switch(config)# monitor session 1 source interface fastEthernet0/1

Switch(config)# monitor session 1 destination interface fastEthernet0/10 - 11

Which is 10 to 11
Or

Switch(config)# monitor session 1 destination interface fastEthernet0/10, fa0/12

Which is 10 and 12

(Syntax maybe slightly different as I'm just trying to remember from memory, but the comma and hyphen are the options you need)

Hope this helps

Sent from Cisco Technical Support iPhone App

Please rate useful posts & remember to mark any solved questions as answered. Thank you.
Engager

Re: Sample of config for port mirroring

Or:

Note: You can use monitor session session_number destination command multiple times to configure multiple destination ports.

In that Cisco link I gave in my post
E.g.

Switch(config)# monitor session 1 source interface fastEthernet0/1

Switch(config)# monitor session 1 destination interface fastEthernet0/10

Switch(config)# monitor session 1 destination interface fastEthernet0/11

Switch(config)# monitor session 1 destination interface fastEthernet0/12

Sent from Cisco Technical Support iPhone App

Please rate useful posts & remember to mark any solved questions as answered. Thank you.
10 REPLIES 10
Contributor

Re: Sample of config for port mirroring

Maybe this helps:

https://supportforums.cisco.com/docs/DOC-2632

Hth
Alessio

Sent from Cisco Technical Support iPad App

Engager

Re: Sample of config for port mirroring

Hello, here's a basic example:

Switch(config)# monitor session 1 source interface fastEthernet0/1

Switch(config)# monitor session 1 destination interface fastEthernet0/10

This is saying mirror / SPAN fa0/1 to the destination of fa0/10

http://www.cisco.com/en/US/products/hw/switches/ps708/products_tech_note09186a008015c612.shtml

Hope this helps

Sent from Cisco Technical Support iPhone App

Please rate useful posts & remember to mark any solved questions as answered. Thank you.

Re: Sample of config for port mirroring

Bilal, thanks but how about 1 to many?

Engager

Re: Sample of config for port mirroring

Hello Jason, Cisco allow one to many with the - or , options. E.g.

Switch(config)# monitor session 1 source interface fastEthernet0/1

Switch(config)# monitor session 1 destination interface fastEthernet0/10 - 11

Which is 10 to 11
Or

Switch(config)# monitor session 1 destination interface fastEthernet0/10, fa0/12

Which is 10 and 12

(Syntax maybe slightly different as I'm just trying to remember from memory, but the comma and hyphen are the options you need)

Hope this helps

Sent from Cisco Technical Support iPhone App

Please rate useful posts & remember to mark any solved questions as answered. Thank you.
Engager

Re: Sample of config for port mirroring

Or:

Note: You can use monitor session session_number destination command multiple times to configure multiple destination ports.

In that Cisco link I gave in my post
E.g.

Switch(config)# monitor session 1 source interface fastEthernet0/1

Switch(config)# monitor session 1 destination interface fastEthernet0/10

Switch(config)# monitor session 1 destination interface fastEthernet0/11

Switch(config)# monitor session 1 destination interface fastEthernet0/12

Sent from Cisco Technical Support iPhone App

Please rate useful posts & remember to mark any solved questions as answered. Thank you.
VIP Advisor

Re:Sample of config for port mirroring

Hello

not posibble to have one tp many

however you can have a whole vlan to a span port
res
paul

Sent from Cisco Technical Support Android App



kind regards
Paul

Please rate and mark posts accordingly if you have found any of the information provided useful.
It will hopefully assist others with similar issues in the future
VIP Advisor

Re:Sample of config for port mirroring

Bilal
isnt the OP refering to 1 to many imterfaces on a single span session - if so this isnt possible.

res
paul



Sent from Cisco Technical Support Android App



kind regards
Paul

Please rate and mark posts accordingly if you have found any of the information provided useful.
It will hopefully assist others with similar issues in the future
Engager

Re: Re:Sample of config for port mirroring

Hello Paul, my understanding might not be correct. I thought the OP was asking if one single port can be replicated to many other ports?

So from one interface, mirroring or SPANing to a bunch of ports. Same session.

In which case yes it is possible...

Sent from Cisco Technical Support iPhone App

Please rate useful posts & remember to mark any solved questions as answered. Thank you.
VIP Advisor

Re:Sample of config for port mirroring

hello
maybe then my interpretation is incorrect


Sent from Cisco Technical Support Android App



kind regards
Paul

Please rate and mark posts accordingly if you have found any of the information provided useful.
It will hopefully assist others with similar issues in the future

Re:Sample of config for port mirroring

You both were very helpful for me to get this done. I thought we weren't going to be able to send monitor destination to more than 2 interfaces. I was able to set it to Gi0/28-31, and Gi0/8-12 as well.

I still believe our enterprise needs a Gigamon implementation for sniffing, IDP, IPS, Web, AV, and other DMZ/internet monitoring things..

I'll see if these will work as-is, and we're still going to push for a dual-datacenter Gigamon w/ centralized monitoring tools.

Thanks!

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards