View Single Post
Tuổi 02-05-2014, 04:04 PM   #1
hoctinhoc
Guest
 
Trả Lời: n/a
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


  Trả lời ngay kèm theo trích dẫn này