Skip to content

AdminID.kr

조회 수 437 추천 수 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. IP 대역 계산

    Date2013.11.27 ByJaeSoo Views1308
    Read More
  2. 회선비, 상면비

    Date2013.10.24 ByJaeSoo Views2184
    Read More
  3. 코로케이션(Co-location)이란?

    Date2013.10.24 ByJaeSoo Views1432
    Read More
  4. 데이터 센터에 대한 일반 상식

    Date2013.10.24 ByJaeSoo Views1750
    Read More
  5. 텐센트 10TB 무료 대용량 클라우드 서비스 모바일 APP/PC 클라이언트 한글화 배포(PC버전 추가)

    Date2013.09.28 ByJaeSoo Views3855
    Read More
  6. 인터넷속도측정 10초면 가능 인터넷속도 체크해보세요

    Date2013.09.11 ByJaeSoo Views3686
    Read More
  7. 구글(Google) Play 결제 정보 변경

    Date2013.09.10 ByJaeSoo Views2002
    Read More
  8. STP보호기술 2 - BPDU Filtering 와 Loop Guard

    Date2014.03.25 ByJaeSoo Views500
    Read More
  9. STP보호기술 1 - BPDU Guard 와 Root Guard

    Date2014.03.25 ByJaeSoo Views512
    Read More
  10. loop방지 및 STP 보호기술 (Spanning tree)

    Date2014.03.25 ByJaeSoo Views221
    Read More
  11. CISCO 2960G 에 port mirroring 설정하기

    Date2014.03.22 ByJaeSoo Views437
    Read More
  12. 인티게이트(IntiGate) QoS 스위치 제품 소개

    Date2014.03.20 ByJaeSoo Views641
    Read More
  13. PBX 및 IP PBX 구성

    Date2014.01.28 ByJaeSoo Views723
    Read More
  14. IP PBX의 이해 (IP PBX란?)

    Date2014.01.28 ByJaeSoo Views921
    Read More
  15. 라우터에서의 IP주소 이해 (CCNA)

    Date2013.11.27 ByJaeSoo Views1011
    Read More
Board Pagination Prev 1 Next
/ 1

PageViews   Today : 1987 Yesterday : 5962 Total : 22018460  /  Counter Status   Today : 1665 Yesterday : 4389 Total : 1234622

Edited by JAESOO

sketchbook5, 스케치북5

sketchbook5, 스케치북5

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소