Asynchronous Serial Interface 119
instructions in dialup mode. In dedicated line mode, ensure that modem
command is not configured, i.e. disable dial with
undo modem command.
Please use the following commands in the view of asynchronous serial interface.
Table 96 Set the work mode of asynchronous serial interface
The asynchronous serial interface works in dial mode by default, i.e. modem
command is configured by default. Both calling in and calling out are allowed with
modem in and modem out command. The async/sync serial interface working in
asynchronous mode works in dedicated line mode by default.
4 Set link layer protocol
The link layer protocol of asynchronous serial interface can be set as SLIP and PPP.
Please use the following command in the view of the asynchronous serial
interface.
Table 97 Set the link layer protocol of asynchronous serial interface
The default link layer protocol is PPP.
5 Set baud rate
Please use following command in the view of the asynchronous serial interface.
Table 98 Set the baud rate of asynchronous serial interface
Default value for baud rate is 9600bps.
When the asynchronous serial interface is used in dialup mode, the baud rate only
refers to the communication rate between the asynchronous serial interface of the
router and Modem. And the rate between two Modems must be determined
according to the line quality after mutual consultation. Therefore, baud rate
settings of asynchronous serial interfaces of two routers at two ends of the line
can be inconsistent.
When the asynchronous serial interface is used in dedicated line mode, the baud
rate setting must be consistent with the opposite equipment.
After the synchronous/asynchronous serial interface is set to work in asynchronous
mode, the router will automatically change the baud rate to 9600bps.
6 Set link establishment mode
There are three link establishment modes for the asynchronous serial interface:
■ Protocol: After the setup of a physical connection, the local end directly uses
the set link layer protocol parameter to establish link with the opposite end.
Operation Command
Set the asynchronous serial interface to work in dial mode. modem { in | out }
Set the asynchronous serial interface to work in dedicated
line mode.
undo modem
Operation Command
Set the link layer protocol of the asynchronous serial
interface
link-protocol { slip | ppp }
Operation Command
Set baud rate of the asynchronous serial interface baudrate baudrate