Solved

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

Posted on 2003-11-23
3
507 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 200 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

While it is possible to put two routes in place with the secondary having a higher metric, this may not always work. In the event of a failure that does not bring down the physical interface on the router the primary route is not removed. There is a…
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
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…

759 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now