ݺߣ

ݺߣShare a Scribd company logo
1
(시스템/네트워크)
관리자가 바로 쓸 수 있는 파이썬
8 Day
조 훈(Hoon Jo)
2
<생략>
3
문제 상황 전후 ethanalyzer 로그 수집
Cisco Confidential© 2011 Cisco and/or its affiliates. All rights reserved. 4
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 5
P658 [여기서 잠깐] SPAN과 ethanalyzer란?
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 6
IP 기준으로 패킷을 캡처
 vNXOSxx1 에서 다음의 명령어 실행
 Ethanalyzer local interface mgmt display-filter ip.addr==10.82.10.xx4
 RHELxx4에 접속하여 vNXOSxx1에 ping을 실행
 Ping 10.82.10.xx1
[그림] 패브릭 인터커넥트 전면부
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 7
IP 기준으로 패킷을 캡처
 vNXOSxx1 에서 다음의 명령어 실행
 Ethanalyzer local interface mgmt display-filter ip.addr==10.82.10.xx4
 RHELxx4에 접속하여 vNXOSxx1에 ping을 실행
 Ping 10.82.10.xx1
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 8
P691 [코드 7-15] ethanalyzer.py
<생략>
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 9
여유 공간 값을 수정
 1035를 200으로 수정
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 10
캡처할 인터페이스 변경
 Inband를 mgmt로 수정
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 11
P699를 참조해서 실행
파일이 증가하는 것은 다음과 같이 확인
 리눅스 #2번에서 ping 10.82.10.xx1 로 ping 을 보냄
 N9kv#1번에서 guestshell을 실행
 watch -n 1 ls -lh /bootflash/ethanalyzer_log/ 를 실행
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 12
실행 중 내용을 보고 싶다면?
 ethanalyzer local read <pcap 파일>
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 13
P705 [코드 7-16] ethanalyzer_monitoring.py
<생략>
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 14
여유 공간 값을 수정
 1035를 200으로 수정
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 15
P707을 참조해서 실행
파일이 증가하는 것은 다음과 같이 확인
 리눅스 #4번에서 ping -s 9000 -i 0.1 10.82.10.xx1 로 ping 을 보냄
 N9kv#1번에서 guestshell을 실행
 watch -n 1 ls -lh /bootflash/ethanalyzer_log/ 를 실행
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 16
두번째 로그가 발생하는 것은 다음과 같이 확인
 N9kv#1번 창을 하나 더 열고 ‘logit error’ 입력
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 17
네트워크 구성 파일 변경 시에 자동으로 구성 파일 백업하기
Wiki academy sysadmin 8_day
Ad

Recommended

Wiki academy sysadmin 10_day
Wiki academy sysadmin 10_day
Jo Hoon
Wiki academy sysadmin 6_day
Wiki academy sysadmin 6_day
Jo Hoon
Wiki academy sysadmin 3_day
Wiki academy sysadmin 3_day
Jo Hoon
Wiki academy sysadmin 9_day
Wiki academy sysadmin 9_day
Jo Hoon
Wiki academy sysadmin 2_day
Wiki academy sysadmin 2_day
Jo Hoon
리눅스를 이용한 Nas만들기
리눅스를 이용한 Nas만들기
SeongSik Choi
HTTPS, 원격제어
HTTPS, 원격제어
SeongSik Choi
시스템/네트워크 관리자가 바로 쓸 수 있는 파이썬
시스템/네트워크 관리자가 바로 쓸 수 있는 파이썬
위키북스
Ssl 하드웨어 가속기를 이용한 성능 향상
Ssl 하드웨어 가속기를 이용한 성능 향상
knight1128
Wiki academy sysadmin 5_day
Wiki academy sysadmin 5_day
Jo Hoon
Solaris 11 network virtualization & Server Virtualization for cloud
Solaris 11 network virtualization & Server Virtualization for cloud
suk kim
Lam pstack
Lam pstack
DooNa Lee
한컴MDS_국산 RTOS NEOS 제품 및 적용 사례
한컴MDS_국산 RTOS NEOS 제품 및 적용 사례
HANCOM MDS
Oracle solaris comstar introduce and configuration ppt sukkim
Oracle solaris comstar introduce and configuration ppt sukkim
suk kim
ACL - cisco 2811 router
ACL - cisco 2811 router
준기 홍
(OCI 탐험일지) nginx 설치(오라클 리눅스 7)
(OCI 탐험일지) nginx 설치(오라클 리눅스 7)
Jay Park
CentOS 5.3에 Cubrid 설치 방법
CentOS 5.3에 Cubrid 설치 방법
phpkorea
Oracle database 12 c on oracle linux 7.3
Oracle database 12 c on oracle linux 7.3
suk kim
가상머신 환경에서 리눅스 및 큐브리드 설치 가이드 20150714
가상머신 환경에서 리눅스 및 큐브리드 설치 가이드 20150714
경오 이
왜 쿠버네티스는 systemd로 cgroup을 관리하려고 할까요
왜 쿠버네티스는 systemd로 cgroup을 관리하려고 할까요
Jo Hoon
firewalld concept and configuration
firewalld concept and configuration
suk kim
Enterprise Linux 7 new feature_network configuration
Enterprise Linux 7 new feature_network configuration
suk kim
window에서 linux로 파일 전송하기
window에서 linux로 파일 전송하기
Korea University
Wiki academy sysadmin 4_day
Wiki academy sysadmin 4_day
Jo Hoon
Wiki academy sysadmin 7_day
Wiki academy sysadmin 7_day
Jo Hoon
Wiki academy sysadmin 1_day
Wiki academy sysadmin 1_day
Jo Hoon
시스코 wIPS 소개자료
시스코 wIPS 소개자료
활 김
[OpenStack Day in Korea 2015] Track 2-1 - Cisco Defined OpenStack
[OpenStack Day in Korea 2015] Track 2-1 - Cisco Defined OpenStack
OpenStack Korea Community
All_Things_ASA_v3_1_20140609.pdf
All_Things_ASA_v3_1_20140609.pdf
ssusercbaa33

More Related Content

What's hot (16)

Ssl 하드웨어 가속기를 이용한 성능 향상
Ssl 하드웨어 가속기를 이용한 성능 향상
knight1128
Wiki academy sysadmin 5_day
Wiki academy sysadmin 5_day
Jo Hoon
Solaris 11 network virtualization & Server Virtualization for cloud
Solaris 11 network virtualization & Server Virtualization for cloud
suk kim
Lam pstack
Lam pstack
DooNa Lee
한컴MDS_국산 RTOS NEOS 제품 및 적용 사례
한컴MDS_국산 RTOS NEOS 제품 및 적용 사례
HANCOM MDS
Oracle solaris comstar introduce and configuration ppt sukkim
Oracle solaris comstar introduce and configuration ppt sukkim
suk kim
ACL - cisco 2811 router
ACL - cisco 2811 router
준기 홍
(OCI 탐험일지) nginx 설치(오라클 리눅스 7)
(OCI 탐험일지) nginx 설치(오라클 리눅스 7)
Jay Park
CentOS 5.3에 Cubrid 설치 방법
CentOS 5.3에 Cubrid 설치 방법
phpkorea
Oracle database 12 c on oracle linux 7.3
Oracle database 12 c on oracle linux 7.3
suk kim
가상머신 환경에서 리눅스 및 큐브리드 설치 가이드 20150714
가상머신 환경에서 리눅스 및 큐브리드 설치 가이드 20150714
경오 이
왜 쿠버네티스는 systemd로 cgroup을 관리하려고 할까요
왜 쿠버네티스는 systemd로 cgroup을 관리하려고 할까요
Jo Hoon
firewalld concept and configuration
firewalld concept and configuration
suk kim
Enterprise Linux 7 new feature_network configuration
Enterprise Linux 7 new feature_network configuration
suk kim
window에서 linux로 파일 전송하기
window에서 linux로 파일 전송하기
Korea University
Ssl 하드웨어 가속기를 이용한 성능 향상
Ssl 하드웨어 가속기를 이용한 성능 향상
knight1128
Wiki academy sysadmin 5_day
Wiki academy sysadmin 5_day
Jo Hoon
Solaris 11 network virtualization & Server Virtualization for cloud
Solaris 11 network virtualization & Server Virtualization for cloud
suk kim
한컴MDS_국산 RTOS NEOS 제품 및 적용 사례
한컴MDS_국산 RTOS NEOS 제품 및 적용 사례
HANCOM MDS
Oracle solaris comstar introduce and configuration ppt sukkim
Oracle solaris comstar introduce and configuration ppt sukkim
suk kim
ACL - cisco 2811 router
ACL - cisco 2811 router
준기 홍
(OCI 탐험일지) nginx 설치(오라클 리눅스 7)
(OCI 탐험일지) nginx 설치(오라클 리눅스 7)
Jay Park
CentOS 5.3에 Cubrid 설치 방법
CentOS 5.3에 Cubrid 설치 방법
phpkorea
Oracle database 12 c on oracle linux 7.3
Oracle database 12 c on oracle linux 7.3
suk kim
가상머신 환경에서 리눅스 및 큐브리드 설치 가이드 20150714
가상머신 환경에서 리눅스 및 큐브리드 설치 가이드 20150714
경오 이
왜 쿠버네티스는 systemd로 cgroup을 관리하려고 할까요
왜 쿠버네티스는 systemd로 cgroup을 관리하려고 할까요
Jo Hoon
firewalld concept and configuration
firewalld concept and configuration
suk kim
Enterprise Linux 7 new feature_network configuration
Enterprise Linux 7 new feature_network configuration
suk kim
window에서 linux로 파일 전송하기
window에서 linux로 파일 전송하기
Korea University

Similar to Wiki academy sysadmin 8_day (20)

Wiki academy sysadmin 4_day
Wiki academy sysadmin 4_day
Jo Hoon
Wiki academy sysadmin 7_day
Wiki academy sysadmin 7_day
Jo Hoon
Wiki academy sysadmin 1_day
Wiki academy sysadmin 1_day
Jo Hoon
시스코 wIPS 소개자료
시스코 wIPS 소개자료
활 김
[OpenStack Day in Korea 2015] Track 2-1 - Cisco Defined OpenStack
[OpenStack Day in Korea 2015] Track 2-1 - Cisco Defined OpenStack
OpenStack Korea Community
All_Things_ASA_v3_1_20140609.pdf
All_Things_ASA_v3_1_20140609.pdf
ssusercbaa33
Sourcefire_Technical_Bootcamp_20140609.pdf
Sourcefire_Technical_Bootcamp_20140609.pdf
ssusercbaa33
실무로 배우는 시스템 성능 최적화 10부. 네트워크 모니터링
실무로 배우는 시스템 성능 최적화 10부. 네트워크 모니터링
Hyunsoo Jung
Wire shark 사용법 및 네트워크 개론 살짝 설명
Wire shark 사용법 및 네트워크 개론 살짝 설명
진우 이
Son 기술 개발 1차
Son 기술 개발 1차
Young Hwan Kim
Mininet
Mininet
ymtech
Tcpdump
Tcpdump
jeonghoon
Cisco network analytics 솔루션
Cisco network analytics 솔루션
Woo Hyung Choi
Cisco asa firewall을 통한 패킷 흐름
Cisco asa firewall을 통한 패킷 흐름
IT Tech
[232] 성능어디까지쥐어짜봤니 송태웅
[232] 성능어디까지쥐어짜봤니 송태웅
NAVER D2
Radware Alteon Introduction - new GUI
Radware Alteon Introduction - new GUI
윤기 정
네트워크 부트의 활용, 원격관리
네트워크 부트의 활용, 원격관리
Choonghyun Yang
[브로셔]X-CSCF [통화/세션 제어 시스템]
[브로셔]X-CSCF [통화/세션 제어 시스템]
xenersystems
Wiki academy sysadmin 4_day
Wiki academy sysadmin 4_day
Jo Hoon
Wiki academy sysadmin 7_day
Wiki academy sysadmin 7_day
Jo Hoon
Wiki academy sysadmin 1_day
Wiki academy sysadmin 1_day
Jo Hoon
시스코 wIPS 소개자료
시스코 wIPS 소개자료
활 김
[OpenStack Day in Korea 2015] Track 2-1 - Cisco Defined OpenStack
[OpenStack Day in Korea 2015] Track 2-1 - Cisco Defined OpenStack
OpenStack Korea Community
All_Things_ASA_v3_1_20140609.pdf
All_Things_ASA_v3_1_20140609.pdf
ssusercbaa33
Sourcefire_Technical_Bootcamp_20140609.pdf
Sourcefire_Technical_Bootcamp_20140609.pdf
ssusercbaa33
실무로 배우는 시스템 성능 최적화 10부. 네트워크 모니터링
실무로 배우는 시스템 성능 최적화 10부. 네트워크 모니터링
Hyunsoo Jung
Wire shark 사용법 및 네트워크 개론 살짝 설명
Wire shark 사용법 및 네트워크 개론 살짝 설명
진우 이
Cisco network analytics 솔루션
Cisco network analytics 솔루션
Woo Hyung Choi
Cisco asa firewall을 통한 패킷 흐름
Cisco asa firewall을 통한 패킷 흐름
IT Tech
[232] 성능어디까지쥐어짜봤니 송태웅
[232] 성능어디까지쥐어짜봤니 송태웅
NAVER D2
Radware Alteon Introduction - new GUI
Radware Alteon Introduction - new GUI
윤기 정
네트워크 부트의 활용, 원격관리
네트워크 부트의 활용, 원격관리
Choonghyun Yang
[브로셔]X-CSCF [통화/세션 제어 시스템]
[브로셔]X-CSCF [통화/세션 제어 시스템]
xenersystems
Ad

More from Jo Hoon (16)

이스티오 (Istio) 자습서 v0.5.0
이스티오 (Istio) 자습서 v0.5.0
Jo Hoon
[GitOps] Argo CD on GKE (v0.9.2).pdf
[GitOps] Argo CD on GKE (v0.9.2).pdf
Jo Hoon
Prometheus on EKS
Prometheus on EKS
Jo Hoon
Prometheus on NKS
Prometheus on NKS
Jo Hoon
[GuideDoc] Deploy EKS thru eksctl - v1.22_v0.105.0.pdf
[GuideDoc] Deploy EKS thru eksctl - v1.22_v0.105.0.pdf
Jo Hoon
[네전따] 네트워크 엔지니어에게 쿠버네티스는 어떤 의미일까요
[네전따] 네트워크 엔지니어에게 쿠버네티스는 어떤 의미일까요
Jo Hoon
CDN on GKE with Ingress
CDN on GKE with Ingress
Jo Hoon
The myths of deprecating docker in kubernetes
The myths of deprecating docker in kubernetes
Jo Hoon
온프레미스 쿠버네티스에서도 로드밸런서를 (w MetalLB)
온프레미스 쿠버네티스에서도 로드밸런서를 (w MetalLB)
Jo Hoon
[네전따 27회] 네트워크 자동화 어렵지 않아요
[네전따 27회] 네트워크 자동화 어렵지 않아요
Jo Hoon
[Cook book] ansible 4_dell emc networking
[Cook book] ansible 4_dell emc networking
Jo Hoon
[Ansible] open network automation
[Ansible] open network automation
Jo Hoon
[Fs8600] nas session validation test_by_hoon_jo
[Fs8600] nas session validation test_by_hoon_jo
Jo Hoon
Ansible part for_po_c(w dellos9 dellos10)_ext_v1.0
Ansible part for_po_c(w dellos9 dellos10)_ext_v1.0
Jo Hoon
[Python] Quick book for dell switch_os10
[Python] Quick book for dell switch_os10
Jo Hoon
Ucs correctable ecc policy change tac forum (28.apr.2016 - hoon jo - tac)
Ucs correctable ecc policy change tac forum (28.apr.2016 - hoon jo - tac)
Jo Hoon
이스티오 (Istio) 자습서 v0.5.0
이스티오 (Istio) 자습서 v0.5.0
Jo Hoon
[GitOps] Argo CD on GKE (v0.9.2).pdf
[GitOps] Argo CD on GKE (v0.9.2).pdf
Jo Hoon
Prometheus on EKS
Prometheus on EKS
Jo Hoon
Prometheus on NKS
Prometheus on NKS
Jo Hoon
[GuideDoc] Deploy EKS thru eksctl - v1.22_v0.105.0.pdf
[GuideDoc] Deploy EKS thru eksctl - v1.22_v0.105.0.pdf
Jo Hoon
[네전따] 네트워크 엔지니어에게 쿠버네티스는 어떤 의미일까요
[네전따] 네트워크 엔지니어에게 쿠버네티스는 어떤 의미일까요
Jo Hoon
CDN on GKE with Ingress
CDN on GKE with Ingress
Jo Hoon
The myths of deprecating docker in kubernetes
The myths of deprecating docker in kubernetes
Jo Hoon
온프레미스 쿠버네티스에서도 로드밸런서를 (w MetalLB)
온프레미스 쿠버네티스에서도 로드밸런서를 (w MetalLB)
Jo Hoon
[네전따 27회] 네트워크 자동화 어렵지 않아요
[네전따 27회] 네트워크 자동화 어렵지 않아요
Jo Hoon
[Cook book] ansible 4_dell emc networking
[Cook book] ansible 4_dell emc networking
Jo Hoon
[Ansible] open network automation
[Ansible] open network automation
Jo Hoon
[Fs8600] nas session validation test_by_hoon_jo
[Fs8600] nas session validation test_by_hoon_jo
Jo Hoon
Ansible part for_po_c(w dellos9 dellos10)_ext_v1.0
Ansible part for_po_c(w dellos9 dellos10)_ext_v1.0
Jo Hoon
[Python] Quick book for dell switch_os10
[Python] Quick book for dell switch_os10
Jo Hoon
Ucs correctable ecc policy change tac forum (28.apr.2016 - hoon jo - tac)
Ucs correctable ecc policy change tac forum (28.apr.2016 - hoon jo - tac)
Jo Hoon
Ad

Wiki academy sysadmin 8_day

  • 1. 1 (시스템/네트워크) 관리자가 바로 쓸 수 있는 파이썬 8 Day 조 훈(Hoon Jo)
  • 3. 3 문제 상황 전후 ethanalyzer 로그 수집
  • 4. Cisco Confidential© 2011 Cisco and/or its affiliates. All rights reserved. 4
  • 5. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 5 P658 [여기서 잠깐] SPAN과 ethanalyzer란?
  • 6. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 6 IP 기준으로 패킷을 캡처  vNXOSxx1 에서 다음의 명령어 실행  Ethanalyzer local interface mgmt display-filter ip.addr==10.82.10.xx4  RHELxx4에 접속하여 vNXOSxx1에 ping을 실행  Ping 10.82.10.xx1 [그림] 패브릭 인터커넥트 전면부
  • 7. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 7 IP 기준으로 패킷을 캡처  vNXOSxx1 에서 다음의 명령어 실행  Ethanalyzer local interface mgmt display-filter ip.addr==10.82.10.xx4  RHELxx4에 접속하여 vNXOSxx1에 ping을 실행  Ping 10.82.10.xx1
  • 8. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 8 P691 [코드 7-15] ethanalyzer.py <생략>
  • 9. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 9 여유 공간 값을 수정  1035를 200으로 수정
  • 10. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 10 캡처할 인터페이스 변경  Inband를 mgmt로 수정
  • 11. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 11 P699를 참조해서 실행 파일이 증가하는 것은 다음과 같이 확인  리눅스 #2번에서 ping 10.82.10.xx1 로 ping 을 보냄  N9kv#1번에서 guestshell을 실행  watch -n 1 ls -lh /bootflash/ethanalyzer_log/ 를 실행
  • 12. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 12 실행 중 내용을 보고 싶다면?  ethanalyzer local read <pcap 파일>
  • 13. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 13 P705 [코드 7-16] ethanalyzer_monitoring.py <생략>
  • 14. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 14 여유 공간 값을 수정  1035를 200으로 수정
  • 15. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 15 P707을 참조해서 실행 파일이 증가하는 것은 다음과 같이 확인  리눅스 #4번에서 ping -s 9000 -i 0.1 10.82.10.xx1 로 ping 을 보냄  N9kv#1번에서 guestshell을 실행  watch -n 1 ls -lh /bootflash/ethanalyzer_log/ 를 실행
  • 16. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 16 두번째 로그가 발생하는 것은 다음과 같이 확인  N9kv#1번 창을 하나 더 열고 ‘logit error’ 입력
  • 17. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 17 네트워크 구성 파일 변경 시에 자동으로 구성 파일 백업하기

Editor's Notes

  • #4: Agenda and module outline of topics covered.