取消
显示结果 
搜索替代 
您的意思是: 
cancel
9490
查看次数
12
有帮助
8
回复

N7K SAPN配置问题

shanghaiyunji
Level 1
Level 1
各位论坛里的大前辈们:
想咨询几个思科N7K配置端口镜像的问题:
1、是否所有的VDC中最多只能用两个session?
2、portchannel能否作为源端口?
3、目标端口下的配置有两种:switchport monitor ingress learning和
switchport monitor有什么区别?

4、做了一个配置范例,但是网络分析设备上确收不到流量,能帮看下配置是否正确?

interface Ethernet10/34

switchport

switchport monitor ingress learning

no shutdown


monitor session 4

source interface port-channel203 both

source interface port-channel204 both

source interface Ethernet10/42 both

destination interface Ethernet10/34

no shut


1 个已接受解答

已接受的解答

Luke Huang
Cisco Employee
Cisco Employee
不同版本,不同引擎,支持的 SPAN 数量不同。
楼主提供一下
show version | in bin
show module | in SUP
show monitor session 4
show inter e10/34 | in up|output
至于配置 switchport monitor ingress learning, 需要看自己的需求,区别可以参考配置文档,这种东西很方便查
ingress
Allows the SPAN destination port to inject packets that disrupt a certain TCP packet stream, for example, in networks with IDS.
•ingress learning
Allows the SPAN destination port to inject packets, and learning adds the ability for the switch to learn the MAC address of the downstream network analysis device.

在原帖中查看解决方案

8 条回复8

Luke Huang
Cisco Employee
Cisco Employee
不同版本,不同引擎,支持的 SPAN 数量不同。
楼主提供一下
show version | in bin
show module | in SUP
show monitor session 4
show inter e10/34 | in up|output
至于配置 switchport monitor ingress learning, 需要看自己的需求,区别可以参考配置文档,这种东西很方便查
ingress
Allows the SPAN destination port to inject packets that disrupt a certain TCP packet stream, for example, in networks with IDS.
•ingress learning
Allows the SPAN destination port to inject packets, and learning adds the ability for the switch to learn the MAC address of the downstream network analysis device.

Yanli Sun
Community Manager
Community Manager
感谢专家解答

Rockyw
Spotlight
Spotlight
楼主参考一下下面的文档
【原创】N7K镜像
http://bbs.csc-china.com.cn/forum.php?mod=viewthread&tid=987592
IOS和NX-OS的命令行区别
http://docwiki.cisco.com/wiki/Cisco_NX-OS/IOS_SPAN_Comparison
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rockyw | If it solves your problem, please mark as answer. Thanks !

shanghaiyunji
Level 1
Level 1
fushuang 发表于 2018-11-19 14:04
不同版本,不同引擎,支持的 SPAN 数量不同。
楼主提供一下
show version | in bin

谢谢解答,这几天在外,回去后再提供专家要求的show。

one-time
Level 13
Level 13
感谢楼主反馈最终问题和解决办法,也感谢一众小伙伴们热心解答

shanghaiyunji
Level 1
Level 1
fushuang 发表于 2018-11-19 14:04
不同版本,不同引擎,支持的 SPAN 数量不同。
楼主提供一下
show version | in bin

开了个case,TAC说Extended SPAN sessions 只支持F系列以及M2以上系列板卡,我们用的还是M1不支持这个,而N7K不采用Extended SPAN是不是只能active 2个 session,上面配置的是session 4,所以不能生效?

shanghaiyunji
Level 1
Level 1
fushuang 发表于 2018-11-19 14:04
不同版本,不同引擎,支持的 SPAN 数量不同。
楼主提供一下
show version | in bin

TAC最新的反馈:我们设备是2E引擎,6.2.20版本。TAC说是软件版本和引擎支持active 14个session,但是因为用的是M1板卡,所以只能active 2个session,而且M1板卡又不能使用Extended命令,总结就是:引擎支持、设备支持、系统支持,但是因为用了M1板卡所以最多只能用2个SPAN session。
这里连TAC也不确定是:是一台设备所有M1板卡(目前三块M1板卡)总共只能支持2个SPAN session,还是每个VDC只能支持2个SPAN session,又或者是每块板卡只能支持2个SPAN session。
只能说,N7K交换机各种限制太多了,有时候太影响用户的使用体验。

Luke Huang
Cisco Employee
Cisco Employee
shanghaiyunji 发表于 2018-12-7 11:21
TAC最新的反馈:我们设备是2E引擎,6.2.20版本。TAC说是软件版本和引擎支持active 14个session,但是因为 ...

没有文档的情况下,可以让 TAC 做个 LAB,验证一下效果
入门指南

使用上面的搜索栏输入关键字、短语或问题,搜索问题的答案。

我们希望您在这里的旅程尽可能顺利,因此这里有一些链接可以帮助您快速熟悉思科社区:









快捷链接