Basic Cisco Terminal Access

Date:
June 02, 2009
Author:
Jason Wyatte

Cisco Switches and Routers running the Internet Operating System (IOS) have many things in common. Configuring these devices of course, is a skill that is sharpened the more you touch the device. During this post, our discussion will primarily focus on the basic commands associated with console and telnet access to routers and switches for out-of-band and in-band management.

First the routers and switches can be configured with an out-of-band interface called the console port. (I’m pretty sure many of you are familiar with the console port and that you have to connect a rollover cable with a DB 9 or 25 pin connector, to that interface to gain access.) The console port is important because system messages are displayed by default and access to this interface is always up (though it may be password protected). The Auxiliary port is another type of out-of-band management interface but it interfaces with a modem. Console and Auxiliary ports are a special type of EIA 232 (RS 232 is the older term for this) that normally uses an RJ 45 connector. However the auxiliary port uses RTS and CTS for flow Control with the modem. These pins (1 and 8) on the console port are disabled.

Configuring the console port and auxiliary ports are normally a basic procedure. The global commands for displaying the default for these ports are line con 0, line aux 0. On these lines it’s possible to add a simple layer of security by adding a line password to these ports. As shown in the example, you can configure a simple password.

Example 1

The example also show the exec-timeout 0 0 command. This means that on the console port will never timeout. The default for this command is exec-timeout 10 0 which means that the console line will logoff when inactivity at this line reaches 10 minutes.

Other things commands shown with the command above help the display of the terminal access when someone is logged in. Logging synchronous means that system messages will never interrupt your terminal display. This command prevents you from being distracted when many system messages pop up when interfaces come on or off line, or router neighbor relationships are built or torn down. Also the length 40 means that 40 lines will be displayed at a time when a show command is issued. The example below displays the terminal length 5 command which is another form of the length command. Here you can see it only displays five lines at a time. If the terminal length is set to zero, then every show command will be displays from beginning to end without stopping.

EXAMPLE 2

Second, configuration can be done through the network via a web based interface like Cisco SDM or though Telnet or SSH. The HTTP and HTTPS must be enabled for SDM to work on a router. For telnet and SSH to access the router or switch must be reachable via and ipv4 or ipv6 address and you must configure the VTY (Virtual Teletype) lines. When configuring line vty 0 4, Login and password commands are necessary for telnet. Trying to configure these commands without the other can result in these messages when trying to telnet or configuring. (In a future post SSH and SDM will be discussed.)

EXAMPLE 3

EXAMPLE 4

EXAMPLE 5

Above you can see that Example 3 and 4 both display a message that says the login process will be disabled until the password is set. Example 5 shows what will happen when someone tries to telnet to that router and it is connection being closed. It is also possible to configure more VTY lines than the default, though this is normally done in environments where terminal access is the overall goal.

These are basic terminal commands and settings. For the CCNA these skills must be well understood and under your belt. Using these commands can help any network administer when managing routers and switches.

Author: Jason Wyatte

vceplus-200-125    | boson-200-125    | training-cissp    | actualtests-cissp    | techexams-cissp    | gratisexams-300-075    | pearsonitcertification-210-260    | examsboost-210-260    | examsforall-210-260    | dumps4free-210-260    | reddit-210-260    | cisexams-352-001    | itexamfox-352-001    | passguaranteed-352-001    | passeasily-352-001    | freeccnastudyguide-200-120    | gocertify-200-120    | passcerty-200-120    | certifyguide-70-980    | dumpscollection-70-980    | examcollection-70-534    | cbtnuggets-210-065    | examfiles-400-051    | passitdump-400-051    | pearsonitcertification-70-462    | anderseide-70-347    | thomas-70-533    | research-1V0-605    | topix-102-400    | certdepot-EX200    | pearsonit-640-916    | itproguru-70-533    | reddit-100-105    | channel9-70-346    | anderseide-70-346    | theiia-IIA-CIA-PART3    | certificationHP-hp0-s41    | pearsonitcertification-640-916    | anderMicrosoft-70-534    | cathMicrosoft-70-462    | examcollection-cca-500    | techexams-gcih    | mslearn-70-346    | measureup-70-486    | pass4sure-hp0-s41    | iiba-640-916    | itsecurity-sscp    | cbtnuggets-300-320    | blogged-70-486    | pass4sure-IIA-CIA-PART1    | cbtnuggets-100-101    | developerhandbook-70-486    | lpicisco-101    | mylearn-1V0-605    | tomsitpro-cism    | gnosis-101    | channel9Mic-70-534    | ipass-IIA-CIA-PART1    | forcerts-70-417    | tests-sy0-401    | ipasstheciaexam-IIA-CIA-PART3    | mostcisco-300-135    | buildazure-70-533    | cloudera-cca-500    | pdf4cert-2v0-621    | f5cisco-101    | gocertify-1z0-062    | quora-640-916    | micrcosoft-70-480    | brain2pass-70-417    | examcompass-sy0-401    | global-EX200    | iassc-ICGB    | vceplus-300-115    | quizlet-810-403    | cbtnuggets-70-697    | educationOracle-1Z0-434    | channel9-70-534    | officialcerts-400-051    | examsboost-IIA-CIA-PART1    | networktut-300-135    | teststarter-300-206    | pluralsight-70-486    | coding-70-486    | freeccna-100-101    | digitaltut-300-101    | iiba-CBAP    | virtuallymikebrown-640-916    | isaca-cism    | whizlabs-pmp    | techexams-70-980    | ciscopress-300-115    | techtarget-cism    | pearsonitcertification-300-070    | testking-2v0-621    | isacaNew-cism    | simplilearn-pmi-rmp    | simplilearn-pmp    | educationOracle-1z0-809    | education-1z0-809    | teachertube-1Z0-434    | villanovau-CBAP    | quora-300-206    | certifyguide-300-208    | cbtnuggets-100-105    | flydumps-70-417    | gratisexams-1V0-605    | ituonline-1z0-062    | techexams-cas-002    | simplilearn-70-534    | pluralsight-70-697    | theiia-IIA-CIA-PART1    | itexamtips-400-051    | pearsonitcertification-EX200    | pluralsight-70-480    | learn-hp0-s42    | giac-gpen    | mindhub-102-400    | coursesmsu-CBAP    | examsforall-2v0-621    | developerhandbook-70-487    | root-EX200    | coderanch-1z0-809    | getfreedumps-1z0-062    | comptia-cas-002    | quora-1z0-809    | boson-300-135    | killtest-2v0-621    | learncia-IIA-CIA-PART3    | computer-gcih    | universitycloudera-cca-500    | itexamrun-70-410    | certificationHPv2-hp0-s41    | certskills-100-105    | skipitnow-70-417    | gocertify-sy0-401    | prep4sure-70-417    | simplilearn-cisa    |
http://www.pmsas.pr.gov.br/wp-content/    | http://www.pmsas.pr.gov.br/wp-content/    |