KEMBAR78
Wiki academy sysadmin 3_day | PPTX
1
(시스템/네트워크)
관리자가 바로 쓸 수 있는 파이썬
3 Day
조 훈(Hoon Jo)
2
1
2
<생략>
3
 CDP로 얻은 정보를 인터페이스의 설명에 작성하기
 스케줄러를 통해 인터페이스 설명을 자동으로 갱신하기
Cisco Confidential© 2011 Cisco and/or its affiliates. All rights reserved. 4
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 5
C3750G에서 ‘show cdp neighbors’ 실행
vNXOS #1에서 ‘show cdp neighbors’ 실행
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 6
Interface ethernet 1/1에 cdp 활성화 하기
 conf t configure terminal
 int e1/1 interface ethernet 1/1
 cdp enable
 cdp timer 5
vNXOS #1에서 ‘show cdp neighbors’ 다시 실행
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 7
<생략>
P328 [코드 4-17] auto_add_description_cdp.py
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 8
<중략>
<중략>
작성한 코드를 실행하고 인터페이스 설명의 업데이트를 확인
Cisco Confidential© 2011 Cisco and/or its affiliates. All rights reserved. 9
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 10
네트워크 장비에서 주기적으로 실행하고 싶은 명령을 설정
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 11
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 12
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 13
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 14
P397 [코드 5-3] intStDesc.py
<생략>
P398 [코드 5-4] cdp_scheduler.py 참조
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 15
인자 값 0 0 1 을 넣어서 실행
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 16
최대 1분 후에 ‘sh run int e1/1’를 실행
<중략>
다시 설명(description)을 지우고 1분 후에 확인
<중략>
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 17
구성 파일 확인
 sh run | last 12
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 18
1) IPMI를 이용해 FAN 히스토리 데이터 작성하기
Wiki academy sysadmin 3_day

Wiki academy sysadmin 3_day

  • 1.
    1 (시스템/네트워크) 관리자가 바로 쓸수 있는 파이썬 3 Day 조 훈(Hoon Jo)
  • 2.
  • 3.
    3  CDP로 얻은정보를 인터페이스의 설명에 작성하기  스케줄러를 통해 인터페이스 설명을 자동으로 갱신하기
  • 4.
    Cisco Confidential© 2011Cisco and/or its affiliates. All rights reserved. 4
  • 5.
    © 2011 Ciscoand/or its affiliates. All rights reserved. Cisco Confidential 5 C3750G에서 ‘show cdp neighbors’ 실행 vNXOS #1에서 ‘show cdp neighbors’ 실행
  • 6.
    © 2011 Ciscoand/or its affiliates. All rights reserved. Cisco Confidential 6 Interface ethernet 1/1에 cdp 활성화 하기  conf t configure terminal  int e1/1 interface ethernet 1/1  cdp enable  cdp timer 5 vNXOS #1에서 ‘show cdp neighbors’ 다시 실행
  • 7.
    © 2011 Ciscoand/or its affiliates. All rights reserved. Cisco Confidential 7 <생략> P328 [코드 4-17] auto_add_description_cdp.py
  • 8.
    © 2011 Ciscoand/or its affiliates. All rights reserved. Cisco Confidential 8 <중략> <중략> 작성한 코드를 실행하고 인터페이스 설명의 업데이트를 확인
  • 9.
    Cisco Confidential© 2011Cisco and/or its affiliates. All rights reserved. 9
  • 10.
    © 2011 Ciscoand/or its affiliates. All rights reserved. Cisco Confidential 10 네트워크 장비에서 주기적으로 실행하고 싶은 명령을 설정
  • 11.
    © 2011 Ciscoand/or its affiliates. All rights reserved. Cisco Confidential 11
  • 12.
    © 2011 Ciscoand/or its affiliates. All rights reserved. Cisco Confidential 12
  • 13.
    © 2011 Ciscoand/or its affiliates. All rights reserved. Cisco Confidential 13
  • 14.
    © 2011 Ciscoand/or its affiliates. All rights reserved. Cisco Confidential 14 P397 [코드 5-3] intStDesc.py <생략> P398 [코드 5-4] cdp_scheduler.py 참조
  • 15.
    © 2011 Ciscoand/or its affiliates. All rights reserved. Cisco Confidential 15 인자 값 0 0 1 을 넣어서 실행
  • 16.
    © 2011 Ciscoand/or its affiliates. All rights reserved. Cisco Confidential 16 최대 1분 후에 ‘sh run int e1/1’를 실행 <중략> 다시 설명(description)을 지우고 1분 후에 확인 <중략>
  • 17.
    © 2011 Ciscoand/or its affiliates. All rights reserved. Cisco Confidential 17 구성 파일 확인  sh run | last 12
  • 18.
    © 2011 Ciscoand/or its affiliates. All rights reserved. Cisco Confidential 18 1) IPMI를 이용해 FAN 히스토리 데이터 작성하기

Editor's Notes

  • #4 Agenda and module outline of topics covered.
  • #18 152-153페이지를 보셔야 합니당.