
Customizing Line Pools
117353-B Rev. 00
9-31
Specifying the Asynchronous Modem Control Character Map
If you are using asynchronous PPP and asychronous modems, you may want to
set up asynchronous modem control characters. During LCP negotiations, the
peers negotiate the characters that they will recognize as asynchronous modem
control characters. PPP creates a 32-bit map that represents the negotiated control
characters. Both routers use this map in sending and receiving data packets. While
the default value serves for almost all modems, you can configure the map for
other modem control characters if necessary.
The async control character map specifies a value representing one or more
asynchronous modem control characters for the peer to recognize (“escape”) and
that may occur in the data packet. Each bit in the map corresponds to one control
character, 0x00 (the right end of the map) through 0x1f (the left end of the map);
that is, 0 through 31, decimal. The actual map is a value used essentially as a
mask. For example, the default map value, 0xa0000 (655360 decimal) allows the
escaping of the control characters 0x11 (XON) and 0x13 (XOFF) if they occur in
the data stream. The values 0x7d and 0x7e are always escaped.
If you have a modem that requires control characters different from the default,
you can build your own async control character map. Determine the
corresponding bit for each character by converting the hexadecimal value of the
control character to decimal. For example, 0x1f = 31 decimal; so to escape that
character, set the leftmost bit in the map. Do the same thing for each control
character. Once you’ve decided what bits in the map to set, you can enter either
the hex character equivalent to the bit string or the decimal equivalent. To escape
all control characters in the packet, set the map to 0xffffffff. For a description of
how PPP encodes escaped control characters in the data stream, see Configuring
PPP Services.
PPP displays the decimal number equivalent to the string and uses that value in its
link negotiations.
To set the async control character, navigate to the dial prompt and enter:
accm-seed
<
integer
>
integer can be a number from 0 to 4,294,967,295 (0x00 through 0xFFFFFFFF)
For example:
dial/bri/1/1# accm-seed 755300
Comentários a estes Manuais