Chapter2InterfaceConīæguration
encapsulation
Purpose
Usethiscommandtosettheencapsulationmodeofserialportor
channelizedE1interface.Restoredefaultwiththenocommand.
CommandModes
Interfaceconīæguration
Syntax
encapsulation{ppp|hdlc|frame-relay}
noencapsulation
Syntax
Description
ppp
Setstheencapsulationmodeofserialportto
ppp
hdlc
Setstheencapsulationmodeofserialport
tohdlc
frame-relaySetstheencapsulationmodeofserialportto
frame-relay
Defaults
TheencapsulationmodeofserialportorchannelizedE1interface
isppp.
Example
Thisexampledescribeshowtosettheencapsulationmodeofthe
serialportserial_1/1tohdlc.
ZXR10(config)#interfaceserial_1/1
ZXR10(config-if)#encapsulationhdlc
encapsulationdot1Q
Purpose
UsethiscommandtoencapsulateVLAN-IDforanewlycreatedsub
interface.Canceltheencapsulationwiththenocommand.
CommandModes
Subinterfaceconīæguration
Syntax
encapsulationdot1Q<vlan-id>
encapsulationdot1Qrange{<vlan-id>-<vlan-id>}
noencapsulationdot1Q
noencapsulationdot1Qrange
Syntax
Description
<vlan-id>
TheVLAN_IDsupportedbythesubinterface,
intherangeof1~4094
range<vlan-id>-<vl
an-id>
TheVLAN_IDsupportedbythesubinterface,
intherangeof1~4094
Instructions
ļæ½Onlythesubinterfacecanbeconīæguredwiththiscommand.
ļæ½Thenewlycreatedsubinterfacemustbeencapsulatedwith
the<vlan-id>Otherwise,thissubinterfacecannotreceiveand
sendpackets.
ConīædentialandProprietaryInformationofZTECORPORATION23