09-27-2012 04:44 AM - edited 03-07-2019 09:08 AM
on 7600 SUP720 3B
I have port channel and there are two ports on that port channel
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
1 Po1(SD) - Gi0/1(D) Gi0/2(D)
is it possible to apply this command? does it work?
monitor session 3 source interface Gi0/1 rx
monitor session 3 destination remote vlan 201
monitor session 3 source interface Gi0/2 rx
monitor session 3 destination remote vlan 202
09-27-2012 05:30 AM
dear muhammed, you have to be careful with that!
Muhammed AKYUZ wrote:
on 7600 SUP720 3B
I have port channel and there are two ports on that port channel
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
1 Po1(SD) - Gi0/1(D) Gi0/2(D)
is it possible to apply this command? does it work?
monitor session 3 source interface Gi0/1 rx
monitor session 3 destination remote vlan 201
monitor session 3 source interface Gi0/2 rx
monitor session 3 destination remote vlan 202
7600, sup720 allows this:
http://www.cisco.com/en/US/docs/routers/7600/ios/12.1E/command/reference/m1.html#wp1237096
and:
http://www.cisco.com/en/US/docs/ios/lanswitch/command/reference/lsw_m1.html#wp1145478
But on catalyst platforms you find an explanation how monitor sessions interact with portchannels.
Explanation from this page:
http://www.cisco.com/en/US/docs/switches/lan/catalyst2950/software/release/12.1_9_ea1/configuration/guide/swspan.html (ws-c2900 series but possibly applies to all platforms)
EtherChannel—You can configure an EtherChannel group as a source port but not as a SPAN destination port. SPAN configuration fails if the destination port is part of an EtherChannel group. When a channel group is configured as a SPAN source, the entire group is monitored.
If a port is added to a monitored EtherChannel group, the new port is added to the SPAN source port list. If a port is removed from a monitored EtherChannel group, it is automatically removed from the source port list. If the port is the only port in the EtherChannel group, the EtherChannel group is removed from SPAN.
If a physical port that belongs to an EtherChannel group is configured as a SPAN source or destination port, it is removed from the EtherChannel group. After the port is removed from the SPAN session, it rejoins the EtherChannel group.
Better use the interface portchannel instead of the physical ports.
Regards,
MiKa
PS your port channel is down...
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