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

N7K端口镜像和普通交换机一样吗

zhyqxl520
Level 1
Level 1
本帖最后由 zhyqxl520 于 2015-7-10 13:37 编辑
N7K端口镜像和普通交换机一样吗,具体命令是什么呢,现在就是需要把一台N7K的所有数据镜像到一个端口上
1 个已接受解答

已接受的解答

suzhouxiaoniu
Spotlight
Spotlight
monitor session 1
source XXXXXX both 即可以是端口,也可以是vlan
destination interface Ethernet X

在原帖中查看解决方案

4 条回复4

suzhouxiaoniu
Spotlight
Spotlight
monitor session 1
source XXXXXX both 即可以是端口,也可以是vlan
destination interface Ethernet X

zhyqxl520
Level 1
Level 1
suzhouxiaoniu 发表于 2015-7-10 14:04 back.gif
monitor session 1
source XXXXXX both 即可以是端口,也可以是vlan
destination interface Ethern ...

Here is an example configuration of ACL capture applied to a VLAN, also known as virtual LAN Access Control List (VACL) capture. Ten gigabit snifers designated may not be feasible for all scenerios. Selective traffic capture can be very useful in such scenerios especially during troubleshooting when traffic volumes are high.
!! Global command required to enable ACL-capture feature (on default VDC)
hardware access-list capture

monitor session 1 type acl-capture
destination interface ethernet 2/1
no shut
exit
!!
ip access-list TEST_ACL
10 permit ip 216.113.153.0/27 any capture session 1
20 permit ip 198.113.153.0/24 any capture session 1
30 permit ip 47.113.0.0/16 any capture session 1
40 permit ip any any
!!
!! Note: Capture session ID matches with the monitor session ID
!!
vlan access-map VACL_TEST 10
match ip address TEST_ACL
action forward
statistics per-entry
!!
vlan filter VACL_TEST vlan-list 500
我看网站上是这样的,具体不是很理解

13nash
Level 8
Level 8
有点差别,官网有个比较

zhihao zou
Level 1
Level 1
需要在monitor session下no shutdown,另外在目标SPAN物理接口上,需要配置switchport monitor
入门指南

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

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









快捷链接