« 2009年10月21日 | HOME | 2009年11月02日 »

2009年10月27日

This is how to backup IOS.

TFTP
Download TFTP software from below. This is for Mac OS X.
http://mac.softpedia.com/get/Utilities/TFTP-Server.shtml

(When uploading files to this TFTP software, a blank file has to be created first prior to upload your file from router by clicking "Create File" from menu. Otherwise you will always get a error message "Access violation". See HELP of this software for more details.)


Check which IOS is installed.
Router# show flash

Send IOS from flash to tftp server.
Router# copy flash tftp
Source filename []? c800-y6-mw.121-5.yc2.bin
Address or name of remote host []? 192.168.10.50
Destination filename [c800-y6-mw.121-5.yc2.bin]?

Then IOS file has been uploaded to TFTP server!!


-------------
Reference
http://atnetwork.info/ccna/copy_ios_backup.html

投稿時間 : 17:33 個別ページ表示 | コメント (0)

Static Routing
Router(config)# ip route destination-network subnet-mask (address or interface) (administrative instance) (permanent)

If you input permanent, this routing information is not deleted even though interface is shut down.

For example,
Router(config)# ip route 172.16.1.0 255.255.255.0 192.168.1.1

You can check this setup with below commands.
To see setup,
Router# show running-config
To see routing info,
Router# show ip route
To see active routing protocols,
Router# show ip protocols

Default Routing
If there is no routing information for destination network on the router, all packets are sent to here. (If no setup for default routing, all packets are lost.)
Router(config)# ip route 0.0.0.0 0.0.0.0 (address or interface) (administrative instance) (permanent)

For example,
Router(config)# ip router 0.0.0.0 0.0.0.0 192.168.0.1

If you would like to delete the setup,
Router(config)# no ip route (address or interface) (administrative instance)

Just put no to above setup, then it will be deleted.


RIP
Set RIP as routing protocol,
Router(config)# router rip
Router(config-router)# network network-address

For example,
Router(config)# router rip
Router(config-router)# network 192.168.0.0
Router(config-router)# network 192.168.1.0

Kill RIP auto routing update
Router send a RIP information to another router every 30 seconds by UDP 520 port. It sometimes occupies network bandwidth. This is how to kill auto sending.

Only specific interface,
Router(config)# router rip
Router(config-router)# passive-interface interface-name

Or all interfaces,
Router(config)# router rip
Router(config-router)# passive-interface default

This is example for killing all routing update except FastEther0/0,
Router(config)# router rip
Router(config-router)# network 192.168.1.0
Router(config-router)# passive-interface default
Router(config-router)# no passive-interface FastEther0/0

Clear routing table
Clear all routing table,
Router# clear ip route *

Clear routing table only for specific network,
Router# clear ip router 192.168.2.0


OSPF
To setup OSPF as a routing protocol,
Router(config)# router ospf process-ID
Router(config-router)# network network-address wild-card-mask area area-number

For example,
Router(config-router)# network 172.16.0.0 0.0.255.255 area 0

Check information for OSPF neighbor (check status for neighborhood routers)
Router# show ip ospf neighor

Check status for OSPF interface on router
Router# show ip ospf interface interface-name

投稿時間 : 14:14 個別ページ表示 | コメント (0)