镜像端口简单的说,就是把交换机一个(数个)端口(源端口)的流量完全拷贝一份,从另外一个端口(目的端口)发出去,以便网络管理人员从目的端口通过分析源端口的流量来找出网络存在问题的原因。
1.
2.
3. [SwitchA]interfaceGigabitEthernet1/0/1 [SwitchA-GigabitEthernet1/0/1]mirroring-portboth 华为6502做端口镜像
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
Cisco 镜像口
[cur]mirroring-group1local创建组 [cur-GigabitEthernet1/0/8]mirroring-group1monitor-port监控口 [cur-GigabitEthernet0/0/1]mirroring-group1mirroring-portboth被监控口 [cur]dismirroring-groupall mirroring-group1: type:local status:active mirroringport: GigabitEthernet0/0/1both
sw-1#show monitor 检查是否已存在镜像的配置
sw-1#conf t 进入全局模式
sw-1<config>#monitor session 1 source vlan 3 - 10 rx 监控vlan 3 -10 sw-1<config>#monitor session 1 destination int f0/24 把信息复制到f0/24 sw-1<config>#end 返回
sw-1#show monitor
端口在VLAN1 把1/0/1 镜像到 1/0/2 怎么做?
首先把端口1/0/1划到vlan1去
inter fa1/0/1
switchport access vlan 1
monitor session 1 source vlan 1 rx //设置监控的源端口
monitor session 1 destination int fa1/0/2 //设置监控的目的端口
end
show monitor
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说教育文库CISCO华为交换机端口镜像配置总结(5)在线全文阅读。
相关推荐: