Está en la página 1de 8

Cu hnh logging xut ra mt syslog server dng Router Cisco Mc ch ca bi vit l s ghi li ton b qu trnh log trn Router

cisco, phc v cho mc ch qun tr, tra log khi cn thit.

1. Phn Mm: Ta s dng phn mm sau


Trch: http://www.kiwisyslog.com/kiwi-syslog-server-overview/ Bn Viettel IDG cng thy s dng e ny. Cc bn load bn trial v dng th. - Phn mm gi lp Router dng IOS tht ko th thiu l : GNS3.(Tm bi vit trong forum).

2. M hnh:

Trong m hnh trn, mnh s dng thm my o vmw ci Kiwi-Syslog Server (Trn windows server 2003). My o ny c ni vo Card mng VMnet1, cng Net vi Fa0/0 ca ROuter nh.

3. Ci t Kiwi-Syslog:
- Chy file ci t:

- Ti y c th chn 2 cch ci t: Nh 1 App hoc Services ca windows. Chn 1 trong 2 cch v bm Next:

- Bm Next:

- Bm Next:

- Qu trnh ci t ang din ra.....

- Ci t thnh cng:

Giao din ca Kiwi-syslog khi chy ln.

4. Cu hnh:
- Trn Router Cisco: Trch: R0(config)#int fastEthernet 0/0 R0(config- if)#ip add 192.168.3.10 255.255.255.0 R0(config- if)#no shu R0(config- if)#no shutdown t IP cho cng Fa0/0 Trch: R0#ping 192.168.3.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.3.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 4/26/68 ms - Ping kim tra n my ci Kiwi-Syslog server. Trch: R0(config)#logging 192.168.3.2 R0(config)#logging trap 7 R0(config)#end - Khai bo a ch IP ca Syslog Server, Router ghi log v. Trch: R0(config)#logging buffered 4096 R0(config)#end - Khai bo logging buffer (tnh bng Bytes) Trch: R0#show logging Syslog logging: enabled (11 messages dropped, 1 messages rate-limited, 0 flushes, 0 overruns, xml disabled, filtering disabled) Console logging: level debugging, 36 messages logged, xml disabled, filtering disabled

Monitor logging: level debugging, 0 messages logged, xml disabled, filtering disabled Buffer logging: level debugging, 6 messages logged, xml disabled, filtering disabled Logging Exception size (4096 bytes) Count and timestamp logging messages: disabled No active filter modules. Trap logging: level debugging, 31 message lines logged Logging to 192.168.3.2 (udp port 514, audit disabled, link up), 16 message lines logged, xml disabled, filtering disabled Log Buffer (4096 bytes): - Show logging.

5. Kim tra:
Trch: R0(config)#int loopback 0 R0(config- if)#ip address 10.10.10.1 255.255.255.0 - Khai bo thm 1 cng loopback 0, v login vo Kiwi-Syslog kim tra.

- Shutdown cng Fa0/0 v no Shut

- y ch l bi lab cu hnh rt c bn, cc bn c th c thm trong cun ISCW hiu thm. Chc vui v.!

También podría gustarte