SLIP configuration command directory

debug slip

encapsulation slip

debug slip

Show SLIPprotocol packet sending, receiving process and error information. Use command “no debug slip” to stop showing information.

[no] debug slip [error|events|packet] [interface]

parameter:

interface

The interface to show SLIP debug information

error

Enable the debug switch of SLIP error information

events

Enable the debug switch of SLIPprotocol event

packet

Enable the debug switch of SLIP receiving/sending packet

command mode:

supervisor mode

Explanation:

After opening the SLIP debug information switch, it outputs SLIP sending and receiving packet information or error information, and helps the user in SLIP trouble diagnosis.

example:

The following example describes the situation of debugging SLIP receiving packet:

Router#debug slip packet s1/2

Router#

SLIP Serial1/2: RX <- packet, len=1

C0                                            .

SLIP Serial1/2: RX <- packet, len=62

45 00 00 3C D5 CD 00 00 7F 01 9B 3A DB DC A8 00   E..<.......:....

10 0A 00 00 01 08 00 18 5C 02 00 33 00 61 62 63       ........\..3.abc

64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73      defghijklmnopqrs

74 75 76 77 61 62 63 64 65 66 67 68 69 C0            tuvwabcdefghi.

Domain

Description

SLIP

SLIP protocol is currently debugged

Serial0/2

Current debug interface

RX <- packet

SLIP receives the packet

len=1

Length of packet received

C0

Initial delimiter of SLIP frame

45 00 00 3C D5 CD 00 00 7F 01 9B 3A DB DC A8 00

10 0A 00 00 01 08 00 18 5C 02 00 33 00 61 62 63

64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73

74 75 76 77 61 62 63 64 65 66 67 68 69 C0

Hex system denotation of packet received

E..<.......:....

........\..3.abc

defghijklmnopqrs

tuvwabcdefghi.

ASCII code denotation of sent packet.

Those out of the denotation range of ASCII code are shown in “.”

The following example describes the situation of debugging SLIP sending packet:

Router#debug slip packet s1/2

Router#

SLIP Serial1/2: TX -> packet, len=86

C0 45 00 00 54 00 0A 00 00 FF 01 A7 9C 0A 00 00   .E..T...........

01 0A 00 00 02 08 00 39 55 00 0D 00 00 00 01 C9    .......9U.......

8D 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12   ................

13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22   ............. !"

Domain

Description

SLIP

SLIPprotocol is currently debugged

Serial1/2

Current debug interface

TX -> packet

SLIP packet currently sending

len=86

Length of packet sent

C0 45 00 00 54 00 0A 00 00 FF 01 A7 9C 0A 00 00

01 0A 00 00 02 08 00 39 55 00 0D 00 00 00 01 C9

8D 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12

13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22

Hex system denotation to send the packet

.E..T...........

.......9U.......

................

............. !"

ASCII code denotation of sent packet.

Those out of the denotation range of ASCII code are shown in “.”

 

encapsulation slip

Interface encapsulation SLIP. No to cancel the encapsulation.

encapsulation slip

no encapsulation slip

parameter:

none

default:

none

command mode:

Interface configuration mode

Explanation:

Use “no” to cancel encapsulation and back to encapsulation PPP mode. It is suggested that before you change the encapsulation type, you should use command “no” to close the interface. Although this is not necessary, this operation is safer

example:

The following example configures SLIP encapsulation mode on serial s1/1:

interface s1/1

encapsulation slip