Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

What is the relationship of tty lines to async serial interfaces?

Posted on 2003-11-23
3
Medium Priority
?
517 Views
Last Modified: 2006-11-17
When I configure a serial interface to use async, the corrosponding tty line configuration option becomes available under line configuration mode.  I am not clear as to why there are two options for configuring the same line/interface.  Except that maybe the available options under each line/interface are some how associated with different aspects of the line/interface function.

Also, is this unique to serial interfaces in async mode or do all async lines/interfaces (for example, on a true access control server) have the option to configure them via line or interface mode?

If tty is defined as character mode (line mode), how can it also be defined as async packet mode?

Thanks,
0
Comment
Question by:benje02
  • 2
3 Comments
 
LVL 3

Expert Comment

by:sheahmed
ID: 9809192
configurations are obviously different in interface mode and in line mode ...

upper level negotiations are done in interface mode ... while lower level negotiations tasks are accomplished in line mode ...

for example ...
!
line 39
 flush-at-activation
 modem InOut
 modem autoconfigure type MY_USR_MODEM
 transport input all
 stopbits 1
 speed 115200
 flowcontrol hardware
!
in the line config you are directly talking to the device directly connected ... like flowcontrol, speed, stopbits, etc ...

there are two modes while talking about interface ...

-async mode dedicated
and
-async mode interactive

-async mode dedicated
To place a line into dedicated asynchronous mode using Serial Line Internet Protocol (SLIP) or PPP encapsulation. To return the line to interactive mode, use the no form of this command.

async mode dedicated
no async mode dedicated

-async mode interactive
To return a line that has been placed into dedicated asynchronous network mode to interactive mode, thereby enabling the slip and ppp EXEC commands. To prevent users from implementing Serial Line Internet Protocol (SLIP) and PPP at the EXEC level, use the no form of this command.

async mode interactive
no async mode interactive
0
 

Author Comment

by:benje02
ID: 9820368
So in my example, the line mode is for configuring things like the modem options while the interface is for configuring the layer 3 options?

What determines if an interface also has a line associated with it?


0
 
LVL 3

Accepted Solution

by:
sheahmed earned 800 total points
ID: 9820461
if a line is already associated with an interface ... proves that the particular interface is physically in asynch mode ...
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It happens many times that access list (ACL) have to be applied to outgoing router interface in order to limit some traffic.This article is about how to test ACL from the router which is not very intuitive for everyone. Below scenario shows simple s…
There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question