09-29-2025 06:59 AM
Hello,
I have nexus 9380 pre-configured with monitor session 1 and 2 for SPAN.
Session 1 shows source as all port channels destination interface eth1/2
Session 2 has source all vlans > destination interface eth1/20
Now when am creating a session 3 and adding source vlan all to forward traffic to a new vapt server, i get a error saying vlans have been used in other session. I also tried with port-channels as source, then it says destination interface eth1/30 is already mentioned in session1.
How can i achieve the below scenario :
Want to forward span traffic for all vlans to a new vapt server on destination interface eth1/30?
If i use the same session 2 with destination interface range eth1/20, eth1/30 then also it pops an error.
Need guidance.
09-29-2025 09:07 AM
try instead of range , each interface as below :
destination interface ethernet 1/20
destination interface ethernet 1/30
make sure follow the guide lines :
=====Preenayamo Vasudevam=====
***** Rate All Helpful Responses *****
09-30-2025 07:03 AM
I tried the above but it give the same Error: saying the eth1/30 is used in other source port-channel.
Since there are existing 2 Monitor sessions which are configured with source as all port channel and other session with source as all vlans.
How do i create a new monitor with source with all vlans, it throws as error as already used
09-30-2025 07:11 AM
eth1/30 is used in other source port-channel.
You always need to use the port which is not in source or destination to work. find out free port and use for destination.
make sure follow the guide lines :
=====Preenayamo Vasudevam=====
***** Rate All Helpful Responses *****
09-30-2025 08:15 AM
Actually, the port eth1/30 is not actually in any port channel, it is an unused port, however, when i do > show monitor session al
I see Session 1 is configured with all port channels and ports(which includes unused ports) as Source, how can i remove the unused ports from the Session1 configuration.
I am
09-30-2025 09:01 AM
Can you post the configuration bit to understand what configured. along with
show monitor session 1
show monitor session 2
you can try below example :
switch(config)# interface ethernet 1/10
switch(config-if)# no switchport monitor
you can only use control port as below (same reference you can see the guide i provided)
source {interface type [rx | tx | both ] | vlan {number | range} [rx ]}
switch(config-monitor)# source interface ethernet 2/1-3, ethernet 3/1 rx
switch(config-monitor)# source interface port-channel 2
switch(config-monitor)# source interface sup-eth 0 both
switch(config-monitor)# source vlan 3, 6-8 rx
switch(config-monitor)# source interface ethernet 101/1/1-3
=====Preenayamo Vasudevam=====
***** Rate All Helpful Responses *****
09-30-2025 11:50 AM
The configuration is :
Session 1 shows as local
source vlan all
destination port-channel 30, 40,50 (each po has interfaces with in even the unused ports like eth1/30)
Under the Eth1/30 interface configuration as follows:
config# int eth1/30
switchport
switchport monitor
no shutdown
Thats it
10-01-2025 01:57 AM
Ensure the interface is not included in the source before using it in the destination, as I mentioned earlier, to ensure it works as expected.
If that is in the source, you need to remove the configuration to get the outcome you're looking for.
If the destination port-channel is already in use (and the port is available), you need to choose a different unused port and add it to the requirement.
Always read the guidelines.
=====Preenayamo Vasudevam=====
***** Rate All Helpful Responses *****
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