Cisco useful feature and commands

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:

时间: 2025-01-06 19:09:18

Cisco useful feature and commands的相关文章

OSPF详解

OSPF绝对无环的原因:SPT生成一张地图,将整张拓扑记录下来 初始化配置 检查是否配置完成,通过检查三张表"路由表"."邻居表"."拓扑表" 路由认证 跟前面学习的认证过程有些区别,没有所谓的key chain等信息 链路认证 在接口下开启认证 在R1-R2之间建立一个基本的认证,其实这个也是没办法建立邻居的原因之一 区域认证 在进程下开启认证 在同一个区域里面的密码是共享的,配置起来跟链路认证没啥区别 完整过程 注意: 不同接口的密钥可以不同

I.MX6 mfgtool2-android-mx6q-sabresd-emmc.vbs hacking

/******************************************************************** * I.MX6 mfgtool2-android-mx6q-sabresd-emmc.vbs hacking * 说明: * 以前用的mfgtool2是直接执行MfgTool2.exe就行了,现在的NXP将其封 * 装在vbs文件内,这是左栋告诉我的,这里记录一下命令行参数的本质. * * 2016-9-18 深圳 南山平山村 曾剑锋 ***********

SPAN, RSPAN, ERSPAN

SPAN, RSPAN, ERSPAN Switch port Analyzer (SPAN) is an efficient, high performance traffic monitoring system. It directs or mirrors traffic from a source port or VLAN to a destination port. This is sometimes referred to as session monitoring. SPAN is

Cisco AP Commands for AP1262N

1, 确认是胖AP后,你可以给它的interface bri 0配个IP地址,然后IE打开登这个IP地址就可以了. 2, Cisco的默认密码是:Cisco           网页管理是:用户:Cisco 密码: Cisco Cisco AP Commands for AP1262N-K-9 >enable #config #interface bVI 1 #ip address 192.168.1.1 255.255.255.0 #no shut #ip dhcp pool ap-dhcp

Cisco IOS debug command reference

Command A through D debug aaa accounting through debug auto-config debug aaa accounting : to display information on accountable events as they occur(in privileged EXEC mode) no debug aaa accounting : to disable debugging output debug aaa authenticati

Cisco IOS Debug Command Reference E through H

debug eap through debug he-module subslot periodic debug eap : to display information about Extensible Authentication Protocol(EAP)(in privileged EXEC mode) no debug eap debug ecfmpal : to enable debugging of the data path of the Ethernet Connectivit

CISCO Configuration Examples and TechNotes

from:  http://www.cisco.com/c/en/us/tech/ip/ip-routing/tech-configuration-examples-list.html Border Gateway Protocol (BGP) Adjust Administrative Distance for Route Selection in Cisco IOS Routers Configuration Example Allowas-in Feature in BGP Configu

Cisco Packet Tracer 7.2

Cisco Packet Tracer 7.2.1已于2018年12月28日发布,版本号为7.2.1.0218,现在可在Cisco Netacad网站上下载. What's new in Cisco Packet Tracer 7.2 & Packet Tracer 7.2.1 ? Packet Tracer 7.2 & 7.2.1 main new feature is the new theme of the user interface designed to give a bett

CIsco动态路由配置之EIGRP

Cisco配置动态路由,可以使用EIGRP(增强型内部网关路由选择协议)进行配置 EIGRP支持: 快速收敛:使用DUAL(弥散更新算法)来实现快速收敛. 带宽的有效利用:发送部分.增量的路由更新而不是发送整个路由表,从而实现带宽的有效利用. 支持多个网络层协议:使用独立于协议的模块(PDM)来支持IP,IPX,Appletalk等协议. 支持VLSM(变长子网掩码)和CIDR(无类域间路由) 思路:分别配置各个路由器的端口IP 使用EIGRP 在各自路由器配置所属的网段 R1#CONF T E