公 告












配置syslog:张超






 

Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#no ip do lo
Router(config)#line con 0
Router(config-line)#no exec-t
Router(config-line)#logg s
Router(config-line)#ho R1

R1(config)#inter e1/0
R1(config-if)#ip add 172.16.18.101 255.255.0.0
R1(config-if)#no shut
R1(config-if)#exi
R1(config)#logging host 172.16.0.22
R1(config)#logging trap debugging
R1(config)#end
R1#show logging
Syslog logging: enabled (9 messages dropped, 1 messages rate-limited, 0 flushes, 0 overruns, xml disabled)
    Console logging: level debugging, 14 messages logged, xml disabled
    Monitor logging: level debugging, 0 messages logged, xml disabled
    Buffer logging: disabled, xml disabled
    Logging Exception size (4096 bytes)
    Count and timestamp logging messages: disabled
    Trap logging: level debugging, 18 message lines logged
        Logging to 172.16.0.22, 1 message lines logged, xml disabled

IP packet debugging is on


R1# tableid=0, s=172.16.18.101 (local), d=172.16.0.22 (Ethernet1/0), routed via FIB
*Mar  1 00:13:51.819: IP: tableid=0, s=172.16.18.101 (local), d=172.16.0.22 (Ethernet1/0), routed via FIB
*Mar  1 00:13:51.819: IP: tableid=0, s=172.16.18.101 (local), d=172.16.0.22 (Ethernet1/0), routed via FIB
*Mar  1 00:13:51.819: IP: tableid=0, s=172.16.18.101 (local), d=172.16.0.22 (Ethernet1/0), routed via FIB
*Mar  1 00:13:51.819: IP: tableid=0, s=172.16.18.101 (local), d=172.16.0.22 (Ethernet1/0), routed via FIB
*Mar  1 00:13:51.819: IP: tableid=0, s=172.16.18.101 (local), d=172.1

 

 


beiluo 发表于 2008-8-11 12:46:06 阅读全文 | 回复(0) | 引用通告 | 编辑





发表评论:

    昵称:
    密码:
    主页:
    标题:



$New BLog ::

$Comment ::

$Message ::

$Login ::
$Search ::
$BLog Info ::

$Links ::


Powered by Oblog.