Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng

Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng (http://quantrinet.com/forum/index.php)
-   Tài liệu tổng hợp CCNA, CCNP.., Tool, Phần mềm giả lập Router, FIX... (http://quantrinet.com/forum/forumdisplay.php?f=423)
-   -   Cách Enabling SNMP in Cisco Routers hoặc Switches và cấu hình trên PRGG monitor (http://quantrinet.com/forum/showthread.php?t=9612)

hoctinhoc 02-05-2014 03:04 PM

Cách Enabling SNMP in Cisco Routers hoặc Switches và cấu hình trên PRGG monitor
 



1. Cách Enabling SNMP in Cisco Routers hoặc Switches




  1. Kết nối vào Router/Switch

    prompt#telnet 192.168.1.88
  2. Nhập username, password xong vào mode cấu hình

    Router>enable
    Password:
    Router#
  3. Vào mode cấu hình với lệnh:

    Router#configure terminal
    Enter configuration commands, one per line. End
    with CNTL/Z.
    Router(config)#
  4. Sử dụng lệnh sau để enable SNMP-Server Readonly:

    Router(config)#snmp-server community public RO
    where "public" is the Read-only community string.
  5. Sử dụng lệnh sau để enable SNMP-Server Write-Read:

    Router(config)#snmp-server community private RW
    where "private" is the Read-write community string.
  6. Thoát khỏi và lưu cấu hình:

    Router(config)#exit
    Router#write memory
    Building configuration...
    [OK]
    Router#
2. Vào PRTG


Add sendor
IP của Switch
chọn Auto-discovery




PRTG sẽ tự động dò ra các sensor của Switch và add vào monitor




To enable SNMP traps, follow the steps below in the Configuration mode of the Router/Switch:


First, set the host to which the traps have to be sent using the folowing command:

snmp-server host <IP Address> version <v1 or 2c> <RO community string>
where,

<IP Address> refers to the IP Address of the device to which the traps have to be sent

<v1 or 2c> refers to the SNMP version

<RO community string> refers to the Read-Only community string
Then, enable SNMP Traps using the command below:

snmp-server enable traps [notification-type] [notification-option]





Tham khảo


http://www.manageengine.com/products...co-router.html


:battay:


Bây giờ là 03:51 AM. Giờ GMT +7

Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.