네트워크
네트워크 매니지먼트와 SNMP
라구넹
2024. 6. 7. 15:42
Autonomous Systems
네트워크 관리 프로토콜
응용 계층 프로토콜임([IP헤더]-[UDP헤더]-[SNMP헤더]-[Data])
관리 대상(Managed device)과 관리 주체(Managing entity)
MIB(Management Information Base)는 각 Managed device에 존재하는 데이터베이스, 장치의 상태와 성능 정보를 저장
관리 주체는 SNMP를 통해 네트워크의 각 장치에서 데이터를 수집함
Managed device(장치 그 자체)의 agent(장치에 있는 소프트웨어)가 MIB에 모아뒀던 데이터를 Managing entity에 보냄
-> 관리 주체가 해당 정보를 보고 네트워크를 모니터링하고 관리
이때 데이터를 주고 받을 때 사용하는 프로토콜이 SNMP
Message Type | Function |
GetRequest GetNextRequest GetBulkRequest |
Manager-to-agent: 데이터 요청 |
InformRequest | Manager-to-Manager: MIB값 전달 (일반적으론, 관리 엔티티가 다른 관리 엔티티에 트랩과 유사한 알림을 보내고 확은 응답을 요구한다고 설명) |
SetRequest | Manager-to-agent: MIB값 세팅 |
Response | Agent-to-manager: 요청에 대한 응값, 값 |
Trap | Agent-to-manager: 예외 상황 |
SNMP PDU (Protocol Data Unit)
SNMP 메시지에서 헤더와 데이터를 둘 다 포함하는 포맷
PDU type (0~3) |
Req ID | Err Status | Err Idx | Name | Value | Name | Value | .. |
Type, GET/SET header, Variables to get/set
PDU type 4 |
Enterprise | Agent Addr | Trap Type | Specific code |
Time Stamp |
Name | Value | .. |
Type, Trapheader, Trap info