Router# conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# logging 10.10.10.10
Router(config)# logging facility kern
Router(config)# logging trap debugging
Router(config)# access-list 101 permit tcp any any established
Router(config)# access-list 101 permit tcp any any eq www
Router(config)# access-list 101 deny ip any any log
Router(config)# int serial0
Router(config-if)# ip access-group 101 in
Router(config-if)# exit
Router(config)# exit
Router# sh logging
Syslog logging: enabled (0 messages dropped, 0 messages rate-limited, 0 flushes,
0 overruns)
Console logging: level debugging, 4562521 messages logged
Monitor logging: level debugging, 0 messages logged
Buffer logging: level debugging, 0 messages logged
Logging Exception size (4096 bytes)
Trap logging: level debugging, 4562516 message lines logged
Logging to 10.10.10.10, 4562516 message lines logged
Log Buffer (40960 bytes):
IP: sending v1 update to 255.255.255.255 via serial01/1 (10.1.1.1)
11w1d: RIP: build update entries
11w1d: network 172.16.0.0 metric 1
11w1d: network 211.252.150.0 metric 2
11w1d: RIP: Update contains 2 routes
11w1d: RIP: Update queued
11w1d: RIP: Update sent via serial0
11w1d: RIP: Update sent via serial0
11w1d: RIP: Update sent via serial0
11w1d: RIP: Update sent via serial0
4.90(60716), 1 packet
4.50(8080), 1 packet
4.90(60720), 1 packet
11w1d: RIP: received v1 update from 172.16.14.1 on serial0
11w1d: 0.0.0.0 in 1 hops
11w1d: 211.252.150.0 in 1 hops
11w1d: network 172.16.0.0 metric 1
11w1d: network 211.252.150.0 metric 2
11w1d: RIP: sending v1 update to 255.255.255.255 via serial00/0 (172.16.14.2)
11w1d: RIP: build update entries
11w1d: network 10.0.0.0 metric 1
Router# write
%SYS-5-CONFIG_I: Configured from console by console
Building configuration...
[OK]
Router# exit
exit from router
# finish
|