Sunday, April 12, 2020

NX-OS unable to set a monitor session destination interface.

Hello.

I am trying to define port mirroring on a physical Nexus switch (N3K-C3064PQ-10GX).

Versions tried: nxos.7.0.3.I7.8.bin and nxos.9.3.3.bin.

Whenever I set the destination interface I get a CLI error: Ambiguous command

Given this set of interfaces (output of running-config) I want to mirror e1/1 to e1/2:

interface Ethernet1/1

interface Ethernet1/2

Steps on N3K-C3064PQ-10GX:

C3064PQ(config)# interface ethernet 1/2

C3064PQ(config-if)# switchport monitor

C3064PQ(config-if)# monitor session 1

C3064PQ(config-monitor)# source interface ethernet 1/1

C3064PQ(config-monitor)# destination interface ethernet 1/2

___________________________________________________________^

% Ambiguous command at '^' marker.

C3064PQ(config-monitor)# show monitor session 1

session 1

---------------

type : local

state : down (Session admin shut)

acl-name : acl-name not specified

source intf :

rx : Eth1/1

tx : Eth1/1

both : Eth1/1

source VLANs :

rx :

tx :

both :

filter VLANs : filter not specified

source fwd drops :

destination ports :

PFC On Interfaces :

source VSANs :

rx :

Here is a comparison done on a NX9000 C9500v virtual machine:

C9500v(config)# interface ethernet 1/2

C9500v(config-if)# switchport monitor

C9500v(config-if)# monitor session 1

C9500v(config-monitor)# source interface ethernet 1/1

C9500v(config-monitor)# destination interface ethernet 1/2

C9500v(config-monitor)# show monitor session 1

session 1

---------------

type : local

state : down (Session admin shut)

acl-name : acl-name not specified

source intf :

rx : Eth1/1

tx : Eth1/1

both : Eth1/1

source VLANs :

rx :

tx :

both :

filter VLANs : filter not specified

source fwd drops :

destination ports : Eth1/2

PFC On Interfaces :

source VSANs :

rx :

I tried different terminal clients (Putty Windows, Gtkterm Linux) to exclude the probability of some odd line endings. I tried to input the commands via ssh and the serial console and finally I tried different interface combinations but no matter what I do on the N3K-C3064PQ-10GX I cannot set the destination interface.

What could be the reason for this error?

Thanks,



No comments:

Post a Comment