Basic Command

 

 

 


Reboot

 

Reboot Router

# 10 minutes
reload in 10

# at 1:00 p.m
reload at 13:00

reload cancel

Reboot AP

show ap summary

config ap reset AP1

show ap uptime

 


時間

 

show:

FW1# show clock

11:33:01.351 HKST Wed Jun 25 2014

FW1# show clock detail

11:33:08.561 HKST Wed Jun 25 2014
Time source is hardware calendar
UTC time is: 03:33:08 UTC Wed Jun 25 2014

set:

clock set hh:mm:ss day month year

 

Configure the Cisco ASA as an NTP client

Config:

ntp server ip_address [key key_id] [source interface_name] [prefer]

e.g.

# stdtime.gov.hk

ntp server 118.143.17.82

Verify:

show ntp status

Clock is synchronized, stratum 2, reference is 118.143.17.82
nominal freq is 99.9984 Hz, actual freq is 99.9984 Hz, precision is 2**6
reference time is d754cb64.5ad00a8e (12:15:32.354 HKST Wed Jun 25 2014)
clock offset is 2.2524 msec, root delay is 3.19 msec
root dispersion is 1893.40 msec, peer dispersion is 1891.05 msec

show ntp associations

      address         ref clock     st  when  poll reach  delay  offset    disp
*~118.143.17.82    .MRS.             1    13   128  177     3.3    2.50   140.7
 * master (synced), # master (unsynced), + selected, - candidate, ~ configured

 

sync with Win2008 servers:

If you need to sync Cisco boxes to these Win2008 servers,

disable the w32time service and install an NTPv4 server for Windows.

 


names

 

! 啟用 name 功能

names

! 建立 Name 到 IP 的  mapping

name <IP> <Name> description <String>
 

注意:

當現在

name 192.168.3.51 ostick_lan_ip

static (inside,outside) ostick_wan_ip ostick_lan_ip netmask 255.255.255.255

在行 no "name 192.168.3.51 ostick_lan_ip" 後,

那 static 果句會自動變成

static (inside,outside) ostick_wan_ip 192.168.3.51 netmask 255.255.255.255

 


Static Route

 

route if_name dest_ip mask gateway_ip [distance]

Example

# a static route is created that sends all traffic destined for 10.1.1.0/24 to the router (10.1.2.45) connected to the inside interface.

hostname(config)# route inside 10.1.1.0 255.255.255.0 10.1.2.45 1

 

Creative Commons license icon Creative Commons license icon