cisco4506
配置SPAN
指定源
Command Purpose
Step 1 configure terminal 进入Switch 1配置状态
Step 2 Switch(config)# [no] monitor session{session_number} {source {interfacetype/num} | {vlan vlan_ID}} [, | - | rx | tx| both] 指定SPAN会话号(1到6),源端口(以太或千兆口),或者VLAN,同时指定监视的流量方向。使用no关键字来恢复缺省配置。
Step 3 end 退出
例子:
Switch(config)# monitor session 1 source interface fastethernet 5/1
Switch(config)# monitor session 1 source interface Gi 5/1
指定目标
Command Purpose
Step 1 configure terminal 进入Switch 1配置状态
Step 2 Switch(config)# [no] monitor session{session_number} {destination {interfacetype/num} } 指定SPAN会话号(1到6)和目标端口,或者VLAN,同时指定监视的流量方向。使用no关键字来恢复缺省配置。
Step 3 end 退出
例子:
Switch(config)# monitor session 1 destination interface fastethernet 5/48
监视一个trunk接口上的源VLAN
Command Purpose
Step 1 configure terminal 进入Switch 1配置状态
Step 2 Switch(config)# [no] monitor session{session_number} {filter vlan {vlan_ID}[, | - ]} 当一个SPAN源是trunk接口时监视指定VLAN,filter过滤关键字限制监视在指定VLAN上的流量,一般用于监视trunk接口。监视是通过在指定VLAN上的所有端口进行的。使用no关键字来恢复缺省配置。
Step 3 end 退出
例子:
Switch(config)# monitor session 2 filter vlan 1 - 5 , 9
5 Responses
youFive
10|Jul|2008 1can you speak english?
白总
10|Jul|2008 2能偷看大家都在干什么么?
笨笨
10|Jul|2008 3ham你太nb了
cheng
12|Jul|2008 4ham你自己研究的吗
ham
14|Jul|2008 5当然不是啊…… 我查的 就和查函数似的
Leave a reply
Search
Categories
Links
Archives
Calendar
A design creation of Design Disease
Copyright © 2007 - rara。 - is proudly powered by WordPress
InSense 1.0 Theme by Design Disease brought to you by HostGator Web Hosting.