RadarURL

네트워크
2014.03.22 00:14

CISCO 2960G 에 port mirroring 설정하기

조회 수 1135 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
# CISCO 2960G port mirroring 설정하기

- 물론 이러한 설정도 ena해서 configure로 들어 가서 설정 한다.
1. 기존의 monitoring 정보 삭제
mk_switch(config)# no monitor session all
2. 모니터링 소스 포트 할당 (1번 포트 부터 23번 포트까지 할당)
mk_switch(config)# monitor session 1 source interface GigabitEthernet 0/1 - 23
cf> port를 하나만 할당 하려면
.... GigabitEthernet 0/1 이렇게 주면 되고, 디폴트는 RX, TX 모두에 대해서 적용하지만
TX, RX에 대해서 별도 적용을 하려면
mk_switch(config)# monitor session 1 source interface GigabitEthernet 0/13 rx
이런식으로 지정해주면 된다.

3. 모니터링 목적 포트 할당 (24번 포트 할당)
mk_switch(config)#monitor session 1 destination interface GigabitEthernet 0/24

4. 마무리 및 확인
mk_switch(config)# end

mk_switch(config)# show monitor session 1

Switch#show monitor session 1
Session 1
---------
Type : Local Session
Source Ports :
Both : Gi0/1-23
Destination Ports : Gi0/24
Encapsulation : Native
Ingress : Disabled
mk_switch#

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를 따르므로 무한 배포를 하셔도 좋습니다. 출처 정도를 밝혀 주시면 더 고마울 따름이고...

 

출처 : http://nokia.egloos.com/viewer/3265695

?

공부 게시판

공부에 도움되는 글을 올려주세요.

  1. [공지] 공부 게시판 입니다.

    Date2003.08.18 By처누 Views928128
    read more
  2. MDF실, TPS실, EPS실 이게 뭘까?

    Date2025.04.15 Category네트워크 ByJaeSoo Views33
    Read More
  3. Cisco Catalyst 9200 Series

    Date2023.06.22 Category네트워크 ByJaeSoo Views506
    Read More
  4. BGP Load Balacing to multiple ISPs(AS)

    Date2023.05.31 Category네트워크 ByJaeSoo Views698
    Read More
  5. 4계층, 7계층 장비 : 로드 밸런서 (GW, NLB, ALB etc...)

    Date2023.05.30 Category네트워크 ByJaeSoo Views785
    Read More
  6. 클라우드 단일 코어 아키텍처 (제네시스 클라우드)

    Date2023.05.30 Category네트워크 ByJaeSoo Views763
    Read More
  7. NLB (Network load-balancing)

    Date2023.05.30 Category네트워크 ByJaeSoo Views713
    Read More
  8. SD-WAN

    Date2023.05.30 Category네트워크 ByJaeSoo Views655
    Read More
  9. BGP를 이용하여 두개의 ISP를 이용하는 방법은?

    Date2023.05.22 Category인터넷 ByJaeSoo Views1193
    Read More
  10. 두개의 isp 를 이용할때는 어떻게?

    Date2023.05.22 Category인터넷 ByJaeSoo Views1048
    Read More
  11. 인터넷 회선 구성 및 BGP 연동 방안

    Date2023.04.10 Category인터넷 ByJaeSoo Views40
    Read More
  12. 데이터 센터에 대한 일반 상식

    Date2023.04.04 Category네트워크 ByJaeSoo Views88
    Read More
  13. [Cloud] 오토 스케일링이란??

    Date2023.02.06 Category인터넷 ByJaeSoo Views262
    Read More
  14. Reverse DNS - 등록및 확인

    Date2016.09.24 Category네트워크 ByJaeSoo Views250
    Read More
  15. 파일질라 서버에 네트워크 드라이브 마운트하기

    Date2016.07.01 Category네트워크 ByJaeSoo Views327
    Read More
  16. 파일질라(filezilla) 디렉터리 목록 조회 실패

    Date2016.07.01 Category네트워크 ByJaeSoo Views340
    Read More
  17. 넘즈넷에 블로그/웹사이트를 등록하세요.

    Date2015.09.21 Category인터넷 ByJaeSoo Views693
    Read More
  18. 국내 포탈 웹사이트 빌더!!넘즈유틸리티!!(Numz) 설치하기!

    Date2015.09.21 Category인터넷 ByJaeSoo Views816
    Read More
  19. H514G 모뎀 대신 사용가능한 허브 iptime H5005-IGMP

    Date2015.08.28 Category네트워크 ByJaeSoo Views969
    Read More
  20. 케이블 교체 공사없이 제공되는 기가급 (300~500Mbps) 인터넷 서비스란?

    Date2015.08.28 Category네트워크 ByJaeSoo Views603
    Read More
  21. Synology NAS – 데이터 스크럽 알림

    Date2015.08.26 Category네트워크 ByJaeSoo Views662
    Read More
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 11 Next
/ 11


즐겨찾기 (가족)

JAESOO's HOMEPAGE


YOUNGAE's HOMEPAGE


장여은 홈페이지


장여희 홈페이지


장여원 홈페이지


즐겨찾기 (업무)

알리카페 홀릭

숭실대 컴퓨터 통신연구실 (서창진)

말레이시아 KL Sentral 한국인 GuestHouse


즐겨찾기 (취미)

어드민아이디

유에코 사랑회

아스가르드 좋은사람/나쁜사람

JServer.kr

제이서버 메타블로그

재수 티스토리


즐겨찾기 (강의, 커뮤니티)

재수 강의 홈페이지


한소리


VTMODE.COM


숭실대 인공지능학과


숭실대 통신연구실


베너