Cisco useful feature and commands

Source: Internet
Author: User
Tags http authentication

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 password Cisco
IP HTTP Authentication Local
IP http secure-server
IP http timeout-policy idle 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 a nd with the number of transit records Thatwill is 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 the content to TFTP Medium:

Archivetar/create Tftp:1.2.3.4/saved.tar Flash:

https://learningnetwork.cisco.com/thread/10762

Copy tftp to Flash:

Archivetar/xtract Tftp://192.168.3.250/c1200-k9w7-tar.123-8.ja2.tar Flash:


This article is from the "Sulan Network" blog, so be sure to keep this source http://zhangfang526.blog.51cto.com/8588740/1708069

Cisco useful feature and commands

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.