十年网站开发经验 + 多家企业客户 + 靠谱的建站团队
量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决
configure DHCP server on Cisco Router:
---------------------------------------
ip dhcp excluded-address 192.168.27.1 192.168.27.50
!
ip dhcp pool cisco
network 192.168.27.0 255.255.255.0
DNS-server 192.168.7.20
domain-name fagorarrasate.net
default-router 192.168.27.1
成都创新互联专业为企业提供清河网站建设、清河做网站、清河网站设计、清河网站制作等企业网站建设、网页设计与制作、清河企业网站模板建站服务,十载清河做网站经验,不只是建网站,更提供有价值的思路和整体网络服务。
configure HTTP server:
---------------------
ip http server
username cisco privilege 15 password cisco
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
configure local logon without username and password/ with username and password:
-------------------------------
line con 0
exec-timeout 0 0
login local
line vty 0 4
password cisco
login
transport input all
Crack username/password for Cisco router:
-------------------------
after router boot up, in 10s, press FN+Ctrl+B or Ctrl+Break
then, confreg 0x2142
reset
----------
en
copy start-confi running
config-register 0x2102
no enable pass
no enable secret
exit
wr
--------------
IPAccounting archive router configuration
archive router:
http://www.packetu.com/2013/05/07/how-to-automate-cisco-backup-using-configuration-archive/
archive
path tftp://10.254.254.10/router/
write-memory
no file verify auto
int g2/0
ip accounting output-packets
exit
sh ip accounting
int g2/0
no ip accounting
exit
clear ip accounting
http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipapp/configuration/15-s/iap-15-s-book/iap-ipserv.html
Router# configureterminal
Router(config)#interface ethernet 0/5
Router(config-if)#ip accounting mac-address input
Router(config-if)#ip accounting mac-address output
Router(config-if)#ip accounting precedence input
Router(config-if)#ip accounting precedence output
The followingexample shows how to enable IP accounting with the ability to identify IPtraffic that fails IP access lists and with the number of transit records thatwill be stored in the IP accounting database limited to 100:
Router# configureterminal
Router(config)# ipaccounting-transits 100
Router(config)#interface ethernet 0/5
Router(config-if)#ip accounting output-packets
Router(config-if)#ip accounting access-violations
---------------
Copy flash的内容到tftp中:
archive tar /create tftp:1.2.3.4/saved.tar flash:
https://learningnetwork.cisco.com/thread/10762
Copy tftp to flash:
archive tar /xtract tftp://192.168.3.250/c1200-k9w7-tar.123-8.JA2.tar flash: