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

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,
benje02Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sheahmedCommented:
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
benje02Author Commented:
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
sheahmedCommented:
if a line is already associated with an interface ... proves that the particular interface is physically in asynch mode ...
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.