我需要监控 HP Core Switch 上的流量,但我以前从未使用过 HP Core。
Remote SPAN
HP 是否提供与Cisco 交换机相同的功能?
我需要监控 HP Core Switch 上的流量,但我以前从未使用过 HP Core。
Remote SPAN
HP 是否提供与Cisco 交换机相同的功能?
如果这是基于Comware的交换机,请配置以下内容:
在源开关上:
首先,配置一个未使用的端口作为反射器端口,不要在这个端口上连接任何东西:
interface <reflector_port_id> i.e. g1/0/1
port link-type access
然后将交换机配置为将流量镜像到 VLAN:
mirroring-group 1 remote-source
mirroring-group 1 mirroring-port <mirror_port_id> both
mirroring-group 1 reflector-port <reflector_port_id>
mirroring-group 1 remote-probe vlan <vlan_id>
在目标交换机上:
mirroring-group 1 remote-destination
mirroring-group 1 monitor-port <monitor_port_id>
mirroring-group 1 remote-probe vlan <vlan_id>
interface <monitor_port_id>
port link-type access
port access vlan <vlan_id>
monitor_port_id 是连接到 Wireshark/流量分析器的端口
Procurve/ArubaOS使用 IP/UDP 封装而不是 VLAN 来从源传输到目标
首先配置目标交换机:
mirror endpoint ip <source_ip> <source_udp_port> <dest_ip> <exit_port>
出口端口是连接到 Wireshark/流量分析器的端口
现在配置源开关:
mirror <session_id> remote ip <source_ip> <source_udp_port> <dest_ip>
interface <port_id> monitor all both mirror session <session_id>
port_id 是被监控的端口
对于 Provision 交换机,首先定义目标(镜像)端口:
mirror-port 42
然后配置要镜像的源端口:
interface 10 monitor
您还可以镜像整个 VLAN:
vlan 1 monitor
完成后,关闭镜像:
no mirror-port
Cisco 的远程 SPAN被 HP 称为远程镜像。它仅在相当新的或更大的交换机上受支持:ArubaOS-Switch Software Feature Support Matrix 16.04
以下约束和限制适用于本地和远程端口镜像:
无论您是配置独立交换机还是节点组,都适用以下限制:
3.您可以在一个端口镜像配置中配置不超过一种类型的输出。也就是说,您只能使用以下其中一种来完成设置分析器名称输出语句:
4.不支持比率和损失优先选项。
你应该检查一下 -