name 10.1.1.2 r1(作解析)

ping r1

names(开启解析)

no names(关系解析)

show memory(查看内存)

show cpu(查看cpu)

show ip address(查看接口地址)

clock set 21:0:0 jul 23 2003

clock timezone GMT +8

ntp 配置

fw1(config)#ntp authentication-key 1234 md5 cisco123

fw1(config)#ntp trusted-key 1234

fw1(config)#ntp server 10.0.0.12 key 1234 source inside prefer

fw1(config)#ntp authenticate

ntp有4个版本,v1,v2不支持认证,v3,4都支持认证,v4没有被标准化,一般情况下用version3.

syslog configure

loggint选项

console-output to console

buffered-output to intemal buffer

monitor-output to telnet

host-outputto syslog server

snmp-output to snmp server

logging levels(日志级别)

0-emergencies(紧急事件)

1-alerts(警告)

2-critical(危险)

3-errors

4-warnings(警告)

5-notfications(通知)

6-informational

7-debugging

配置logging服务器

fw1(config)#logging host insde 10.0.1.11

fw1(config)#logging trap warnings

fw1(config)#logging timestamp

fw1(config)#logging device-id pix6

fw1(config)#logging on/logging enable

更改级别

fw1(config)#logging trap warnings

fw1(confgi)#logging message 302013 level 4

fw1(config)#logging message 302014 level 4

fw1(config)#show logging