2014年2月10日星期一

How to set the speed limit on Cisco router

In the Cisco router device, such as Cisco 2911 and 1941 router , only the support Cisco fast forwarding (CEF, CiscoExpressForward) of the switch or router can use rate-limit to flow, the specific settings at three steps:
Fast router limit inputoutput: This is the definition of data flow direction.
BPS: define the flow rate limit, the unit is BPS
Burst-normalburst-max: the definition of the data size, using 80001600032000 general, in bytes,when arriving data exceeds this capacity, will trigger an action, discarded or forwarding, so as to achieve the purpose of speed.

Conform-action and exceed-action: refers to the processing strategy following the rates and more than the rate of flow.

2014年2月7日星期五

How to upgrade IOS of Cisco Catalyst 2960 Switch

Cisco 2960 IOS upgrade:
To upgrade IOS of Cisco Catalyst 2960 Switch we have to follow some basic checklist first-
a.    Check for the older version.
b.    Backup Older Version of IOS.
c.    Backup Switch Configuration.

Required Softwares –
a.    TFTP server utility for taking/ restoring backup of IOS.
b.    Putty / Hyper-terminal Utility to access switch.

Commands to Check IOS version –

Switch01#sh flash:

Directory of flash:/

2 -rwx 3096 Mar 1 1993 05:40:50 +05:30 multiple-fs
3 -rwx 10644 Mar 1 1993 05:38:52 +05:30 config.text
4 -rwx 5 Mar 1 1993 05:38:52 +05:30 private-config.text
6 -rwx 8040418 Mar 1 1993 01:28:27 +05:30 c2960-lanbasek9-mz.122-46.bin

32514048 bytes total (24457728 bytes free

Commands to take Backup of Old IOS –
a.    Start TFTP software on PC (Ip address of PC – 10.10.11.60).  Location were backup will be stored – C:\tftpd32.273
b.    Commands on Switch –

Switch01#copy flash: tftp:
Source filename []? c2960-lanbasek9-mz.122-46.bin
Address or name of remote host []? 10.10.11.60
Destination filename [c2960-lanbasek9-mz.122-46.bin]? c2960-lanbasek9-mz.122-46.bin
! Com pleted.

Commands to take Backup of Switch Configuration –

a. Start TFTP software on PC (Ip address of PC – 10.10.11.60)
Location were backup will be stored – C:\tftpd32.273
b. Commands on Switch -
Switch01#copy startup tftp:
Address or name of remote host []? 10.10.11.60
Destination filename [Switch01-confg]? Switch01-confg
! Completed.

Upgrading Cisco Catalyst 2960 Switch IOS –

TFTP Settings – Select the directory where New Cisco IOS is located –
i.e. C:\tftpd32.273

Commands on Switch –

Switch01#copy tftp: flash
Address or name of remote host []? 10.10.11.60
Source filename[]? c2960-lanbasek9-mz.122-50.SE3.bin
Destination filename [c2960-lanbasek9-mz.122-50.SE3.bin]?
! Completed.

Check for new IOS in Flash –
Switch01#sh flash:
Directory of flash:/
2 -rwx 3096 Mar 1 1993 05:40:50 +05:30 multiple-fs
3 -rwx 10644 Mar 1 1993 05:38:52 +05:30 config.text
4 -rwx 5 Mar 1 1993 05:38:52 +05:30 private-config.text
6 -rwx 8040418 Mar 1 1993 01:28:27 +05:30 c2960-lanbasek9-mz.122-46.bin
7 -rwx 8040418 Feb 11 2010 01:28:27 +05:30 c2960-lanbasek9-mz.122-50.SE3.bin

Now, the Up gradation is Completed, we have to remove Old IOS from Flash –
Switch01#delete flash:c2960-lanbasek9-mz.122-46.bin
! Completed.

Setup new IOS as the default IOS during Boot process –
Switch01(config)#boot system flash: c2960-lanbasek9-mz.122-50.SE3.bin


Reload Cisco Switch for new IOS to Take effect -

Switch01# reload