雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 2079|回复: 2

[讨论/求助] [转贴]要用Sniffer抓包先要配置这个

[复制链接]
发表于 2003-10-21 02:11:44 | 显示全部楼层 |阅读模式
chinamoon注:<br>即端口镜像配置.<br><br><br>interface FastEthernet0/1 <br>port monitor FastEthernet0/2 <br>port monitor FastEthernet0/5 <br>port monitor VLAN1 <br>! <br>interface FastEthernet0/2 <br>! <br>interface FastEthernet0/3 <br>switchport access vlan 2 <br>! <br>interface FastEthernet0/4 <br>port monitor FastEthernet0/3 <br>port monitor FastEthernet0/6 <br>switchport access vlan 2 <br>! <br>interface FastEthernet0/5 <br>! <br>interface FastEthernet0/6 <br>switchport access vlan 2 <br>!! <br>interface VLAN1 <br>ip address 10.200.8.136 255.255.252.0 <br>no ip directed-broadcast <br>no ip route-cache <br>! <br><br>3550/2950用这个 <br>C2950#conf t <br>C2950(config)# <br>C2950(config)#monitor session 1 source interface fastEthernet 0/2 <br>!-- Interface fa 0/2 is configured as source port <br>C2950(config)#monitor session 1 destination interface fastEthernet 0/3 <br>!-- Interface fa0/3 is configured as destination port <br>C2950(config)# <br><br>8500用这个 <br>8500CSR# configure terminal <br>8500CSR(config)# interface fastethernet 12/0/15 <br>8500CSR(config-if)# shutdown <br>8500CSR(config-if)# snoop interface fastethernet 0/0/1 direction both <br>8500CSR(config-if)# no shutdown <br>
发表于 2004-3-28 11:54:30 | 显示全部楼层
port monitor VLAN1 <br><br>多VLAN网络中,一定要指定这个么?今天那台交换机没有这玩意,凑合着用了。<br><br>and,如果是网路岗,也要这样设置?
发表于 2004-3-24 20:31:13 | 显示全部楼层
今天居然用上了~哈哈~哈哈~
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-4-27 20:56 , Processed in 0.075459 second(s), 18 queries , Gzip On.

快速回复 返回顶部 返回列表