RSSAll Entries Tagged With: "Cisco General"

Difference between Cisco Login & Login Local Commands

There are two commands login and login local under line VTY, CONSOLE and AUX configuration in Cisco IOS,  login command is used for  access the device using password  which is configured under line configuration and login local command is used for  access the device using local username database. Login Command Configuration on Line VTY I have configured login command under line VTY and local username database as below. ciscoconsole#sh run | b line vty line vty 0 4 password cisco login transport input all line vty 5 15 password cisco login transport input all ! We can configure local user accounts on a Cisco router or switch and it is much easier to login when login fallback from Tacacs+/Radius to  local. When you are creating users on a Cisco router we can assign different privilege levels(0-15) to different users to restrict access to certain commands. You may want a junior […]

Cisco pipe Command Examples with Regular Expressions

We use the pipe (|) command more frequently on Cisco devices to get specific output of show & troubleshooting commands. Below are the available options for Pipe (|) command from Cisco ASR1002 Router. Cisco_Router#sh run | ? append   Append redirected output to URL (URLs supporting append operationonly) begin   Begin with the line that matches count  Count number of lines which match regexp exclud   eExclude lines that match format   Format the output using the specified spec file include   Include lines that match redirect  Redirect output to URL section   Filter a section of output tee    Copy output to URL Append option will send all output from the show command to be appended to a file already created at either a local (flash: disk:) or remote (ftp: tftp:) location. Example: The below command would copy the output off the show running-config command to an ftp server […]

Verify Cisco IOS Images Checksum with MD5 File Validation

MD5 File Validation on Cisco Router The MD5 File Validation feature provides a mechanism for users to verify that Cisco IOS image files on Cisco Devices are not corrupted or incomplete. This feature uses the industry-standard MD5 algorithm for improved reliability and security. It’s always advisable to check the MD5 checksum after you downloaded the new IOS image and again after you uploaded the new image to the Cisco device. Otherwise, your Routers may not even able to bootup with corrupted images. There are free MD5 checksum program available on the Internet. One such program is the MD5 Checker. And it’s also probably good idea to store the MD5 value alongside with the image. Run MD5 file validation for Cisco IOS, It computes and displays the MD5 values, note down the MD5 values before uploading into Cisco device. How to Verify Cisco IOS Images Using the MD5 Algorithm on Cisco […]

Show / Find Users Currently Logged into Cisco Router/Switch

We can find or see the users currently logged into your Cisco Routers/Switches and also time, from which IP address users logged into Cisco Router/Switches. In Wide area networks are often very wide and installing or troubleshooting remote Routers often requires login from more than one physical location. It is simple to get a listing of the users logged into a Router and it useful to troubleshoot issues some times. Show Users command on Cisco Router/Switch To find the users logged into a Cisco Router/Switch, issue show users command: Cisco-Router#show users or Cisco-Router#sh users Show/Find Users Currently Logged into Cisco Router/Switch Find below output using show users command on Cisco Router or Switch: Cisco-Router#sh users Line       User       Host(s)                  Idle            Location 1 vty 0     John      24w2d 2 vty 1     John      24w2d 3 vty 2     Bijju      idle                    00:00:37 4 vty 3     Kanth     24w2d * 5 […]

Automatic configuration backup on Cisco Devices with Archive Command

Use Cisco Archive Command to save Configuration The configuration backup on Cisco Routers and Switches with archive command is very useful for store, organize, restore complete configuration in case of a broken Router and manage an archive of Cisco IOS configuration files in order to enhance the configuration rollback capability by using  the configure replace command if we don’t want changes in configuration. In this example I explained the configuration backup with ftp and tftp servers. In this tutorial I would explain a different method to backup configuration using archive command. It was Introduced in Cisco IOS Release 12.3(4)T and later versions, the archive command permits to save a copy of the current running configuration to different path: ftp, http, https, rcp, scp, tftp servers. Moreover the archive command has other features, but in this article I would use only two of these: time-period: it sets the time increment for automatically […]

Break Key Sequence For Password Recovery in Cisco Router or Switch

If you forgot the password to your Cisco router,  The fastest solution is to  replace the Router or Switch is password recovery option. During the password recovery procedure, it is fundamental sent the correct ‘Break’ key sequence to login ROMMON mode, but, as you know, the ‘break’ sequence depends by the operating System and Terminal emulator software that you use on your personal computer.You need to access the router physically and plugged console cable to console port directly. The break key combinations is to login to ROMMON mode without password authentication. You can recover the lost password from Rommon Mode easily. Below the standard break key sequence combinations for the most common operating systems. Software Platform Operating System Try This Hyperterminal IBM Compatible Windows XP Ctrl-Break Hyperterminal IBM Compatible Windows 2000 Ctrl-Break Hyperterminal IBM Compatible Windows 98 Ctrl-Break Hyperterminal (version 595160) IBM Compatible Windows 95 Ctrl-F6-Break Kermit Sun Workstation UNIX […]