본문 바로가기
반응형

전체 글213

UDLD란 UDLD란 Unidirectional Link Detection의 약자이다. 간단히 요약하면 단방향 링크를 검출하는 시스코 전용, Layer 2 프로토콜이다. 단방향 링크가 검출되면, UDLD는 영향받은 port를 shutdown하고 alerts을 해당 유저에게 보낸다. UDLD는 Layer 1과 함께 물리적 link의 상태를 감지한다. Layer 1에서는 auto negotiation이 physical signaling과 falut detection을 핸들링한다. UDLD는 단순 물리적인 연결성만을 검출하는 auto negotiation과는 다르게 한 단계 더 나아가 neighbor의 identity를 확인하거나 잘못 설정된 port를 shutdown하는 기능까지 제공한다. 즉, auto negotia.. 2020. 9. 16.
복수개의 값 리스트에서 지우기 (None, multiple data remove in list) 네트워크 장비에 접속해 그 출력을 파싱할 때 자주 필요한 기능으로 추후 빨리 찾기 위해서 기록해 놓는다. I use this feature really frequently when parsing network devices console's output. Basically, this post is for myself. 1. None 값을 지우기 (Remove None values in list) -> filter 함수 이용 (Using filter function) a = ['''TenGigabitEthernet1/13 unassigned YES TFTP administratively down down TenGigabitEthernet1/14 unassigned YES TFTP administrative.. 2020. 9. 11.
Cisco ISE ERS API (Device Update) 오늘 날짜를 기준으로 (2020/8/25) PyPi에서 검색해서 사용할 수 있는 ISE ERS 라이브러리에는 Network Device의 정보를 업데이트 할 수 있는 함수가 구현되어있지 않다. As of today's date (08/25/2020), the Cisco ISE ERS library, which can be gotten from PyPi, does not have a update function to update the network device information. >>> https://pypi.org/project/ISE/ ISE Python wrapper for Cisco ISE ERS API pypi.org 회사 업무를 하던 중, ISE의 Network Device 정보를 업데이트.. 2020. 8. 26.
Basic usage exchangelib (MS Exchange) MS Exchange is a intergrated software for email, calendar, tasks, and etc. There are many features that we can use. But this time, I introduce a basic usage of exchagelib with Python. Especially sending an email with an attachment. from exchangelib import * credentials = Credentials(username='yourusername', password='yourpassword') account = Account(primary_smtp_address='youremailaddress', crede.. 2020. 8. 1.
반응형