serial-protocol

This command specifies the encapsulating protocol on the serial interface.

Syntax

serial-protocol <protocol>

Command

Description

protocol

*bundle id parameter is for mlp only.

Defines the encapsulating protocol:

‘hdlc’ – set hdlc protocol
‘ppp’ – set ppp protocol
‘mlp’ – set multilink ppp protocol and associates the serial interface to a  logical bundle id.

Default

By default, there is no encapsulating protocol set on the serial interface.

Command Mode

Privileged User

Example

This example sets PPP as the encapsulating protocol on the serial interface 0/0:

(conf-if-serial 0/0)#serial-protocol ppp

To remove the protocol, type ‘no’ at the prefix of the command.

This example sets HDLC as the encapsulating protocol on the serial interface 0/0:

(conf-if-serial 0/0)#serial-protocol hdlc

To remove the protocol, type ‘no’ at the prefix of the command.

This example sets MLP as the encapsulating protocol on the serial interface 0/1 and associates the serial interface to a logical bundle identified by id 0:

(conf-if-serial 0/1)#serial-protocol mlp 0

To remove the protocol, type ‘no’ at the command prefix.