VTY configuration Directory

VTY configuration description

Software configuration

Configuration tasks

monitor and maintain

Examples of configuration

Example of TTY configuration

Example of VTY configuration

VTY configuration description

D-Link Router use line command to set terminal parameters simply and neatly; such as width and height, configuration courses are adapted to users’ custom.

Software configuration

This chapter will introduce how to configure the VTY(virtual terminal )on the Router. Details about commands for configuring the VTY, please refer to  “VTY configuration commands”.

Configuration tasks

D-Link Router has four kinds of cables: console ,aux, asynchronous and virtual terminal .The different routers have different numbers. User can refer to software and hardware configuration references below  to properly configure equipment:

CABLE

Interface

description

Rules of line code

CON(CTY)

console

use to login the router to configure

Code= 0

AUX

assistant

RS-232 DTE interface, an asynchronous interface to backup,can not be used as a second console

Code=65,if the slot number<=4,

otherwise

Code=slot number multiple 16 +1

TTY

asynchronism

Asynchronous interface, often used in the dial  sessions of SLIP,PPP

Incept number is 1. Serial number differs from different console. Range is maximum asynchronism interfaces supported by a router.  For instancethere are 16 asynchronism module on slot 1,null on slot 2,8 synchronization module.

So,a1/0   line 1a1/15 is corresponding  to line 16s3/0 is corresponding  to line 17s3/7 is corresponding  to line 24

VTY

Virtual- asynchronism

Use to link to sync ports of routers, such as Telnet,X.25 PAD、HTTP and Rlogin on Ethernet & serial interface

 

64 numbers begins from maximum TTY cable number +1

relationship between line and intrface

l        asynchronism interface and TTY line

l         synchronization interface and VTY line

asynchronism interface and TTY asynchronism interface are corresponding to physical interminal line[TTY].  When asynchronism interface does not enclapsulation protocols, it can be connected to intermial.

synchronization interface and VTY line: Virtual interminal line provide accessing to a router by synchronization interface. VTY line is not corresponding to synchronization interface as TTY line to asynchronism interface. This is because VTY line is dynamic created on router,while TTY line is a static physical port. When a user try to link to router by VTY line, he is tring to connect a virtual interface. There are several virtual interfaces to each synchronization interface.

For example, several Telnet connect to one interface(Ethernet or serial interfaces).

You need to do following steps to configure VTY:

l                    enter the configuration mode

l                    configure the terminal parameters

Refer to “Examples of VTY configuration” to know more about VTY configurations.

monitor and maintain

Users can use “show line”command  to check the configuration of VTY.

Examples of configuration

Example of TTY configuration

The commands configure the line width and lines of screen on terminal on tty1-tty10.If user login from this interface ,the prompt more will appear every 40 lines, and a newline will be displayed after 132 charaters;

config#line tty 1 10

config_line#width 132

config_line#length 40

Configure s1/0 to TTY interface:

config_s1/0#physical-layer mode async

config_s1/0#async mode interactive

Such a configuration use back to back cable to connect s1/0 directly. If you want to telnet with modem, you should configure line dial before you the command async mode interactive.

Example of VTY configuration

The following configuration will cancel the VTY limitation to lines of each screen and will not prompt the “more”.

config#line vty 0 63

config_line#length 0