Solved

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

Posted on 2003-11-23
3
514 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

New Server 172.16.200.2  was moved from behind Router R2 f0/1 to behind router R1 int f/01 and has now address 172.16.100.2. But we want users still to be able to connected to it by old IP. How to do it ? We can used destination NAT (DNAT).  In DNAT…
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
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…
Suggested Courses
Course of the Month11 days, 11 hours left to enroll

623 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