11-04-2015 05:48 AM - edited 03-08-2019 02:34 AM
Hi all,
I am Configuring SPAN On Cisco Nexus System version: 5.0(2)N2(1), i am running the issue as below (down (Src in wrong mode)
switch01# show monitor session all
session 1
---------------
type : local
state : down (Src in wrong mode)
source intf :
rx : Eth1/3
tx : Eth1/3
both : Eth1/3
source VLANs :
rx :
source VSANs :
rx :
destination ports : Eth1/9
Legend: f = forwarding enabled, l = learning enabled
session 2
---------------
type : local
state : down (Src in wrong mode)
source intf :
rx : Eth1/4
tx : Eth1/4
both : Eth1/4
source VLANs :
rx :
source VSANs :
rx :
destination ports : Eth1/9
Legend: f = forwarding enabled, l = learning enabled
==============
!Command: show running-config interface Ethernet1/3
!Time: Wed Nov 4 14:23:48 2015
version 5.0(2)N2(1)
interface Ethernet1/3
switchport mode trunk
switchport monitor
switchport trunk allowed vlan 1006-1019,1118-1119,3041-3043
---------------------------------------------------------------------------------------
destination port configured as below
show running-config interface Ethernet1/9
!Time: Wed Nov 4 14:24:02 2015
version 5.0(2)N2(1)
interface Ethernet1/9
switchport monitor
speed 1000
please let me know if am doing anything wrong....!!!
11-04-2015 06:52 AM
Hello Rupesh,
I see only half the configiration, Have you configired the span in below fashion.
Configure SPAN
switch# configure terminal
switch(config)# monitor session session-number
Destination Port Configuartion
switch# configure terminal
switch(config)# interface ethernet slot/port
switch(config-if)# switchport monitor
switch(config-if)# exit
switch(config)# monitor session session-number
switch(config-monitor)# destination interface ethernet slot/port
Source Port Configuration
switch(config)# monitor session session-number
switch(config-monitor)# source interface ethernet slot/port
Hope that Helps..
-GI
Rate helpful Posts
11-04-2015 11:43 PM
Hi Ganesh,
I have followed the same as steps above but still i am getting this error
switch01(config)# configure terminal
switch01(config)# monitor session 1
switch01(config-monitor)# exit
switch01(config)# interface ethernet 1/40
switch01(config-if)# switchport monitor
switch01(config-if)# exit
switch01(config)# monitor session 1
switch01(config-monitor)# destination interface ethernet 1/40
switch01(config-monitor)# monitor session 1
switch01(config-monitor)# source interface ethernet 1/3
switch01(config-monitor)# do copy running-config startup-config
switch01(config-monitor)# show monitor session 1
session 1
---------------
type : local
state : down (Src in wrong mode)
source intf :
rx : Eth1/3
tx : Eth1/3
both : Eth1/3
source VLANs :
rx :
source VSANs :
rx :
destination ports : Eth1/40
Legend: f = forwarding enabled, l = learning enabled
----------
switch01(config-monitor)# show interface ethernet 1/3
Ethernet1/3 is up
Hardware: 1000/10000 Ethernet, address: 0005.73dd.ed8a (bia 0005.73dd.ed8a)
Description:
MTU 1500 bytes, BW 10000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA
Port mode is trunk
full-duplex, 10 Gb/s, media type is 10G
Beacon is turned off
Input flow-control is off, output flow-control is off
Rate mode is dedicated
Switchport monitor is on
EtherType is 0x8100
---------------
switch01(config)# show interface ethernet 1/40
Ethernet1/40 is up
Hardware: 10000 Ethernet, address: 0005.73dd.edaf (bia 0005.73dd.edaf)
MTU 1500 bytes, BW 10000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA
Port mode is trunk
full-duplex, 10 Gb/s, media type is 10G
Beacon is turned off
Input flow-control is off, output flow-control is off
Rate mode is dedicated
Switchport monitor is on
EtherType is 0x8100
Last link flapped 00:00:22
Last clearing of "show interface" counters never
12-20-2023 03:46 AM
Hi Ganesh, did you get bottom of this , I having the same issue.
02-09-2024 03:13 AM
Switchport monitor command has to be enabled only destination port . If you enabled "switchport monitor" under source port then you will observe your session state as "state : down (Src in wrong mode)" . So remove switchport monitor command under source port.
02-12-2024 12:02 AM
02-12-2024 05:37 PM
Hello
Try the following:
int rang eth1/3,eth1/9
shut
monitor session 1
source interface ethernet 1/3 both
destination interface ethernet 1/9
int ethernet 1/9
switchport monitor
no shut
int eth1/3
no shut
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