d11S21交换机监控口的配置.doc

  1. 1、本文档共4页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
d11S21交换机监控口的配置

21交换机基端口监控的配置 端口监控配置 例:fa0/2接口监控fa0/10接口的步骤如下: Switch# configure terminal !进入全局配置模式 Enter configuration commands, one per line. End with CNTL/Z. Switch(config)# monitor session 1 source interface fastEthernet 0/10 both !设置被监控口 2006-03-16 17:26:56 @5-CONFIG:Configured from outband Switch(config)# monitor session 1 destination interface fastEthernet 0/2 !设置监控口 2006-03-16 17:27:19 @5-CONFIG:Configured from outband Switch# show monitor session 1 !显示配置信息 Session: 1 Source Ports: Rx Only : None Tx Only : None Both : Fa0/10 Destination Ports: Fa0/2 Switch# show running-config !显示当前所有配置信息 System software version : 1.63 Build Jan 6 2006 Rel Building configuration... Current configuration : 472 bytes ! version 1.0 ! no enable services web-server hostname Switch vlan 1 ! enable secret level 1 5 tH.Y*TquC,tZ[VrvD+S(\Ws=G1X)sv enable secret level 15 5 ttj9=G1qu7R:H.rvu_;C,ts8U0D+S ! interface vlan 1 no shutdown ip address 8 ! ip default-gateway 0 snmp-server community public ro monitor session 1 destination interface fastEthernet 0/2 monitor session 1 source interface fastEthernet 0/10 both end 例:创建一个SPAN会话并指定监控口和被监控口 1步骤 configure terminal 进入全局配置模式。 2步骤 no monitor session session_number 清除当前配置。 3步骤 monitor session session_number source interface interface-id [| ,-] {both | rx | tx} 指定源端口。对于session_number1,请指定。对于interface-id,请指定相应的接口号。 4步骤 monitor session session_number destination interface interface-id 指定源端口。对于session_number1,请指定。对于interface-id,请指定相应的接口号 5步骤 end 返回特权模式 6步骤 show monitor [session session_number] 确认您的配置 下面这个例子说明了如何创建一个会话:会话。首先,将当前会话的配置清除掉,然后设1MIRROR8置端口的帧到端口。 Show monitor session 特权命令用于确认配置。 Switch(config)# no monitor session 1 Switch(config)# monitor session 1 source interface gigabitEthernet1/1 both Switch(config)# monitor session 1 destination interface gigabitEthernet 1/8 Switch(config)# end Switch# show monitor session 1 Session 1 ----------- Souce Ports: RX Only: None TX Only: None Both: Gi 1/1 Destination Ports: Gi 1/8

文档评论(0)

zhuliyan1314 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档