Cisco okosságok gyüjteménye
Monitor kábellel összekötni a routert a géppel.
1 percen belül, kb. mielőtt elkezdi tölteni a router konfigot BREAK (gtkterm menü, vagy ctrl-b).
rommon 1> confreg 0x2142
rommon 2> reset
Majd a kérdésekre no, vagy crtl-c
Router> enable
Router# write memory or copy startup-config running-config
Router# show running-config
Router# configure terminal
Router(config)#
Router(config)# config-register 0x2102
Router# write memory
Password Recovery Procedure for the Cisco 806, 826, 827, 828, 831, 836, and 837 Series Routers [Cisco 800 Series Routers] - Cisco Systems
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# ip http server
Router(config)# ip http secure-server
Router(config)# ip http authentication local end
Router(config)# ip http timeout-policy idle 600 life 86400 requests 10000
Router(config)# username username privilege 15 secret 0 password
Step 1 Access the router CLI using a Telnet connection or the console port.
Step 2 Delete your old Cisco IOS image from Flash memory, using the following CLI commands, and
responding to the prompts as shown:
Router# delete
Delete filename []? y
Delete flash:y? [confirm] n
Delete flash:y aborted!
Router# squeeze flash:
Step 3 Copy the Cisco IOS image to the router Flash memory, using the following CLI command:
Router# copy tftp:/// flash:
When prompted do NOT erase the Flash memory.
Step 4 Reboot the router to use the new Cisco IOS image using the following CLI command:
Router# reload
http://niatec.info/mediacontent/cisco/media/targets/resources_mod07/sdmi...
conf t
service dhcp
ip dhcp pool 192.168.1.0/24
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 192.168.1.5 192.168.1.6
exit
ip dhcp excluded-address 192.168.1.1 192.168.1.199
ip dhcp excluded-address 192.168.1.241 192.168.1.255
^Z
Router(config)#service dhcp
Router(config)#no service dhcp
show ip dhcp bindingThe last steps we need to configure is to tell the router which our inside and outside addresses. This is achieved using the following commands:
show ip dhcp server statistics
debug ip dhcp server
no ip dhcp conflict logging
clear ip dhcp binding *
ftp://user:[email protected]/router-dhcp
Router(config)# int ethernet 0
Router(config-if)# ip address 192.168.1.1 255.255.255.0
Router(config-if)# ip nat inside
Router(config)# int ethernet 1
Router(config-if)# ip address 100.100.100.100 255.255.255.0
Router(config-if)# ip nat outside
Router(config)# ip nat pool WANPOOL 100.100.100.10 100.100.100.10 netmask 255.255.255.0
Router(config)# ip access-list 10 permit 192.168.1.0 0.0.0.255
Router(config)# ip nat inside source list 10 pool WANPOOL overload
Router(config)# ip route 0.0.0.0 0.0.0.0 100.100.100.100
Router# show ip nat statistics
Router# show ip nat translations
Cisco Router Configuration Tutorial
Cisco IOS IP Command Reference, Volume 2 of 3: Routing Protocols, Release 12.2 - IP Routing Protocol-Independent Commands: redistribute (IP) Through traffic-share min [Cisco IOS Software Releases 12.2 Mainline] - Cisco Systems
Cisco administration 101: Understanding Ethernet MAC addresses
cisco, switch, port, solaris, server, configuring, relay, security, administration, instructions, switches Cisco router | Tech-Recipes
How to configure NAT in Cisco IOS (NAT Overloading) - Part 1 | ItsyourIP.com
- sysadmin's blog
- A hozzászóláshoz belépés szükséges