Command
Encapsulation
Use
This command sets the encapsulation type for an interface.
Syntax
Router(config-if)#encapsultion <mode>
Serial Options
<hdlc> | This is the default encapsulation, it provides a simple serial link. |
<ppp> | This enables ppp on the link, it provides link authentication and many other features. |
<frame-relay> | This enables frame-relay on a serial link. |
Ethernet Options
<dot1q> | This encapsulation enables trunking on a ethernet link. |
Example
In this example, we will enable frame-relay on R1’s serial1/0 link.
R1(config)#int s1/0 R1(config-if)#encapsulation frame-relay R1(config-if)#frame-relay ? |