06-12-2009 08:52 AM - edited 03-06-2019 06:14 AM
I need to setup a port for monitoring both my vlans. I think I have the commands right but I was hoping to get feedback before doing so.
monitor session 1 destintation interface fa5/3
thanks
Solved! Go to Solution.
06-12-2009 11:28 AM
Yes, that would be enough. :o)
06-12-2009 09:01 AM
Hi
Are the source ports on the same switch or different switch in this case u need to use RSPAN or else the above command it correct.
Thanks
Mahmood
06-12-2009 10:51 AM
Hi
I don't think that is all the configuration; it only states the destination port, the source ports are missing. Please send the entire SPAN configuration and specify what exactly you are looking to monitor; so we can check it.
Regards,
Al
06-12-2009 10:56 AM
''''here is the current session configured
switch#show monitor session 1
Session 1
---------
Type : Local Session
Source VLANs :
Both : 1-2
switch#
''''I thought if I add the destination port it would then pick up all the monitoring to that that port
06-12-2009 11:05 AM
Hi,
The configuration looks correct. All the traffic coming in and out of VLANs 1 and 2 is going to be mirrored to the destination port.
Since you are monitoring VLANs, the monitored traffic will include the trunk ports on your switch. The packets passing through trunk ports includes a VLAN tag; that VLAN tag is removed when the SPAN session sends the packets to the destination port. You may like to add the "encapsulation replicate" feature to the destination port so you cam see the packets with the VLAN tag in the monitoring device. The command is:
monitor session 1 destination port Gi x/y encapsulation replicate
Regards
06-12-2009 11:24 AM
okay. I will try that. If that does not work and I want to remove it by running:
no monitor session 1
Will that remove the entire session containing the vlans? The current session was put into place before I started administratoring this switch, so I want to make sure that I can roll back.
06-12-2009 11:28 AM
Yes, that would be enough. :o)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide