Mirror 通常是 作故障排除使用...基本上分成兩類 Local Mirror 與Remote Mirror 兩種
Local Mirror 就是來源與目地都在本機交換器上面... 最多可以有一個目地介面與四個來源介面..
問題來了 如果 客戶需要兩個以上的目地介面 要怎處理???
請參考附件 P178 ...上面有解釋
下面是 設定的結果
把 g1/0/2~g1/0/3 設定成 Mirror 來源介面..
把 g1/0/5g1/0/6 設定成 Monitor 目地介面
[5130HI-PoE]mirroring-group 1 remote-source
[5130HI-PoE]mirroring-group 1 mirroring-port GigabitEthernet 1/0/2 to g 1/0/3 both
[5130HI-PoE]mirroring-group 1 reflector-port g1/0/4
[5130HI-PoE]vlan 999
[5130HI-PoE-vlan999]des
[5130HI-PoE-vlan999]description 4_Mirror
[5130HI-PoE-vlan999]port GigabitEthernet 1/0/5 to g1/0/6
[5130HI-PoE]mirroring-group 1 remote-probe vlan 999
#
interface GigabitEthernet1/0/2
mirroring-group 1 mirroring-port both
#
interface GigabitEthernet1/0/3
mirroring-group 1 mirroring-port both
[5130HI-PoE]dis mirroring-group al
Mirroring group 1:
Type: Remote source
Status: Active
Mirroring port:
GigabitEthernet1/0/2 Both
GigabitEthernet1/0/3 Both
Reflector port: GigabitEthernet1/0/4
Remote probe VLAN: 999
[5130HI-PoE]dis vlan 999
VLAN ID: 999
VLAN type: Static
Route interface: Not configured
Description: 4_Mirror
Name: VLAN 0999
Tagged ports: None
Untagged ports:
GigabitEthernet1/0/5 GigabitEthernet1/0/6
祝各位網路暢行無阻