benje02
asked on
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,
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,
ASKER
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?
What determines if an interface also has a line associated with it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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