IOS upgrade CISCO Router

IOS upgrade CISCO Router:

Install TFTP server on your PC/Laptop. Then keep your updated IOS on “C:TFTP-Root” directory & set ip and subnet mask on your NIC card. Here i use: 1.1.1.10 255.255.255.0  ip of my pc. [boxads]

Router#sh flash:

System flash directory:
File  Length   Name/status
1   33725096  asr901-universalk9-mz.152-2.SNI.bin
2   1180     CAT1811U22B_1396860941.lic
[33726404 bytes used, 66674744 available, 100401148 total]
98304K bytes of processor board System flash (Read/Write)

[bodyads]

Router#
Router#erase flash:
Erasing the flash filesystem will remove all files! Continue? [confirm]
Erasing device… eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeee …erased

Read more

Reset Cisco Router password

Reset Cisco Router password:

Today i will discuss how to reset Cisco Router password. so follow bellow steps………..

[boxads]

Step-1.  Reboot your router first, when it rebooting attempt to break into ROM Monitor (ROMmon) by issuing the break sequence (usually Ctrl and break from the Hyperterminal) from a console connection. Refer to: Cisco Standard Break Key Combinations You should see this ROMmon prompt:

rommon 1>

Step-2.  Change the configure register value to ignore the startup configuration by issuing the confreg command, as shown in this example:

rommon 1> confreg 0x2142

Step-3.  To reload the router, issue the reset command, as shown in this example:

rommon 2> reset

Reset Cisco Router password
Reset Cisco Router password

Read more

Cisco Router factory-default

Cisco Router factory-default:

Today i will discuss how to do Cisco Router factory-default or initial configuration mode. we configure it two way, Erase nvram and erase startup-config”, So lets follow bellow procedure………..[boxads]

#.To erase the configuration file, use erase nvram: command.

Router> en
Router#erase nvram:

Reload the router by reload command.

Router# reload

Read more

Juniper Router factory default

Juniper Router factory default:

Are you want to  juniper router factory default ? or delete total configuration ?

There are many reason to want to reset the configuration back to factory defaults on a Juniper Router. Perhaps you bought a router off eBay and its got an existing configuration and you don’t want to manually delete every section of the config. Maybe you have to sanitize your devices because they’re being decommissioned and sold off. Wouldn’t want configurations with company confidential information ending up in the hands of random strangers who bought the devices off eBay would you? Sadly this does happen. [boxads]

There are two ways to reset the configuration back to factory defaults. Both methods of course require root or super-user privileges. The first method is known as the zeroize method. This method removes all existing configurations off the Juniper device including the configuration, certs, logs and forces a system reboot. This process is used when you need to sanitize a device prior to decommissioning. This method is done executing the single command request system zeroize in user mode. It will prompt you to confirm this action and will reboot the device.

The second process which is a more common does not erase the configuration pe se but replaces the running configuration with the factory default configuration while the device is running. Once the existing running configuration is replaced by the factory default configuration you must still commit the changes however you’re required to set the root password prior to committing the changes. To replace the running config with the factory default config, you would execute the load factory-default command in configuration mode.

You should note when loading the factory-default configuration, the existing hostname you have assigned to the device will remain until the device is rebooted or the hostname is changed in configuration.

Now that you’re familiar with the commands needed to execute this procedure you should attempt to perform this procedure on R1 or you own device.

Factory default procedure are given below:

Step-1. Type the load factory-default command in configuration mode:

root@host# load factory-default

Read more

How to Reset a Cisco Switch to Factory Default

How to Reset a Cisco Switch to Factory Default

Are you find cisco switch factory default command?

Don’t worry please follow bellow step. [boxads]

To delete total configuration from switch:

Erase startup-config:

Example:
Switch#erase startup-config
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
Switch#reload

To delete All VLAN from switch:

Enter the following commands in the privileged mode:

Delete flash:vlan.dat:

Read more

VLAN Based Traffic Shaping Cisco Switch

VLAN Based Traffic Shaping:

Today i will discuss how to configure VLAN based traffic shaping on cisco Catalyst ME3400 switch. Suppose you have 4 vlan [21,22,23,24] on a trunk port & you want to bandwidth shaping specific vlan 21 & 22. Here we declare 5Mbps BW for Vlan 21 & 2Mbps BW for Vlan 22. [boxads]

You can enable bandwidth shaping on an interface (or sub-interface) in three easy steps. Just remember: class, policy & interface.

Class:

At first you need to create a class map for those Vlan. Here we create vlan21 & vlan22 as a class map.

class-map match-all vlan21
 match vlan  21
class-map match-all vlan22
 match vlan  22

policy:

Now it’s time to define our policy map. In this case, we’re going to take any traffic that matched the vlan21 & vlan22 class (which, as you remember, is all traffic) and apply a shaping policy to it. Also we create subvlan & mainvlan policy map.

Read more