cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1974
Views
2
Helpful
6
Replies

Configuring SPAN On Cisco Nexus System version: 5.0(2)N2(1)

Rupesh Kolatwar
Level 1
Level 1

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....!!! 

6 Replies 6

Ganesh Hariharan
VIP Alumni
VIP Alumni

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

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

Hi Ganesh, did you get bottom of this , I having the same issue.

asavarin
Cisco Employee
Cisco Employee

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.

Many Thanks asavarin for updating, figured it bit late.
Cheers

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


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Review Cisco Networking for a $25 gift card