It is currently Thu Apr 25, 2024 4:20 pm

News News of Cisco tips

Site map of Cisco tips » Forum : Cisco tips

Cisco specific stuff and tips
Forum rules
All information is given AS IS

Clear vty (ssh/telnet) connection

To clear a vty (ssh/telnet) connection on Cisco router we have to clear the specific line.
To find this line we can use the following command:
Code: Select all
router#who

For example a router has a vty connection from a host with ip 10.10.10.10 on line 3:
router#who
Line User Host(s) Idle Location
2 vty 1 idle 00:00:02 10.11.10.11
3 vty 2 root idle 00:00:06 10.10.10.10
* 5 vty 4 admin idle 00:00:00 192.168.17.67

Interface User Mode Idle ...
Read more : Clear vty (ssh/telnet) connection | Views : 19722 | Replies : 0


RIP Timers

RIP Timers

In addition to the update timer (default 30 sec), the IOS implements three additional timers for RIP:
Invalid
Flush
Holddown

Invalid Timer. If an update has not been received to refresh an existing route after 180 seconds (the default), the route is marked as invalid by setting the metric to 16. The route is retained in the routing table until the flush timer expires.

Flush Timer. By default, the flush timer is set ...
Read more : RIP Timers | Views : 4524 | Replies : 0


Default administrative distance (AD) values

Default administrative distance values
Read more : Default administrative distance (AD) values | Views : 2599 | Replies : 0


Routing Table Principles

Let's introduce three routing table principles, as described by Alex Zinin in his book, Cisco IP Routing.

Principle 1:
"Every router makes its decision alone, based on the information it has in its own routing table."
Principle 2: "The fact that one router has certain information in its routing table does not mean that other routers have the same information."
Principle 3: "Routing information about a path from one network to another does not ...
Read more : Routing Table Principles | Views : 5039 | Replies : 0


Disabling CDP

If you need to disable CDP globally, for the entire device, use this command:

Router(config)#no cdp run

If you want to use CDP but need to stop CDP advertisements on a particular interface, use this command:

Router(config-if)#no cdp enable
Read more : Disabling CDP | Views : 2181 | Replies : 0


Unsolicited Messages from IOS

The IOS often sends unsolicited messages similar to the changed state to up messages. The IOS message does not affect the command, but it can cause you to lose your place when typing.

Logging Synchronous

In order to keep the unsolicited output separate from your input, enter line configuration mode for the consoled port and add the logging synchronous command, as shown. You will see that messages returned by IOS no longer interfere with your ...
Read more : Unsolicited Messages from IOS | Views : 3029 | Replies : 0


Basic Router Configuration

Basic Router Configuration

The first prompt appears at user mode. User mode allows you to view the state of the router, but does not allow you to modify its configuration. Do not confuse the term "user" as used in user mode with users of the network. User mode is intended for the network technicians, operators, and engineers who have the responsibility to configure network devices.

Router>

The enable command is used to enter the privileged ...
Read more : Basic Router Configuration | Views : 13937 | Replies : 1


Extended Ping

Extended Ping

To examine this the IOS offers an "extended" mode of the ping command. This mode is entered by typing ping in privileged EXEC mode, at the CLI prompt without a destination IP address. A series of prompts are then presented as shown in this example. Pressing Enter accepts the indicated default values.
Code: Select all
Router#ping
Protocol [ip]:
Target IP address:10.0.0.1
Repeat count [5]:
Datagram size [100]:
Timeout in seconds [2]:5
Extended commands [n]: n

Entering ...
Read more : Extended Ping | Views : 2793 | Replies : 0


Managing IOS configuration files

Backing Up Configurations Offline

Configuration files should be stored as backup files in the event of a problem. Configuration files can be stored on a Trivial File Transfer Protocol (TFTP) server, a CD, a USB memory stick, or a floppy disk stored in a safe place. A configuration file should also be included in the network documentation.

Backup Configuration on TFTP Server

As shown in the figure, one option is to save the running configuration ...
Read more : Managing IOS configuration files | Views : 5993 | Replies : 2


Encrypting Password Display

Encrypting Password Display

Another useful command prevents passwords from showing up as plain text when viewing the configuration files. This is the service password-encryption command.

This command causes the encryption of passwords to occur when a password is configured. The service password-encryption command applies weak encryption to all unencrypted passwords. This encryption does not apply to passwords as they are sent over media only in the configuration. The purpose of this command is to keep ...
Read more : Encrypting Password Display | Views : 2624 | Replies : 0


 

Login


Statistics

Total posts 505 • Total topics 442 • Total members 22

cron