Configuring an asynchronous serial interface
This section only describes the interface properties configuration. Depending on the network
requirements, you might also need to configure PPP, DDR, IP address, firewall, and interface backup.
To configure an asynchronous serial interface:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enter asynchronous serial
interface view.
interface async interface-number
or
interface serial interface-number
N/A
3. (Optional.) Set the interface
description.
description text
By default, the description of an
asynchronous serial interface is
interface name Interface, for
example, Serial2/1/0 Interface.
4. Configure a synchronous or
asynchronous serial interface
to operate as an
asynchronous serial interface.
physical-mode async
By default, a synchronous or
asynchronous serial interface
operates as a synchronous serial
interface.
Skip this step if the interface is an
asynchronous interface.
5. Set the link layer protocol.
link-protocol ppp The default is PPP.
6. Set the operating mode.
async mode { flow | protocol } The default is the protocol mode.
7. (Optional.) Enable level
detection.
detect dsr-dtr
By default, level detection is
enabled.
8. (Optional.) Enable local
loopback.
loopback
By default, local loopback is
disabled.
9. Set the MTU.
mtu size The default is 1500 bytes.
10. Set the keepalive transmission
interval.
timer-hold seconds The default is 10 seconds.
11. (Optional.) Eliminate the
pulses with a width less than
3.472 μs.
eliminate-pulse
By default, the pulses with a width
less than 1.472 μs are eliminated.
12. Set the MRU for an interface
operating in flow mode.
phy-mru mrusize The default MRU is 1700 bytes.
13. (Optional.) Set the intended
bandwidth for the
asynchronous serial interface.
bandwidth bandwidth-value
By default, the expected
bandwidth (in kbps) is the interface
baud rate divided by 1000.
14. (Optional.) Restore the default
settings for the asynchronous
serial interface.
default N/A
15. Bring up the asynchronous
serial interface.
undo shutdown
By default, an asynchronous serial
interface is up.
15