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


Cisco HDLC Configuration Tasks

To configure a Cisco HDLC interface:

  1. Configure the physical interface on which you want to configure Cisco HDLC.
  2. host1(config)#interface serial 3/1:2/1
    
    
    
  3. Select Cisco HDLC as the encapsulation method for the interface.
  4. host1(config-if)#encapsulation hdlc
    
    
    
  5. Assign a local IP address to the interface.
  6. host1(config-subif)#ip address 192.32.10.2 255.255.255.0
    
    
    
  7. Verify that your configuration changes are correct by checking the state of the interfaces using show commands.
  8. host1#show hdlc interface
    

encapsulation hdlc

interface serial

ip address

Optional Tasks

The following tasks are optional.

  1. Configure the SLARP keepalive interval.
  2. host1(config-if)#hdlc keepalive 10
    
    
    
  3. Enable loopback detection on an interface.
  4. host1(config-if)#hdlc down-when-looped
    
    
    
  5. Disable an interface.
  6. host1(config-if)#hdlc shutdown
    

hdlc down-when-looped

hdlc keepalive

hdlc shutdown

Configuration Example

This example shows how to configure Cisco HDLC over an unchannelized DS3 interface on a cOCx/STMx line module. The example shows the complete configuration procedure, from configuring the SONET interface to assigning an IP address to the Cisco HDLC interface.

  1. Create or select a virtual router, vr1.
  2. host1(config)#virtual-router vr1
    
    
    
  3. Configure SONET controller, slot 13, port 0.
  4. host1:vr1(config)#controller sonet 13/0
    
    
    
  5. Set the SONET clock source to internal.
  6. host1:vr1(config-controll)#clock source internal module
    
    
    
  7. Create an OC1 path.
  8. host1:vr1(config-controll)#path 1 oc1 1
    
    
    
  9. Create an unchannelized DS3 interface.
  10. host1:vr1(config-controll)#path 1 ds3 1 unchannelized
    
    
    
  11. Set the DS3 interface clock source to internal.
  12. host1:vr1(config-controll)#path 1 ds3 1 clock source internal module
    
    
    
  13. Exit controller configuration mode.
  14. host1:vr1(config-controll)#exit
    
    
    
  15. Create or select a serial interface over the DS3 interface.
  16. host1:vr1(config)#interface serial 13/0:1/1
    
    
    
  17. Set the encapsulation to Cisco HDLC.
  18. host1:vr1(config-if)#encapsulation hdlc
    
    
    
  19. Enable loopback detection on the interface.
  20. host1:vr1(config-if)#hdlc down-when-looped
    
    
    
  21. Assign an IP address to the interface.
  22. host1:vr1(config-if)#ip address 160.1.0.1 255.255.255.0
    
    
    

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