snmp 표시
Junos OS 운영 모드에 액세스하여 SNMP 정보를 모니터링할 수 있는 몇 가지 명령이 있습니다. 일부 명령은 다음과 같습니다.
상태 모니터 로그 및 알람 정보를 표시하는
show snmp health-monitor.디바이스 및 시스템 정보 등 MIB에서 정보를 표시하는
show snmp mib.패킷 수, 사일런트 드롭 및 무효 출력 값 등 SNMP 통계를 표시하는
show snmp statistics.RMON 알람, 이벤트, 기록 및 로그 정보를 표시하는
show snmp rmon.
다음 예제는 show snmp health-monitor 명령의 샘플 출력을 제공합니다.
user@switch> show snmp health-monitor
Alarm
Index Variable description Value State
32768 Health Monitor: root file system utilization
jnxHrStoragePercentUsed.1 58 active
32769 Health Monitor: /config file system utilization
jnxHrStoragePercentUsed.2 0 active
32770 Health Monitor: RE 0 CPU utilization
jnxOperatingCPU.9.1.0.0 0 active
32773 Health Monitor: RE 0 Memory utilization
jnxOperatingBuffer.9.1.0.0 35 active
32775 Health Monitor: jkernel daemon CPU utilization
Init daemon 0 active
Chassis daemon 50 active
Firewall daemon 0 active
Interface daemon 5 active
SNMP daemon 11 active
MIB2 daemon 42 active
...
다음 예제는 show snmp mib 명령의 샘플 출력을 제공합니다.
user@switch> show snmp mib walk system sysDescr.0 = Juniper Networks, Inc. qfx3500s internet router, kernel JUNOS 11.1-20100926.0 #0: 2010-09-26 06:17:38 UTC builder@abc.example.net: /volume/build/junos/11.1/production/20100926.0/obj-xlr/bsd/sys/compile/JUNIPER-xxxxx Build date: 2010-09-26 06:00:10 U sysObjectID.0 = jnxProductQFX3500 sysUpTime.0 = 24444184 sysContact.0 = J Smith sysName.0 = Lab QFX3500 sysLocation.0 = Lab sysServices.0 = 4
다음 예제는 show snmp statistics 명령의 샘플 출력을 제공합니다.
user@switch> show snmp statistics
SNMP statistics:
Input:
Packets: 0, Bad versions: 0, Bad community names: 0,
Bad community uses: 0, ASN parse errors: 0,
Too bigs: 0, No such names: 0, Bad values: 0,
Read onlys: 0, General errors: 0,
Total request varbinds: 0, Total set varbinds: 0,
Get requests: 0, Get nexts: 0, Set requests: 0,
Get responses: 0, Traps: 0,
Silent drops: 0, Proxy drops: 0, Commit pending drops: 0,
Throttle drops: 0, Duplicate request drops: 0
Output:
Packets: 0, Too bigs: 0, No such names: 0,
Bad values: 0, General errors: 0,
Get requests: 0, Get nexts: 0, Set requests: 0,
Get responses: 0, Traps: 0