Print

远程镜像配置后发现目的端口没有流量

2024-12-05 发表

问题描述

利用远程镜像VLAN实现本地镜像支持多目的端口配置举例(非固定反射端口方式)但是没有成功,目的口没有流量

过程分析

 

查看镜像配置正常

[SR8808-X]dis mi 1                                                                                                                 

Mirroring group 1:                                                                                                                  

    Type: Remote source                                                                                                            

    Status: Active                                                                                                                  

 Mirroring port: Ten-GigabitEthernet6/1/1 Both                                                                                     

 Reflector port: Ten-GigabitEthernet6/1/2                                                                                             

Remote probe VLAN: 4000      

 

[SR8808-X]dis vl 4000                                                                                                               

 VLAN ID: 4000                                                                                                                     

 VLAN type: Static                                                                                                                  

 Route interface: Not configured                                                                                                   

 Description: VLAN 4000                                                                                                             

 Name: VLAN 4000                                                                                                                   

 Tagged ports:   None                                                                                                               

 Untagged ports:                                                                                                                   

    GigabitEthernet3/0/11  //目的接口

 

[SR8808-X-vlan4000]d c r i i                                                                                                       

Usage: Bandwidth utilization in percentage                                                                                         

Interface            Usage (%)   Total (pps)   Broadcast (pps)   Multicast (pps)                                                   

GE3/0/11                     0             0                --                --                                                   

XGE6/1/1                    10        844615                 0                 0                                                   

XGE6/1/2                    10        844606                 0                 0                                                   

Vlan4000                    --             0                --                --      

 

[SR8808-X-vlan4000]d c r o i                                                                                                        

Usage: Bandwidth utilization in percentage                                                                                         

Interface            Usage (%)   Total (pps)   Broadcast (pps)   Multicast (pps)                                                   

GE3/0/11                     0             0                --                --                                                    

XGE6/1/1                     0             0                 0                 0                                                   

XGE6/1/2                    10        844609                 0                 0                                                   

Vlan4000                    --             0                --                --    

 

 发现反射端口有学到mac表项

[SR8808-X-vlan4000]dis mac-address                                                                                                 

MAC Address      VLAN ID    State            Port/Nickname            Aging                                                        

0cda-3232-8002   4000       Learned          XGE6/1/2                 Y                                                             

0cda-3232-807e   4000       Learned          XGE6/1/2                 Y   

 

解决方法

经确认反射端口学到mac表项的情况下打流会导致出端口观察不到流量,

查看配置已经在vlan 4000下配置了undo mac-address mac-learning enable

删除反射端口再重新配置反射端口后正常