[Contents] [Prev] [Next] [Index] [Report an Error]


Configure Encapsulation to Cisco-HDLC

Action

To set the encapsulation on a T1 physical interface, follow these steps:

  1. In configuration mode, go to the following hierarchy level:
  2. [edit]
    
    user@host# edit interfaces interface-name
    
    
    
  3. Configure Cisco-HDLC:
  4. [edit interfaces interface-name]
    
    user@host# set encapsulation cisco-hdlc
    
    
    
  5. Verify the configuration:
  6. user@host# show
    
    
    

For example:

[edit interfaces t1-0/1/1:8]
user@host# show
encapsulation hdlc;

  1. Commit the change:
  2. user@host# commit 
    
    
    

For example:

[edit interfaces t1-0/1/1:8]
user@host# commit 
commit complete

  1. Check the interface configuration
  2. user@host# run show interfaces t1-2/1/0:20                         
    
    Physical interface: t1-2/1/0:20, Enabled, Physical link is Up
    
      Interface index: 210, SNMP ifIndex: 173
    
      Link-level type: Cisco-HDLC, MTU: 1504, Clocking: Internal, Speed: T1, 
      Loopback: Local, FCS: 16,
    
      Mode: C/Bit parity, Framing: ESF
    
      Device flags   : Present Running
    
      Interface flags: Point-To-Point SNMP-Traps
    
      Link flags     : Keepalives
    
      Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3
    
      Keepalive: Input: 39 (00:00:06 ago), Output: 0 (never)
    
      CoS queues     : 4 supported
    
      Last 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   : None
    
      DS3   alarms   : None
    
      DS1   defects  : None
    
      DS3   defects  : None
    
    
    
      Logical interface t1-2/1/0:20.0 (Index 74) (SNMP ifIndex 213) 
    
        Flags: Point-To-Point SNMP-Traps Encapsulation: Cisco-HDLC
    
        Protocol inet, MTU: 1500
    
          Flags: None
    
          Addresses, Flags: Is-Preferred Is-Primary
    
            Destination: 10.10.1.1, Local: 10.10.1.2
    

What 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.


[Contents] [Prev] [Next] [Index] [Report an Error]