The Serial Line configuration lets you set a WAN device to asynchronous or synchronous if the device supports both line disciplines. It also lets you set HDLC or asynchronous parameters for WAN devices. This document describes the Serial Line configuration commands. It includes the following topics:
Displaying the Serial Line Configuration Prompt
Serial Line Commands
Displaying the Serial Line Configuration Prompt
The Serial Line configuration applies to a physical device. If you have multiple interfaces on one device, it does not matter which Circuit Config <NET-#> prompt for the device you use to get to the Serial Configuration prompt.
Routers that have multiple serial devices display the slot number of the device that you are configuring as part of the prompt. Serial devices that have multiple ports also show the port number of the device as part of the prompt. For example, the following prompt means you are configuring a serial device in slot 2 port 3.
To display theSerial Config <WAN2-3>
Serial Config <WAN> prompt,Config> prompt. To see a list of interfaces, enter list interfaces at the Config> prompt.
Config>network
What is the network number [0]? 1
Circuit Configuration
Circuit Config <NET-1>
Circuit Config <NET-#> prompt.
Circuit Config <NET-1> sl
Serial Line Configuration
Serial Config <WAN>
Not all parameters apply to all router platforms. Press Space twice after you type a command to display the available parameters for each command. Enter help for information about using the command line interface.
[C] means the command is available at the Serial Config <WAN> prompt.
There are no monitoring commands for serial devices.
E1 [C] [M]
Displays the E1 configuration or monistoring prompt. See Configuring Fractional T1/E1 Devices for information on the commands available at this prompt.
e1
E1 user configuration
E1 Config <NET-1>
exit
Circuit Config <NET-1>
list
Line Discipline: Sync
Maximum network layer frame size: 2048
Speed: 64000
HDLC Data encoding: NRZ
HDLC Idle State: Flag
Transmit delay counter: 0 units
No cable installed
set async databits
Data bits [8]?
set async frame-size
Frame size [2048]?
set async parity none
set async speed
Line speed [57600]?
set async stopbits
Stop bits [1]?
RS-232 DTE
RS-232 DCE
V35 DTE
V35 DCE
V36
DTE/DCE
set hdlc cable rs-232 dte
set hdlc clocking internal
set hdlc encoding nrz
set hdlc frame-size
Frame Size [2048]?
set hdlc idle flag
internal, hdlc speed specifies the speed of the transmit and receive clock lines.
mixed, hdlc speed applies to the transmit clock line only.
external, hdlc speed provides line speed reporting via SNMP and the list interface command at the + prompt. For external clocking, setting hdlc speed to 0 (zero) causes the router to dynamically calculate an approximate speed, which it can report via SNMP and the list interface command.
set hdlc speed
Clock Speed [64000]?
set hdlc transmit-delay
Transmit Delay Counter [0]?
set line-discipline async
t1
T1 user configuration
T1 Config <NET-1>