cisco2950 怎么么配置镜像端口
哪位大家有谁会配置思科2950 镜像端口,和被镜像端口,本人要做网内监控. 1、在配置模式下,首先选择接口Fa0/1:Switch(config)#int fa0/1
输入被侦听端口:
Switch(config-if)#port monitor fastEthernet 0/2
Switch(config-if)#port monitor fastEthernet 0/5
指定管理端口:
Switch(config-if)#port monitor VLAN 1
这条命令并不意味着接口Fa0/1 将侦听vlan 1 的所有端口,它只是用来指定管理接口。
退出保存后,接口Fa0/1 设置为侦听口,接口Fa0/2,Fa0/5 设置为被侦听口。连接在接口Fa0/1 上的机器将能接收到通过接口Fa0/2,Fa0/5 的流量。
可以用命令Switch# show port monitor 来查看设置的结果:
Switch#show port monitor
Monitor Port Port Being Monitored
FastEthernet0/1 VLAN1
FastEthernet0/1 FastEthernet0/2
FastEthernet0/1 FastEthernet0/5
注:侦听口与被侦听口必须属于同一个vlan。 谢谢 learnning 努力学习! :handshake :handshake :handshake 不知道,我也学习了 学习一下 好东西,学习下 :hug: 2950 里不能打这个命令啊 ———— port monitor fastEthernet 0/2
页:
[1]
