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

刪除反射端口再重新配置反射端口後正常