Catalyst 3560G SPAN 会话未镜像 IGMP 数据包

Catalyst 3560G SPAN 会话未镜像 IGMP 数据包

我正在开发一个充当多播主机的设备,并想观察它对 IGMP 查询的响应。

我的 Catalyst 3560G 设置如下(完整配置如下):端口 0/1 是允许被测设备启动的 TFTP 服务器。端口 0/3 是被测设备。端口 0/14 是我的 PC,运行 wireshark 和 ostinato,用于发送 IGMP 查询。端口 0/1 和 0/3 位于同一个 VLAN 上,端口 0/14 监控端口 0/3,入口发送到同一个 VLAN。这些是交换机上唯一连接到任何东西的三个端口。

当我发送查询时,Wireshark 会捕获传出的帧,而不会捕获其他任何帧。我的被测设备会接收该帧(我得到了调试输出)。

我原本以为 SPAN 会话会在从端口 0/3 发出时向我发送 IGMP 查询的副本,并在从端口 0/3 进入时向我发送相应报告的副本,但我什么都没看到。我唯一能表明被测设备有响应的迹象是端口 0/3 上的多播接收计数器,该计数器在正确的时间(发送查询后 0-10 秒)递增。

我究竟做错了什么?

Current configuration : 2490 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname cs3560
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$WKu9$g6YTo5sW/vvVmpbVmgTye0
!
no aaa new-model
system mtu routing 1500
ip subnet-zero
no ip dhcp use vrf connected
!
no ip igmp snooping
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface GigabitEthernet0/1
switchport access vlan 161
switchport mode access
!
! <snip>  uninvolved ports removed
!
interface GigabitEthernet0/3
switchport access vlan 161
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet0/14
!
no cdp run
!
control-plane
!
line con 0
line vty 0 4
password 123
login
line vty 5 15
password 123
login
!
monitor session 1 source interface Gi0/3
monitor session 1 destination interface Gi0/14 ingress untagged vlan 161
end

答案1

尝试使用这些命令:

monitor session 1 source interface Gi0/3 /both/

monitor session 1 destination interface Gi0/14 ingress untagged vlan 161
end

相关内容