Cisco Systems 1900 Series manual Starts the line configuration command collection mode for

Page 91

Chapter 5 Configuring the Router

Performing the Initial Configuration on the Router

Configuring Virtual Terminal Lines for Remote Console Access

Virtual terminal (vty) lines are used to allow remote access to the router. This section shows you how to configure the virtual terminal lines with a password, so that only authorized users can remotely access the router.

The router has five virtual terminal lines by default. However, you can create additional virtual terminal lines as described in the Cisco IOS Terminal Services Configuration Guide, Release 12.4. See the Configuring Terminal Operating Characteristics for Dial-In Sessions section.

Line passwords and password encryption is described in the Cisco IOS Security Configuration Guide, Release 12.4. See the Security with Passwords, Privilege Levels, and Login Usernames for CLI Sessions on Networking Devices section. If you want to secure the vty lines with an access list, see the Access Control Lists: Overview and Guidelines. Also see the Cisco IOS Password Encryption Facts tech note.

SUMMARY STEPS

1.enable

2.configure terminal

3.line vty line-number [ending-line-number]

4.password password

5.login

6.end

7.show running-config

8.From another network device, attempt to open a Telnet session to the router.

DETAILED STEPS

 

Command or Action

Purpose

Step 1

 

 

enable

Enables privileged EXEC mode.

 

 

Enter your password if prompted.

 

Example:

 

 

Router> enable

 

Step 2

 

 

configure terminal

Enters global configuration mode.

 

Example:

 

 

Router# configure terminal

 

Step 3

 

 

line vty line-number [ending-line-number]

Starts the line configuration command collection mode for

 

 

the virtual terminal lines (vty) for remote console access.

 

Example:

Make sure that you configure all vty lines on your

 

Router(config)# line vty 0 4

router.

 

 

Note To verify the number of vty lines on your router, use

 

 

the line vty ? command.

 

 

 

 

 

Cisco 1900 Series Hardware Installation

 

 

 

 

 

 

OL-19084-02

 

 

5-17

 

 

 

 

 

Image 91
Contents Text Part Number OL-19084-03 Americas HeadquartersPage OL-19084-03 Console and Auxiliary Port Considerations Chassis Airflow Diagram Configuring the Auxiliary Line Audience ObjectivesConvention Indication OrganizationConventions Section Title DescriptionBewaar Deze Instructies Avvertenza Importanti Istruzioni Sulla Sicurezza Warnung Wichtige SicherheitshinweiseAviso Instruções Importantes DE Segurança Guarde Estas Instrucciones GEM Disse Anvisninger Xiii Xiv Related Documentation Searching within Cisco Documents Obtaining Documentation and Submitting a Service RequestOverview of the Router Safety WarningsChassis Views Safety Warnings for Finland, Norway and SwedenSYS ACT PoE12 Cisco 4 or 5 GHz Antenna mounts1 LEDs2SYS ACT WlanOverview of the Router Hardware Features Hardware FeaturesClei Product Serial Number LocationClei Built-In InterfacesCisco Product Identification Tool Product ID PID Compliance labelSuch as security tokens and flash memory Removable, Interchangeable, and Optional ModulesInterface Description USBDram MemoryExternal Modules In chassis slots Internal Modules Series 1905 1921Color Description Location LED IndicatorsSYS ISM/WLAN Chassis Security Wireless LAN ConnectivityChassis Ventilation Real-Time ClockOnboard Ports 10/100/1000 Ethernet Baud Reset ButtonInterface Numbering Slot Number Slot Type Slot Numbering RangeDescription Specification Physical SpecificationsPower Acoustic Description SpecificationPorts Transportation and Storage EnvironmentTIA/EIA/IS-968 CNS ITU-T G.823, G.824 Regulatory ComplianceGeneral Guidelines Safety RecommendationsSafety with Electricity Preventing Electrostatic Discharge Damage General Site RequirementsSite Configuration Power Supply ConsiderationsSite Environment Task Verified by Installation ChecklistWireless LAN Considerations Inspecting the RouterRouter quick start guide received Installation Checklist for Site Router NameSite Log Task Verified by DateCisco 1900 Series Hardware Installation OL-19084-02 OL-19084-02 About Console and Auxiliary Ports Console and Auxiliary Port ConsiderationsConsole Port Connections USB Serial Console EIA/TIA-232 PortUSB Console OS Compatibility Serial Connections Preparing to Connect to a NetworkAuxiliary Port Connections Ethernet ConnectionsSerial DTE or DCE Devices Configuring Serial ConnectionsSignaling Standards Supported About Serial ConnectionsEIA/TIA-232 EIA-530 Distance for USB Rate bps Feet Meters Transmission Speeds and Distance LimitationsAsynchronous/Synchronous Serial Module Baud Rates Distance forFor more information on BRI WICs, refer to Cisco.com Isdn BRI ConnectionsCSU/DSU Connections Low-Capacitance CableRouter’s internal components include the following Internal services module ISMAbout Modules Internal ModulesPlug-In Modules Chassis Airflow Diagram Setting Up the ChassisChassis Grounding Setting the Chassis on a DesktopWall-Mounting the Chassis 253711 Wall-Mounting Features on the Cisco 1941 Router ProcedureAttaching Rack-Mount Brackets to Cisco 1900 Series Routers Rack-Mounting the Chassis253712 9shows how to attach the brackets to the rack Installing the Chassis Ground Connection11 Chassis Ground Connection on the Cisco 1941 Router Safety Messages Connecting WAN and LAN CablesOL-19084-02 Port Type, Color Connected to Cable Ports and CablingConnection Procedures and Precautions Connecting to a Console Terminal or ModemConnecting to the Console Port with Microsoft Windows 12 Connecting the Console Cable to the Router Connect the Linux USB port to the router Connecting to the Console Port with Mac OSConnecting to the Console Port with Linux Open the Linux Terminal windowInstalling the Cisco Microsoft Windows 2000 USB Driver Installing the Cisco Microsoft Windows XP USB DriverBefore You Begin Procedure Before You Begin Uninstalling the Cisco USB DriverInstalling the Cisco Microsoft Windows Vista USB Driver Using the Add Remove Programs UtilityUsing the Setup.exe Program Uninstalling the Cisco Microsoft Windows Vista USB Driver13 Connecting a Modem to the Router Connecting to the Auxiliary PortConnecting to AC Power Connecting PowerDC Input Connecting to DC PowerDC Wiring Requirements for Cisco 1900 Series Routers Wire Size Wire Terminal Lug ProtectionCisco 1900 Series Router Wiring Procedure for DC Input 14 DC Power Wire Connection 15 Installing the Plastic Safety Cover OL-19084-02 Checklist Before Powering Up the Cisco Router Powering up the RouterRelated Information Powering Up the Cisco RouterVerifying the Front Panel LED Indications Performing the Initial Configuration on the RouterUsing the Cisco Setup Command Facility 5-6 to configure the routerEnter a hostname for the router To proceed using the setup command facility, enter yesSystem displays a summary of the available interfaces System displays the user prompt System creates the following configuration command scriptUsing the Cisco CLI-Manual Configuration Using Cisco Configuration Professional ExpressPress Return to bring up the Router prompt Initial CLI ConfigurationWhen the system message appears on the router, enter no Type enable to enter privileged Exec modeExample Configuring the Router HostnameCommand or Action Purpose Verify that the router prompt displays your new hostnameOptional Returns to privileged Exec mode Configuring the Enable and Enable Secret PasswordsConfiguring the Console Idle Privileged Exec Timeout Exec-timeout value to 0 will cause the router to Command collection modeThat the privileged Exec command interpreter waits until Example shows how to specify no timeout. SettingFor IP Configuring Gigabit Ethernet InterfacesLearn which type of Ethernet interface is on your Sample Output for the show ip interface brief Command Configuring the GigabitEthernet InterfaceConfiguring IP Routing and IP Protocols Specifying a Default Route or Gateway of Last ResortGateway of Last Resort Routerconfig# ip routingSample Output for the show ip route Command Specifying a Default Route ExampleLine vty ? command Starts the line configuration command collection mode forVirtual terminal lines vty for remote console access Make sure that you configure all vty lines on yourExample Configuring the Auxiliary LineAuxiliary line Verifying Network ConnectivityTo verify connectivity, ping the next hop router or Connected host for each configured interfaceIf you want to test the vty line password, perform this Diagnoses initial network connectivityConfiguration Saving Your Router ConfigurationSaving Backup Copies of Configuration and System Image Saves the running configuration to the startupCopying from Flash Memory to a Tftp Server Example Copying the Startup Configuration to a Tftp Server ExampleNvram Verifying the Initial ConfigurationOL-19084-02 Getting Software Licenses for the Router Activating a New Software Package or Feature1shows the steps for software activation RMA License TransferAdditional Information OL-19084-02