Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Cisco useful feature and commands

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

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 t ftp://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 0amp 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 0amp 5

Router (config-if) # ip accounting output-packets

Router (config-if) # ip accounting access-violations

-

The contents of Copy flash are added to 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 t ftp://192.168.3.250/c1200-k9w7-tar.123-8.JA2.tar flash:

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report