组网
(0)
最佳答案
三个部门A、B、C分别使用Ten-GigabitEthernet3/1/1~Ten-GigabitEthernet3/1/3端口接入Device,现要求通过镜像功能,使数据检测设备ServerA和ServerB都能够对三个部门发送和接收的报文进行镜像。
图1-10 利用远程镜像VLAN实现本地镜像支持多目的端口组网图
# 创建远程源镜像组1。
<Device> system-view
[Device] mirroring-group 1 remote-source
# 将接入部门A、B、C的三个端口配置为远程源镜像组1的源端口。
[Device] mirroring-group 1 mirroring-port ten-gigabitethernet 3/1/1 to ten-gigabitethernet 3/1/3 both
# 将设备上任意未使用的端口(此处以Ten-GigabitEthernet3/1/6为例)配置为镜像组1的反射口。
[Device] interface ten-gigabitethernet 3/1/6
[Device-Ten-GigabitEthernet3/1/6] port link-mode bridge
[Device-Ten-GigabitEthernet3/1/6] mirroring-group 1 reflector-port
This operation may delete all settings made on the interface. Continue? [Y/N]: y
[Device-Ten-GigabitEthernet3/1/6] quit
# 创建VLAN10作为远程镜像VLAN。
[Device] vlan 10
# 关闭VLAN10的MAC地址学习功能。
[Device-vlan10] undo mac-address mac-learning enable
[Device-vlan10] quit
# 配置VLAN10作为镜像组1的远程镜像VLAN。
[Device] mirroring-group 1 remote-probe vlan 10
# 将接入数据检测设备的端口加入VLAN10。
[Device] interface range ten-gigabitethernet 3/1/4 ten-gigabitethernet 3/1/5
[Device-if-range] port link-mode bridge
[Device-if-range] port access vlan 10
[Device-if-range] quit
# 显示Device上所有镜像组的配置信息。
[Device] display mirroring-group all
Mirroring group 1:
Type: Remote source
Status: Active
Mirroring port: Ten-GigabitEthernet3/1/1 Both
Ten-GigabitEthernet3/1/2 Both
Ten-GigabitEthernet3/1/3 Both
Reflector port: Ten-GigabitEthernet3/1/6
Remote probe VLAN: 10
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
那这个远程vlan里需要配置ip地址吗 四台流量镜像设备的ip是否要与远程vlan的地址段一致