Tuesday, May 10, 2011

Buat mirroring port

ni nak share sikit cmano nak buek mirroring port kat switch.ni gune switch 3com 4200G tapi mungkin model switch atas yang den gun0 mungkin command die berbeza sedikit,,

4500> system-view
[4500] interface Ethernet 1/0/1
[4500-Ethernet1/0/1] mirroring-port ?
both Mirror the inbound and outbound packets of the interface
inbound Mirror the inbound packets of the interface
outbound Mirror the outbound packets of the interface
[4500-Ethernet1/0/1] mirroring-port both
[4500-Ethernet1/0/1] quit
[4500] interface GigabitEthernet 1/0/27
[4500-GigabitEthernet1/0/27] monitor-port
[4500-GigabitEthernet1/0/27] quit
[4500] display mirror
Monitor-port:
GigabitEthernet1/0/27
Mirroring-port:
Ethernet1/0/1 both

=============================================================
seandainye tak boleh buat monitor-port.sbb die bagitau STP enable, kite disable kan dulu

system
System View: return to User View with Ctrl+Z.
[4500G]interface GigabitEthernet1/0/16
[4500G]-GigabitEthernet1/0/16]stp disable
[4500G]-GigabitEthernet1/0/16]stp edged-port disable
[4500G]-GigabitEthernet1/0/16]quit


bila dah siap kita save kan die

pastu bile nak tgk balik

[4200G]display mirroring-group all
mirroring-group 1:
type: local
status: active
mirroring port:
GigabitEthernet1/0/5 both
monitor port: GigabitEthernet1/0/16

selamat mencuba

No comments: