掌控企业关键应用曲折路
站在黑客的角度上,Sniffer(嗅探器)是一种常用的收集有用数据方法,这些数据可以是用户的帐号和密码,可以是一些商用机密数据等。
为了避免频繁搔扰,老好人干脆将限制到指定VLAN的SPAN源流量的步骤也给了他。下表是指定过滤VLAN步骤。
|
步骤 |
命令 |
解释 |
|
1
|
Switch#configure terminal
|
进入全局配置模式。 |
|
2
|
Switch (config) # no monitor session {session_number |all |local |remote}
|
在对话中移除所有存在的SPAN配置。 |
|
3
|
Switch (config) # monitor session session_numbersource interface interface-id
|
指定源接口的特性和SPAN会话。 |
|
4
|
Switch (config) # monitor session session_number filter vlan vlan-id [,|-]
|
限制到指定VLAN的SPAN源流量。 |
|
5
|
Switch (config) # monitor session session_number destination {interface interface-id [,|-] [encapsulation replicate]}
|
指定SPAN会话和目的接口(监视接口) |
|
6
|
Switch (config-if) # end
|
返回特权EXEC模式。 |
|
7
|
Switch # show monitor [session session_number]
Switch # show running-config
|
校验配置。 |
|
8
|
Switch # copy running-config startup-config
|
保存当前配置。 |
| Switch(config)# monitor session 1 source interface fastethernet 4/10 Switch(config)# monitor session 1 filter vlan 10 Switch(config)# monitor session 1 destination interface fastethernet 4/15 Switch(config)# no monitor session 1 Switch# show monitor session 2 |
- 本文关键词:
- 嗅探器

