(0)
最佳答案
您好
可以参考轻轻松松配案例里面的03-3.2-3.2.24,远程镜像的配置案例,其中源设备的配置如下:
(3) 配置SWA
# 创建远程源镜像组1。
<SWA> system-view
[SWA] mirroring-group 1 remote-source
# 创建VLAN 2作为远程镜像VLAN。
[SWA] vlan 2
# 关闭VLAN 2的MAC地址学习功能。
[SWA-vlan2] undo mac-address mac-learning enable
[SWA-vlan2] quit
# 配置远程源镜像组1的远程镜像VLAN为VLAN 2,源端口为GigabitEthernet1/0/1,反射端口为GigabitEthernet1/0/3。
[SWA] mirroring-group 1 remote-probe vlan 2
[SWA] mirroring-group 1 mirroring-port gigabitethernet 1/0/1 both
[SWA] mirroring-group 1 reflector-port gigabitethernet 1/0/3
This operation may delete all settings made on the interface. Continue? [Y/N]: y
# 配置端口GigabitEthernet1/0/2为Trunk口,并允许VLAN 2的报文通过。
[SWA] interface gigabitethernet 1/0/2
[SWA-GigabitEthernet1/0/2] port link-type trunk
[SWA-GigabitEthernet1/0/2] port trunk permit vlan 2
[SWA-GigabitEthernet1/0/2] quit
(0)
您好,请知:
还没指定remote_vlan,可参考如下配置要点:
<SW1>system-view
[SW1]vlan 999 //创建VLAN999,将用于remote-vlan
[SW1-vlan999]quit
[SW1]mirroring-group 1 remote-source //创建镜像组1,指定为远程源镜像组
[SW1]mirroring-group 1 mirroring-port GigabitEthernet 1/0/2 both //指定镜像口,镜像进出流量
[SW1]mirroring-group 1 remote-probe vlan 999 //指定remote-vlan
[SW1]mirroring-group 1 reflector-port GigabitEthernet 1/0/5 //指定反射口
This operation may delete all settings made on the interface. Continue? [Y/N]: y //指定反射口时,会提示该端口的配置会全部被删除,是否要继续,选择Y
[SW1]int ran gi 1/0/1 gi 1/0/4 //将监控设备接入的端口都划分到remote-vlan中,相当于指定为监控口
[SW1-if-range]port link-type access
[SW1-if-range]port access vlan 999
[SW1-if-range]quit
[SW1]dis mirroring-group all //查看镜像组状态
Mirroring group 1:
Type: Remote source //镜像组类型为远程源镜像组
Status: Active //镜像组状态为激活
Mirroring port:
GigabitEthernet1/0/2 Both
Reflector port: GigabitEthernet1/0/5
Remote probe VLAN: 999
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论