본문 바로가기

엔지니어/Network

스위치 포트 미러링

728x90
반응형
1. C3560, C3750 미러링 포트 설정

Config terminal 모드에서 입력

Ex.1) 출발주소 vlan 설정시
monitor session 1 source vlan 1 both// 출발 주소 vlan1, both-rx,tx 포함
monitor session 1 destination interface Fa0/24 // 도착주소 Fa0/24 포트


Ex.2) 출발주소 특정포트 설정시
monitor session 1 source interface Gi1/0/23 both //출발주소 Gi/1/0/23 포트, both-rx,tx 포함
monitor session 1 destination interface Gi1/0/11 //도착주소 Gi1/0/11 포트


2. C4006 미러링 포트 설정
set span 3/16 3/13 both inpkts disable learning enable create 
//출발주소 3/16 Port, 도착주소 3/13 Port, both(rx,tx)
set span 3/16 2/33 both inpkts enable learning enable create
//출발주소 3/16 Port, 도착주소 2/33 Port, both(rx,tx)
set span vlan 10 3/13 both inpkts disable learning enable create
//출발주소 vlan 10, 도착주소 3/13 Port, both(rx,tx)

세부 옵션
create                    Creating new SPAN session
filter                       Monitor traffic on selected vlans
inpkts                     Enable/disable destination port incoming packets
learning                  Enable/disable MAC address learning


Config 설정이 완료되면 모니터링 PC는 Destination 포트에 연결하여 사용하면 된다.
모니터링 PC 패킷 감시 프로그램으로 Wireshark, Ethereal, 스니퍼 등이 있다.


반응형

'엔지니어 > Network' 카테고리의 다른 글

광케이블 종류  (0) 2022.10.28
CISCO Access Port 와 Trunk Port의 차이점  (0) 2017.03.03
CISCO L3 NAT 구성  (0) 2017.01.10
cisco ios 백업 및 tftp 설정  (0) 2016.05.26
Alteon Layer 4 Switch Simple Manual  (0) 2016.05.26