Switch#show monitor session 1
ps.1 전체의 트래픽을 두 포트로 RX, TX 나누어서 미러링 설정하기
- session 1과 session 2로 나누어 소스를 설정하면서 session 1은 rx, session 2는 tx를 받도록 설정한다.
가령, port 1~ 24번 까지 전체에 대해서 port 25 로 rx, port 26으로 tx를 받게 하려면 다음과 같이 설정한다.
# 소스 포트 설정
mk_switch(config)# monitor session 1 source interface GigabitEthernet 0/1 - 24 rx
mk_switch(config)# monitor session 2 source interface GigabitEthernet 0/1 - 24 tx
# 모니터링 포트 설정
mk_switch(config)#monitor session 1 destination interface GigabitEthernet 0/25
mk_switch(config)#monitor session 2 destination interface GigabitEthernet 0/26
이렇게 세팅하면 된다.
- 위를 작성 했더니 또 하나의 질문이 왔다. 2960G의 경우, fiber port와 copper port를 같이 가지고 있다.
이를 이용해 미디어 컨버터 등을 이용하지 않고도 광구간의 네트웍에서 copper로 미러링 받을 수 있게 해달라고 ...
ps.2 Fiber port로 유입되는 트래픽을 copper port로 미러링 하기
# 소스 포트 설정 (fiber port 지정)
mk_switch(config)# monitor session 1 source interface GigabitEthernet 0/25 - 28
# 모니터링 포트 설정 (copper port 지정)
mk_switch(config)#monitor session 1 destination interface GigabitEthernet 0/24
이렇게 세팅하면 된다.
- 나는 copy left를 따르므로 무한 배포를 하셔도 좋습니다. 출처 정도를 밝혀 주시면 더 고마울 따름이고...