Ciscousefulfeatureandcommands

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:


本文题目:Ciscousefulfeatureandcommands
本文URL:http://hxwzsj.com/article/psjehd.html

其他资讯

Copyright © 2025 青羊区翔捷宏鑫字牌设计制作工作室(个体工商户) All Rights Reserved 蜀ICP备2025123194号-14
友情链接: 成都做网站建设公司 成都网站建设 网站建设公司 网站制作 做网站设计 自适应网站建设 重庆企业网站建设 网站设计制作 重庆手机网站建设 网站制作公司 成都企业网站制作 重庆企业网站建设 网站建设方案 网站建设方案 企业网站设计 攀枝花网站设计 专业网站设计 成都网站制作 四川成都网站设计 营销型网站建设 成都网站制作 成都品牌网站设计