Configure Encapsulation to Cisco-HDLC
Action
To set the encapsulation on a T1 physical interface, follow these steps:
- In configuration mode, go to the following hierarchy level:
[edit]user@host#edit interfacesinterface-name- Configure Cisco-HDLC:
[edit interfacesinterface-name]user@host#set encapsulation cisco-hdlc- Verify the configuration:
user@host#show[edit interfaces t1-0/1/1:8]user@host#showencapsulation hdlc;[edit interfaces t1-0/1/1:8]user@host# commitcommit complete
- Check the interface configuration
user@host#run show interfaces t1-2/1/0:20Physical interface: t1-2/1/0:20, Enabled, Physical link is UpInterface index: 210, SNMP ifIndex: 173Link-level type: Cisco-HDLC, MTU: 1504, Clocking: Internal, Speed: T1,Loopback: Local,FCS: 16,Mode: C/Bit parity, Framing: ESFDevice flags : Present RunningInterface flags: Point-To-Point SNMP-TrapsLink flags : KeepalivesKeepalive settings: Interval 10 seconds, Up-count 1, Down-count 3Keepalive: Input: 39 (00:00:06 ago), Output: 0 (never)CoS queues : 4 supportedLast flapped : 2004-05-20 21:46:27 UTC (00:14:28 ago)Input rate : 16 bps (0 pps)Output rate : 160 bps (0 pps)DS1 alarms : NoneDS3 alarms : NoneDS1 defects : NoneDS3 defects : NoneLogical interface t1-2/1/0:20.0 (Index 74) (SNMP ifIndex 213)Flags: Point-To-Point SNMP-TrapsEncapsulation: Cisco-HDLCProtocol inet, MTU: 1500Flags: NoneAddresses, Flags: Is-Preferred Is-PrimaryDestination: 10.10.1.1, Local: 10.10.1.2What It Means
This command sets the interface encapsulation to the Cisco HDLC transport protocol. You must configure the interface with Cisco HDLC to ensure that the logical interface remains up in preparation for the ping test.