cc/td/doc/product/software/ssr91
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

SLIP Configuration and Management

SLIP Configuration and Management

This chapter describes how to configure the Serial Line Internet Protocol (SLIP) on the communication server. You will find the following information in this chapter:

Making SLIP connections is described in the "User Commands" chapter.

The commands to define the configuration are entered in configuration mode, which is privileged. To enter configuration mode, type the configure command at the EXEC prompt. You can then enter the commands described in this chapter. For more information about the configuration mode, see "The Configure Command" in the "Startup and Basic Configuration" chapter.

A command summary is included at the end of the chapter.

The Serial Line Internet Protocol (SLIP)

The Serial Line Internet Protocol (SLIP) is an inexpensive way of connecting PCs to a network. SLIP can be used over asynchronous dial-up modems, allowing a home computer to be connected to a network without the cost of a leased line. Dial-up SLIP links can also be used for remote sites that need only occasional or backup connectivity. Both public-domain and vendor-supported SLIP implementations are available for a variety of computer applications.

SLIP defines a method of sending Internet packets over standard RS-232 asynchronous serial lines. It is a de facto standard, commonly used for point-to-point serial connections running TCP/IP. SLIP is commonly used on dialup asynchronous serial links with line speeds between 1,200 and 19,200 baud.

The version of SLIP described in this publication was originally implemented by researchers at the University of California at Berkeley in their 4.2 BSD version of the UNIX operating system. Although variants have been proposed, the Berkeley version has emerged as a de facto standard. Refer to RFC1055 for more information about SLIP.

Cisco's Implementation of SLIP

Your communication server supports IP routing connections. If you are connecting a single device to a network, you will not need to implement routing. If you are connecting a network to another network, you will use a configuration that supports routing. The configuration of an interface can be changed at any time to enable or disable IP routing. Compressed SLIP (CSLIP) is also supported, providing faster data transmission across low-bandwidth asynchronous lines.

Figure 1-1 illustrates a typical terminal-connection SLIP configuration.


Figure 1-1: Sample Terminal-Connection SLIP Configuration



Figure 1-2 illustrates a SLIP configuration using IP routing.


Figure 1-2: Sample SLIP Configuration Using Routing



In addition to implementing the de facto standard, SLIP offers both dedicated and dynamic address assignment, configurable hold queue and IP packet sizes, extended BootP requests, and permit/deny conditions for controlling access to the line.


Note A line must be placed into SLIP mode to be used as a network interface for asynchronous IP routing. This applies to interfaces configured for PPP encapsulation in addition to interfaces configured for SLIP.

SLIP and Broadcasts

The Cisco Systems communication servers recognize a variety of Internet broadcast addresses. When a communication server receives an Internet packet with one of these addresses from a SLIP client, it rebroadcasts the packet onto the network without changing the Internet header. The communication server does not alter the packet's broadcast address to match the form of broadcast address it prefers.

The communication server receives a copy of SLIP client broadcasts, and responds to BootP requests with the Internet address of the line that received them. This facility allows the SLIP client software to automatically determine its own Internet address.

Configuring SLIP and Compressed SLIP

Following are the basic steps for configuring SLIP on your communication server:

Step 1: Enable SLIP on an interface by using the slip dedicated, slip address, or slip address dynamic line subcommands.

Step 2: Implement slip routing if required.

Step 3: Make the appropriate settings for the line. Line settings include baud rate, flow control, stop bits, and modem control. These settings are described in the sections "Configuring Asynchronous Lines" and "Configuring the Modem Control Lines" in the "System Configuration" chapter.

Step 4: Optimize SLIP operation as necessary. Options include header compression, unnumbered IP addresses, and definable hold queue and packet sizes.

Step 5: Specify access lists for control of traffic to or from a SLIP-enabled line, if needed.

Step 6: Specify extended BootP requests, if needed.

The following sections describe these step in greater detail. Descriptions of the EXEC commands used to monitor and maintain a SLIP link follow these sections.

SLIP Connection Types

You can use one of two EXEC commands to make a SLIP connection, depending on how the line is configured:

slip slip default

It is also possible to configure a dedicated SLIP line, in which case no EXEC command is required to make the connections. See Chapter 3, "User Commands," for more information about SLIP EXEC commands.

The following paragraphs describe the ways in which the SLIP lines can be configured.

Dedicated SLIP Line

You can be permanently configure a line for SLIP using the slip dedicated and slip address line configuration commands. Once the physical connection to the line is made, the user is immediately placed in SLIP mode. No prompt or message is issued. Automatic dialing can be implemented across dedicated SLIP lines. See the "System Configuration" chapter for more information about automatic dialing using DTR.

Permanent SLIP Address

Assign a permanent SLIP address to a line with the slip address line configuration command. In this case, the user issues the slip EXEC command to put the line into SLIP mode. If the server has been configured to authenticate SLIP connections, the user is prompted for a password before the line is placed in SLIP mode.

Dynamic SLIP Address

You can configure a line for dynamic assignment of SLIP addresses with the slip address dynamic command. In this case, the user enters the slip EXEC command and is prompted for the IP address or logical host name. If the address is on the local Ethernet, routing is not implemented. If the address is on another network, IP routing using SLIP is implemented. This address is validated via TACACS (when enabled) and the line is put into SLIP mode using the address requested.

Dynamic addressing is useful in a situation where the user needs to know the IP address of a line. A personal computer running an application that automatically dials in using SLIP and polls for electronic mail messages would use dynamic addressing. The application can be set up to dial in periodically and enter the required IP address and password.

Default SLIP Address

Assign a default address to a line with the slip default EXEC command. The transaction is validated by the TACACS server (when enabled) and the line is put into SLIP mode using the address configured with the IP address argument of the slip address dynamic configuration command.

This feature is useful when you do not need to know the IP address to use to gain access to a system, for example, a server that is available to many students on a campus. Instead of requiring each user to know an IP address, they need only enter the EXEC slip default command and let the server select the line to use.


Note When TACACS authentication of SLIP addresses is used, the configuration command tacacs-server optional-passwords can be used to suppress the password prompt if your TACACS server supports validation of addresses without passwords. See "Establishing Passwords and System Security (TACACS)" in the "System Configuration" chapter for information about TACACS verification.

Disabling SLIP on a Line

Once a line is configured for SLIP, the EXEC responds to the slip or slip default EXEC commands by turning on SLIP on the line, displaying the Internet address and the size of the largest Internet packet the SLIP support can handle. The line exits SLIP mode when the modem is hung up or an EXEC clear line command is issued. If you are using the auxiliary port (ASM-CS only), you must use the clear line command to exit SLIP mode when the modem is hung up. The auxiliary port does not automatically exit SLIP mode when the modem is hung up.

The no slip line subcommand disables SLIP mode. It has this syntax:

no slip

Use this command to disable SLIP on a line that has previously had SLIP enabled.

Defining SLIP Implementation

Your communication server uses the terminal-server or the router implementation of SLIP on a given interface, depending on the address assigned to the SLIP interface.

If the address has a host number of 1, the communication server answer to BootP requests will contain that host's network address, and the host number 2 (instead of 1). This enables dynamic configuration of the remote system's SLIP address. For example, if the host address is 1.0.0.1, the communication server will answer a BootP request by giving the address 1.0.0.2. See the "IP Configuration and Reference" chapter for a description of BootP requests.

SLIP Routing

To allow SLIP routing on a line, use the following line command:

slip routing
Example

The slip routing configuration command should be used after the line command and before the slip address command, as shown in the following example:

Interface ethernet 0
ip address 128.66.1.1 255.255.255.0
line 6
slip routing
slip address dynamic 129.50.3.4
slip header-compression passive

Assigning Dynamic Addresses

Specify the line you will use for SLIP with the following line subcommand:

line n

The argument n is the number of the line you are configuring for SLIP.

Use either of these slip address line subcommands to assign an interface address, as follows:

slip address address [mask] slip address dynamic [default-address]

The argument address is the address of the SLIP interface. The argument mask is the network mask for the associated IP network.

The argument address is the address of the SLIP interface. To specify dynamic addressing, include the optional dynamic keyword. The default-address argument is the address that will be used if a user does not have their own address.

With dynamic addressing, you can use a line for both terminal-server connections and routing connections. When the line is being used for SLIP, the user is prompted for an IP address. If the address the user types in is on the same subnet as the Ethernet, routing will not be implemented. If the address is on a different subnet, routing is implemented.

When a line is configured for dynamic assignment of SLIP addresses, the user enters the slip EXEC command and is prompted for an IP address or logical host name. The address or logical host name is validated via the Terminal Access Controller Access System (TACACS), if TACACS is enabled, and the line is assigned the given address and put into SLIP mode.


Note Logical host names are first converted to uppercase and then sent to the TACACS server for authentication.

The dynamic addressing command is also useful when you need to know the IP address of a line. For example, an application on a personal computer that automatically dials in using SLIP and polls for electronic mail messages can be set up to dial in periodically and enter the required IP address and password.

Examples

The following example illustrates a communication server configured to use SLIP. In this configuration one PC is connecting to a network and routing capabilities are not required. Note that the IP address and the SLIP address are on the same subnet, so routing is not implemented.

Interface ethernet 0
ip address 1.0.0.1 255.0.0.0
line 6
slip address dynamic 1.0.0.2

The following user commands illustrate two ways to assign SLIP addresses, using either the default mode or explicitly assigning an address.

To use a default SLIP address, type the following command and the address is automatically assigned.

cs> slip default
Entering SLIP mode.
Your IP address is 1.0.0.2. MTU is 1500 bytes

The following example illustrates the assigning of a specific address with subnet mask.

cs> slip 1.0.0.123 255.255.255.0
Password:
Entering SLIP mode.
Your IP address is 1.0.0.123. MTU is 1500 bytes.

If you are dialing in from a remote router or communication server and you want to route traffic between the SLIP link and local networks, you need full routing capabilities.

The dynamic routing features of the internetwork allow packets to get to their destination and back regardless of the communication server or network they are sent from. For example, if a host such as a laptop computer moves from place to place it can keep the same address no matter where it is dialing in from.

The following example provides an illustration of how a communication server can be configured for routing using CSLIP.

Interface ethernet 0
ip address 128.66.1.1 255.255.255.0
line 6
! default address is terminal-server model
slip routing
slip address dynamic 128.66.1.2
slip header-compression passive

Configuring a Dedicated SLIP Line

The slip dedicated line subcommand puts the line in SLIP mode permanently. It has this simple syntax:

slip dedicated

The communication server will not create an EXEC on the specified line, so it is not available for normal interactive use. No slip EXEC command is necessary to enable SLIP mode.

Example

The following command sequence assigns an Internet address to a SLIP line and permanently puts the line in SLIP mode. Setting the stop bits to 1 enhances performance.

!
line 20
location Joe's computer
stopbits 1
speed 19200
slip address 182.32.7.51
slip dedicated
!

Configuring the SLIP Line in Interactive Mode

The slip interactive subcommand is generally used to void a slip dedicated line subcommand.

slip interactive

To put the specified line into SLIP mode, use the EXEC command slip; see "SLIP Connection Types" earlier in this chapter.

Hanging up the modem or clearing the line puts the line back into interactive mode.

Configuring the Hold Queue

The slip hold-queue line subcommand specifies the limit of the SLIP output queue, which stores packets received from the network waiting to be sent to the SLIP client.

slip hold-queue packets

The argument packets is the maximum number of packets. The default is 3 packets; it is recommended that the queue size does not exceed 10.

Example

This command changes the packet queue length of a line to five packets.

line 2
slip address 182.32.7.5
slip hold-queue 5

Configuring Compressed SLIP

Asynchronous lines have relatively low bandwidth and can easily be overloaded, resulting in slow traffic across these lines. One way to make optimal use of available bandwidth is by using Compressed SLIP (CSLIP).

CSLIP uses Van Jacobson TCP header compression (defined by RFC 1144). CSLIP can increase bandwidth availability between two and five times when compared to lines not using header compression. Theoretically, it can improve bandwidth availability by 7:1.

Configuration Commands

To configure Van Jacobson TCP header compression on the SLIP link, use this line subcommand:

slip header-compression [on|off|passive]

Header compression data areas are initialized to handle up to 16 simultaneous TCP connections. Currently, you cannot change this number. You can only turn header compression on or off, or use the passive keyword. The passive keyword prevents the communication server from transmitting compressed packets until it has seen a compressed packet arrive from the SLIP link. If no keyword is specified, passive is the assumed argument.

Forcing Header Compression at the EXEC Level

To force header compression on a line configured for slip header-compression passive, use the EXEC slip command with the optional keyword /compressed.

slip [/compressed] {address|default}

The argument address is the IP address to use. The alternative keyword default causes the address specified in the slip address dynamic line configuration subcommand to be used. The slip /compressed command is required to force header compression if both the communication server and the device attached to the communication server are configured for slip header-compression passive.

Example

If a line has been configured for slip header-compression passive, the EXEC slip command with the optional keyword /compressed forces compression to be turned on when the communication server is enters SLIP mode.

cs> slip /compressed default
cs> slip /compressed 131.108.137.138

Note If two connected devices are configured for passive mode (the default mode), header compression will not occur without the slip /compressed user command.

Using the /compressed keyword with the slip EXEC command allows the user to force header compression without requiring that the user enter privileged configuration mode.

The /compressed keyword will have no effect on lines not configured for header-compression passive. Lines that are configured for header-compression on will do compression regardless of whether or not the keyword is given and lines that are configured for header-compression off will generate an error message indicating that the line is not configured for header compression.

Example

The following example illustrates the implementation of header compression on the interface with the IP address 128.66.2.1.

cs> slip /compressed 128.66.2.1
Password:
Entering SLIP mode.
Interface IP address is 128.66.2.1, MTU is 1500 bytes.
Header compression is On.

Matching Port and Interface Configuration

The various items of the asynchronous port configuration are automatically carried over into the asynchronous interface configuration. Specifically, if SLIP header compression is enabled, the interface will also run header compression. You can see this by assigning a SLIP address and observing the text that is displayed in response.

Example

For example, if a line is configured for slip header-compression passive, and you use the slip EXEC command to enter SLIP mode, you will see that the interface is set to match compression status indicated at the EXEC level.

cs> slip 1.0.0.1
Password:
Entering SLIP mode.
Interface IP address is 1.0.0.1, MTU is 1500 bytes
Header compression will match your system.

Header compression will match your system indicates that the interface is set to match compression status indicated at the EXEC level. If the line was configured for slip header-compression on, this line would read Header compression is On.

Conserving Network Resources

Conserve network resources by configuring communication server asynchronous interfaces as unnumbered. If the asynchronous interface is configured as unnumbered, the interface does not have an address. Network resources are conserved because fewer network numbers are used and routing tables are smaller.

Note that the IP unnumbered feature can be used on the communication server whether or not the system on the other end of the SLIP link knows about this feature. The IP unnumbered feature is transparent to the other end of the link because each system bases its routing activities on information in the routing updates it receives, and on its own interface address on the link.

If the SLIP address is on the local communication server network, the communication server implementation of SLIP is used. If an interface is configured as IP unnumbered and the address is not on the local communication server network, the interface is brought up as unnumbered, and the address entered by the user will be used in BootP responses from the communication server.

Configure an interface to be unnumbered with the following line subcommand:

ip unnumbered interface-name

The argument interface-name is the name of another interface on which the communication server has an assigned IP address.

Example

The following example provides an illustration of how to configure your communication server for routing using unnumbered interfaces.

Interface ethernet 0
ip address 128.66.1.1 255.255.255.0
!
interface async 6
ip unnumbered ether 0
!
line 6
slip routing
! default address is terminal-server model
slip address dynamic 128.66.1.2
slip header-compression passive
Example

The command below illustrates how the IP unnumbered configuration works. Although the user assigned an address, the system response shows the interface as unnumbered, and the address typed by the user will be used in response to BootP requests.

cs> slip /compressed 1.1.1.1
Password:
Entering SLIP mode.
Interface IP address is unnumbered, MTU is 1500 bytes.
Header compression is On.

Configuring the MTU Size of Internet Packets

The slip mtu line subcommand specifies the size of the largest Internet packet that the SLIP support can handle. MTU is the Maximum Transmission Unit.

slip mtu bytes

The argument bytes is the maximum number of bytes. The default is 1500 MTU.

You might want to change to a smaller MTU size if the SLIP application at the other end does not support packets of that size, or you want to assure a lower delay by using shorter packets. This can be desirable when the host Telnet echoing takes longer than 0.2 seconds. For instance, at 9600 baud, a 1500 byte packet takes about 1.5 seconds to transmit, so this delay would indicate that you want an MTU size of about 200.

On the other hand, the MTU size can be negotiated by TCP, regardless of what the terminal settings are, and this is the better way to do it. The communication server performs IP fragmentation of packets larger than the specified MTU. Therefore, do not use this command unless the SLIP implementation supports re-assembly of IP fragments. Since each fragment occupies a spot in the output queue, it may also be necessary to increase the size of the SLIP hold queue.

Example

These commands set the packet MTU size to 200 bytes.

line 5
slip address 182.32.7.5
slip mtu 200

Specifying SLIP Access Lists

Access lists allow the system administrator to control the hosts that may be accessed by a PC running SLIP through a communication server. Separate access lists can be defined for SLIP and for normal connections. The software allows separate access lists to be defined for use when the line is running SLIP.

To configure an access list to be used on packets from the SLIP host, use this line subcommand:

slip access-class number in

When this command is entered, the IP destination address of each packet is run through the access list for acceptability, and dropped or passed. The argument number is the IP access list number (see the section "Configuring IP Access Lists" in the "IP Configuration and Management" chapter for information about IP access lists).

To specify an access list to be used on packets being sent to the SLIP host, use this line subcommand:

slip access-class number out

When this command is entered, the IP source address is compared against the access list, and only those packets allowed by the access list are transmitted on the asynchronous line. The argument number is the IP access list number (see the section "Configuring IP Access Lists" in the the"IP Configuration and Management" chapter for information about IP access lists).

Example

This example assumes that SLIP users are restricted to certain servers designated as SLIP servers, but that normal terminal users can access anything on the local network.

! access list for normal connections
access-list 1 permit 131.108.0.0 0.0.255.255
!
! access list for SLIP packets.
access-list 2 permit 131.108.42.55
access-list 2 permit 131.108.111.1
access-list 2 permit 131.108.55.99
!
!Define all the lines with slip addresses and 
!appropriate access lists
line 1 60
slip address dynamic
access-class 1 out
slip access-class 2 in
!

Specifying SLIP Extended BootP Requests

The BootP (Boot Protocol) server for SLIP supports the extended BootP requests specified in RFC 1084. These requests are specified with the async-bootp global configuration command. The full syntax for this command follows:

async-bootp tag [:hostname] data...
no async-bootp

The argument tag is the item being requested, and is one of the following expressed as file name, integer, or IP dotted decimal address:

Use the optional argument :hostname to indicate that this entry applies only to the host specified. The argument :hostname accepts both an IP address and logical host name.

The argument data can be a list of IP addresses entered in dotted decimal notation or as logical host names, a number, or a quoted string.

If no extended BootP commands are entered, by default the software generates a gateway and subnet mask appropriate for the local network.

Use the EXEC command show async-bootp to list the configured parameters. Use the no async-bootp command to clear the list.

Examples

The following example illustrates how to specify different boot files, one for a PC, and one for a Macintosh. With this configuration, a BootP request from the host on 128.128.1.1 results in a reply listing the boot file name as pcboot. A bootP request from the host named mac results in a reply listing the boot file name as macboot.

async-bootp bootfile :128.128.1.1 "pcboot"
async-bootp bootfile :mac "macboot"

The following example specifies a subnet mask of 255.255.0.0.

async-bootp subnet-mask 255.255.0.0

The following example specifies a negative time offset of the local subnetwork of -3600 seconds.

async-bootp time-offset -3600

The following example specifies the IP address of a time server.

async-bootp time-server 128.128.1.1

Configuring the Point-to-Point Protocol

The Point-to-Point Protocol (PPP) is a method of encapsulating Internet Protocol (IP) datagrams and other Network Layer protocol information over point-to-point links. The document "Point-to-Point Initial Configuration Options" defines the set of options that are negotiated during startup.

Of the possible upper-layer protocols, only IP is supported at this time. Thus, the only upper-level protocol that can be sent or received over a point-to-point link using PPP encapsulation is IP.

The Point-to-Point Protocol is enabled on an interface using the encapsulation interface subcommand followed by the ppp keyword. Synchronous and asynchronous lines can be configured for PPP encapsulation.


Note A line must be placed into SLIP mode to be used as a network interface for asynchronous IP routing. This applies to interfaces configured for PPP encapsulation in addition to interfaces configured for SLIP.

To configure PPP encapsulation on an asynchronous serial interface, use the slip line subcommands to configure the line as desired, then use the encapsulation interface subcommand to set the encapsulation to PPP.

The command to implement PPP encapsulation is as follows:

encapsulation ppp
Examples

These commands enable PPP encapsulation on synchronous serial interface zero.

interface serial 0
encapsulation ppp

These commands enable PPP encapsulation on an asynchronous serial interface.

interface async 3
encapsulation ppp
Example

The following example shows a line being configured for PPP encapsulation on an asynchronous serial interface. First, the slip line subcommands is used to configure the line as desired, then the encapsulation interface subcommand is used to set the encapsulation to PPP as shown below:

line 5
slip routing
slip address dynamic
interface async 5
encapsulation ppp

SLIP Routing Configuration Examples

This section contains five examples of SLIP routing configurations. Each configuration is designed to meet different communication requirements.


Note A line must be placed into SLIP mode to be used as a network interface for asynchronous IP routing. This applies to interfaces configured for PPP encapsulation in addition to interfaces configured for SLIP. See the chapters "User Commands" and "SLIP Configuration and Management" for information about configuring SLIP.

Possible communication server configurations range from simple to complex. The following example illustrates a simple configuration that allows routing and dynamic addressing. In this configuration the communication server will act as either a communication server or a router, depending on the user-specified address.

Example 1: Simple Configuration

The following example illustrates a simple configuration that allows routing and dynamic addressing. In this configuration the communication server will act as either a terminal server or a router, depending on the user-specified address.

! allow all lines to run SLIP with user-specified address on or off our local
! network.
line 1 16
slip routing
slip address dynamic
Example 2: Complex Configuration

The following example illustrates a more complex configuration that allows IP routing using TCP header compression, and limits the traffic across the low-bandwidth asynchronous SLIP lines.

interface async 7
ip address 150.136.79.0 255.255.255.0
! apply access list
access-group 1
! Do accounting
ip accounting
! forward broadcasts.
ip helper address 131.108.1.255
!
! run "Van Jacobson" TCP header compression on demand
ip tcp header-compression passive
!
! use priority queuing for small interactive packets (for example, telnet)

! run RIP routing so that PCs and SUNs, and other workstations can send 
! dynamic routing info without having to know about IGRP
router rip
network 150.136.0.0
! Do not use RIP on the ethernet
passive-interface ether 0

					router igrp 109
network 150.136.0.0
! do not send big routing updates down the link. Each remote host
! must use the SLIP link as the default route.
passive-interface async 7
! redistribute the routing information received from RIP
redistribute rip

Note Most asynchronous SLIP links have very low bandwidth. Take care to configure your system so the links will not be overloaded. Consider filtering everything but the default route from the routing updates sent on these lines.
Example 3: Dedicated Dial-In Router

In this configuration, the communication server is set up as a dedicated dial-in router. No terminal-server model SLIP connections are allowed. The interfaces are all configured as IP unnumbered.

ip routing
interface ether 0
ip address 1.0.1.1 255.255.255.0
!
interface async 1
ip unnumbered ether 0
interface async 2
ip unnumbered ether 0
interface async 3
ip unnumbered ether 0
interface async 4
ip unnumbered ether 0
interface async 5
ip unnumbered ether 0
!
line 1
slip routing
! the slip addresses are not used except to reply to BootP requests. Normally,
! the routers dialing in will have their own address, and not use BootP at all.
slip address 1.0.2.1
line 2
slip routing
slip address 1.0.3.1
line 3
slip routing
slip address 1.0.4.1
line 4
slip routing
slip address 1.0.5.1
line 5
slip routing
slip address 1.0.6.1
!
line 1 5
slip header-compression passive
slip dedicated
!
! run RIP on the asynchronous lines, because few implementations of SLIP 
! understand IGRP. Run IGRP on the ethernet (and in the local network).
!
router igrp 109
network 1.0.0.0
! send routes from the asynchronous lines on the production network.
redistribute RIP
! don't send IGRP updates on the async interfaces
passive-interface async 1
passive-interface async 2
passive-interface async 3
passive-interface async 4
passive-interface async 5
!
router RIP
network 1.0.0.0
redistribute igrp
passive-interface ethernet 0
! consider filtering everything except a default route from the routing 
! updates sent on the (slow) asynchronous lines 
distribute-list 1 out
!
Example 4: SLIP Line as Network Interface

In this example, one of the SLIP lines is used as the only network interface. The communication server is used primarily as a terminal server, but is at a remote location and dials into the central site for its only network connection.

interface ethernet 0
shutdown
! notice that the asynchronous interface is not explicitly configured;
! rather, it is created dynamically when the SLIP configuration
! is entered.
line 1
slip routing
slip header-compression on
slip address 1.0.0.1
slip dedicated
ip default-gateway 1.0.0.2
!
Example 5: All Server Functions Supported

A communication server can be configured to support all server functions. A user can dial in and use the port for Telnet connections, LAT connections, TN3270, XRemote, SLIP to a single PC, or SLIP routing. Note that in this example, only IGRP routing is running; it is assumed that the systems that are dialing in to use routing will either support IGRP or have some other method (for example, a static default route) of determining that the communication server is the best place to send most of its packets.

interface ether 0
ip address 1.0.0.1 255.255.255.0
!
router igrp 109
network 1.0.0.0
!
line 1 5
slip routing
slip header-compression passive
modem ri-is-cd
!
line 1
slip address dynamic 1.0.0.101
line 2
slip address dynamic 1.0.0.102
line 3
slip address dynamic 1.0.0.103
line 4
slip address dynamic 1.0.0.104
line 5
slip address dynamic 1.0.0.105
!

Maintaining SLIP

This section describes the EXEC command for maintaining SLIP support on the communication server.

Maintaining SLIP is a simple task on the communication server. The clear line EXEC command disables SLIP mode and starts an EXEC process on a nondedicated SLIP line. Enter this command at the EXEC prompt:

clear line line-number

The argument line-number specifies the line. This command is the only way to exit SLIP mode on a line without modem control.

Monitoring SLIP

Use the EXEC show commands described in this section to obtain displays of activity on the SLIP line.

Displaying the Mapped Internet Address

The show ip aliases command displays Internet addresses mapped to TCP ports (aliases) and SLIP addresses, which are treated similarly to the aliases. Enter this command at the EXEC prompt:

show ip aliases

To distinguish a SLIP address from a normal alias address, the command output uses the form SLIP TTYn for the port number, where n is the terminal number (in octal).

Sample output follows:

cs> show ip aliases
IP Address    Port
192.31.7.52     SLIP TTY35
192.31.7.53     SLIP TTY36
192.31.7.54     SLIP TTY37
192.31.7.55     SLIP TTY40

The display lists the IP address and corresponding port number.

Displaying the IP ARP Cache

The show ip arp EXEC command displays the Address Resolution Protocol (ARP) cache, where SLIP addresses appear as permanent ARP table entries. To display the IP ARP cache, use the following EXEC command:

show ip arp

An Address Resolution Protocol establishes correspondences between network addresses (an IP address, for example) and LAN hardware addresses (Ethernet addresses). A record of each correspondence is kept in a cache for a predetermined amount of time and then discarded. Following is sample output. Table 1-1 describes the fields displayed.

cs> show ip arp
Protocol  Address          Age (min)     Hardware Addr   Type      Interface
Internet  131.108.1.140          137     aa00.0400.6408  ARPA      Ethernet0
Internet  131.108.1.111          156     0800.2007.8866  ARPA      Ethernet0
Internet  131.108.1.115           33     0000.0c01.0509  ARPA      Ethernet0
Internet  192.31.7.24              5     0800.0900.46fa  ARPA      Ethernet2
Internet  192.31.7.26             41     aa00.0400.6508  ARPA      Ethernet2
Internet  192.31.7.27              -     aa00.0400.0134  ARPA      Ethernet2
Internet  192.31.7.28             67     0000.0c00.2c83  ARPA      Ethernet2
Internet  192.31.7.17             67     2424.c01f.0711  ARPA      Ethernet2
Internet  192.31.7.18             64     0000.0c00.6fbf  ARPA      Ethernet2
Internet  192.31.7.21            114     2424.c01f.0715  ARPA      Ethernet2
Internet  131.108.1.33            15     0800.2008.c52e  ARPA      Ethernet0
Internet  131.108.1.55            44     0800.200a.bbfe  ARPA      Ethernet0
Internet  131.108.1.6             89     aa00.0400.6508  ARPA      Ethernet0
Internet  131.108.7.1              -     0000.0c00.750f  ARPA      Ethernet3
Internet  131.108.1.1              -     aa00.0400.0134  ARPA      Ethernet0

Show IP ARP Display Field Descriptions
Field Description
Protocol Protocol for network address in Address field
Address The network address that corresponds to Hardware Addr
Age (min) Age, in minutes, of the last update of the cache entry
Hardware Addr LAN hardware address that corresponds to network address
Type Type of ARP (Address Resolution Protocol):

ARPA = Ethernet-type ARP

SNAP = RFC1042 ARP

Probe = HP Probe Protocol

Interface Interface that has the corresponding Address

Displaying SLIP Line Status

The show line EXEC command displays SLIP status for a line running in SLIP mode. Enter this command at the EXEC prompt:

show line line-number

The argument line-number specifies the line.

Following is sample output of this command.

tarmac> show line 1
Tty Typ    Tx/Rx    A Modem  Roty AccO AccI  Uses    Noise Overruns
   1 TTY  9600/9600  -    -      -    -    -     0        1        0
Line 1, Location: "", Type: ""
Length: 24 lines, Width: 80 columns
Baud rate (TX/RX) is 9600/9600, no parity, 2 stopbits, 8 databits
Status: Ready
Capabilities: SLIP allowed
Modem state: Ready noCTS noRING
Special Chars: Escape  Hold  Stop  Start  Disconnect  Activation
                ^^x    none   -     -       none
Timeouts:      Idle EXEC    Idle Session   Modem Answer  Session   Dispatch
               0:10:00        never         0:00:15      not imp   not set
Session limit is not set.
Allowed transports are telnet lat pad rlogin.  Preferred is lat
No output characters are padded
Characters causing immediate data dispatching:
   Char    ASCII
SLIP header compression enabled
Group codes:    0

Following is sample output of the show line command without the line-number argument.

cs> show line 1
Tty Typ    Tx/Rx    A Modem  Roty AccO AccI  Uses    Noise
   0 CTY             -    -      -    -    -   1       0
   1 SLIP 9600/9600  -    -      -    -    -   0       0
   2 TTY  9600/9600  -    -      1    -    -   0       0
   3 TTY  9600/9600  - inout     1    -    -   0       0
   4 TTY  9600/9600  -    -      -    -    -   0       0
*  5 TTY  9600/9600  -    -      -    -    -   1       0
   6 SLIP 9600/9600  -    -      -    -    -   0       0
   7 TTY  9600/9600  -    -      -    -    -   0       0
  10 TTY  9600/9600  -    -      -    -    -   0       0
  11 TTY  9600/9600  -    -      -    -    -   0       0
  12 TTY  9600/9600  - inout     -    -    -   0       0
  13 TTY  9600/9600  -    -      -    -    -   0       0
  14 TTY  9600/9600  -    -      -    -    -   0       0
  15 TTY  9600/9600  -    -      -    -    -   0       0
  16 TTY  9600/9600  -    -      -    -    -   0       0
  17 TTY  9600/9600  -    -      -    -    -   0       0

Show Line Display Field Description
Field Description
Tty Line number in octal or decimal (depending on the setting of the service decimal-tty global configuration command)
* Active line
Type The line type
Tx/Rx Current transmit and receive baud rates
Modem Handling, if any, of RS-232 modem control signals
Roty Rotary group number
Acc0 Access class for outgoing connections
Acc1 Access class for incoming connections
Uses Total number of connections made to or from the terminal line since the system was booted
Noise Total number of characters received ("noise" characters) as a framing error or when the line is inactive

Displaying the Status of SLIP-Configured Lines

The show slip EXEC command displays the status of all lines configured for SLIP support. Enter this command at the EXEC prompt:

show slip

Following is sample output. Table 1-3 describes the fields displayed by this command.

cs> show slip
Slip statistics:
  Rcvd: 82514 packets, 0 bytes, 21478 escapes
        414 format errors, 2 checksum errors, 0 overrun, 0 no buffer
  Sent: 70656 packets, 0 bytes, 161701 escapes, 1135 dropped
  Tty Mod   Address      Istate  Ostate   Qd InPack OutPac Inerr Dropped MTU Qsz
   1 i/o 131.108.1.230  IDLE    IDLE    0      0      0     0    0 1524   3
   2 i/o 131.108.1.231  IDLE    IDLE    0      3      0     0    0 1524   3
   3 i/o 131.108.1.232  IDLE    IDLE    0   4375   3994     0    9 1524   3
   4 i/o 131.108.1.233  IDLE    IDLE    0     24     22    0     0 1524   3
   5 i/o 131.108.1.245  IDLE    IDLE    0    955   1035    0     1 1524   3
   6 i/o 131.108.1.246  IDLE    IDLE    0      0      0    0     0 1524   3
   7 i/o 131.108.1.247  IDLE    IDLE    0     15      8    0     0 1524   3
  10 i/o 131.108.1.248  IDLE    IDLE    0   3167   2599    0    54 1524   3
* 11 i/o 131.108.1.249  RECV    IDLE    0   1753   1475    0    30 1524   3
  12 i/o 131.108.1.250  IDLE    IDLE    0      0      0    0     0 1524   3
  13 i/o 131.108.1.251  IDLE    IDLE    0      0      0    0     0 1524   3
  14 i/o 131.108.1.252  IDLE    IDLE    0  30761  25854    0   423 1524   3
  15 i/o 131.108.1.234  IDLE    IDLE    0   4900   5734    0   166 1524   3
  16 i/o 131.108.1.235  IDLE   IDLE     0      0      0    0     0 1524   3
  16 i/o 131.108.1.235  IDLE    IDLE    0      0      0    0     0 1524   3
  17 i/o 131.108.1.236  IDLE    IDLE    0   3393   3256    0    31 1524   3
  20 i/o 131.108.1.237  IDLE    IDLE    0      4      0    0     0 1524   3

SLIP Statistics Display Field Descriptions
Field Description
Rcvd: Statistics on packets received
   packets Packets received
   bytes Total number of bytes
   escapes Count of escape characters received
   format errors Packets with a bad IP header, even before the checksum is
calculated
   checksum errors Count of checksum errors
   overrun Number of giants received
   no buffer Number of packets received when no buffer was available
Sent Statistics on packets sent
   packets Packets sent
   bytes Total number of byte
   escapes Count of escape characters sent
   dropped Number of packets dropped
Tty mod Type of modem control
Address IP address of the line
IState and OState Used by technical support for troubleshooting
Qd Number of packets on hold queue (Qsz is max)
InPack Number of packets input for asynchronous line
OutPac Number of packets sent to asynchronous line
Inerr Number of total input errors; sum of format errors, checksum errors, overruns and no buffers
Dropped Number of packets received that would not fit on the hold queue (time to either fix the hosts' TCPs, or increase the hold queue size)
MTU The maximum packet size, in bytes, that the interface will

handle

Qsz The maximum number of packets allowed to be in the queue before packets are dropped (in order to maintain congestion control)
* An asterisk indicates a line currently in SLIP mode

Displaying SLIP BootP Parameters

The show async-bootp EXEC command displays the parameters that have been configured for SLIP extended BootP requests. Enter this command at the EXEC prompt:

show async-bootp

Following is sample output:

cs> show async-bootp
The following extended data will be sent in BOOTP responses:
bootfile (for address 128.128.1.1) "pcboot"
bootfile (for address 131.108.1.111) "dirtboot"
subnet-mask 255.255.0.0
time-offset -3600
time-server 128.128.1.1

Debugging SLIP

The privileged-mode EXEC debug commands described in this section are used to troubleshoot lines in SLIP mode. Generally, you enter these commands during troubleshooting sessions with Cisco staff.

For each debug command, there is a corresponding undebug command that turns the display off. Entering the debug commands will affect performance of the SLIP feature.

debug slip

The debug slip EXEC command enables logging of all SLIP activity. The high volume of SLIP debugging output, which amounts to several lines per packet, noticeably affects overall system performance.

debug slip-event

The debug slip-event EXEC command enables logging of selected SLIP events, such as various types of errors, enabling and disabling of SLIP mode on a line, and so on. The volume of output for this command is much lower than that for the debug slip command.


Note For complete SLIP debugging output, use both the debug slip and the debug slip-event commands.

SLIP Global Configuration Command Summary

This section provides an alphabetically arranged summary of the SLIP global configuration commands.

[no] async-bootp tag [:hostname] data...

Specifies extended BootP requests as defined in RFC1084. The argument tag is the item being requested, and is one of the following:

The optional argument :hostname indicates that this entry applies only to the host specified. The argument :hostname accepts both an IP address and logical host name. The argument data can be a list of IP addresses entered in dotted decimal notation or as logical host names, a number, or a quoted string. Use the no async-bootp command to clear the list.

SLIP Interface Command Summary

Following is a list of alphabetically arranged SLIP interface commands. Refer to the section "Configuring Asynchronous Lines" in the "System Configuration" chapter for additional information about line configuration.

ip unnumbered interface-name

Configures an interface to be unnumbered. The argument interface-name is the name of another interface on which the communication server has an assigned IP address.

line n

Specifies the line you will be using for SLIP. The argument n is the number of the line you are configuring for SLIP.

SLIP Line Configuration Subcommand Summary

Following is a list of alphabetically arranged SLIP line configuration subcommands. Refer to the section "Configuring Asynchronous Lines" in the "System Configuration" chapter for additional information about line configuration.

no slip

Cancels SLIP support on the line.

slip access-class number {in|out}

Configures an access list to be used on packets to or from the SLIP host. The argument number is the IP access list number. The keyword in configures a list for packets from the SLIP host; keyword out compares the IP source address against the access list, and only those packets allowed by the access list are transmitted on the asynchronous line.

slip address address [mask]

Assigns an interface address. The argument address is the address of the of the SLIP interface. The argument mask is the network mask for the associated IP network.

slip address dynamic [default-address]

Assign an interface address. The argument address is the address of the SLIP interface. To specify dynamic addressing, include the optional dynamic keyword. The default-address argument is the address that will be used if a user does not have their own address.

slip dedicated

Places the line in SLIP mode permanently. The communication server will not create an EXEC on this line, so it is not available for normal interactive use.

slip header-compression {on|off|passive}

Configures Van Jacobson TCP header compression on the SLIP link. Header compression data areas are initialized to handle up to 16 simultaneous TCP connections. Currently, you cannot change this number. You can only turn header compression on or off, or use the passive keyword. The passive argument will prevent the communication server from transmitting compressed packets until it has seen a compressed packet arrive from the SLIP link. If no keyword is specified, passive is the assumed argument.

slip hold-queue packets

Specifies the limit of the SLIP output queue, which stores packets received from the network waiting to be sent to the SLIP client. The argument packets is the maximum number of packets. Default is two packets.

slip interactive

Allows the line to be used in either SLIP mode or interactive mode. Hanging up the modem or clearing the line puts the line back into interactive mode.

slip mtu bytes

Specifies the size of the largest Internet packet that the SLIP support can handle. The argument bytes is the maximum number of bytes. Default is 1500 bytes.

slip routing

Enables SLIP routing on a line.

SLIP EXEC Command Summary

This section lists and summarizes SLIP and CSLIP user commands discussed in this chapter.

slip [/compressed] {address|default}

Forces header compression to be activated on a line configured for slip header-
compression passive
. The argument address is the IP address of the interface on which you want to implement header compression. Using the alternative keyword default, the line is put into SLIP mode using the address in the IP address argument of the slip address dynamic configuration command.

hometocprevnextglossaryfeedbacksearchhelp
Copyright 1989-1997 © Cisco Systems Inc.