Configuration of high-level Link Control HDLC
Procedure:
Enter the global configuration status config term
Enter port configuration Status interface serial slot/position
Set the HDLC Frame Type encapsulation hdlc
Set IP addresses and Their subnet masks
Ip address ip-address netmask
If the current port is connected to the DCE cable, set the clock clockrate clock-rate
Configuration example: the IP address of vroa A is 132.4.2.2, And the IP address of vrob B is 132.4.2.1. The port s2/0 is used for interconnection.
Configure vroa A as follows:
*router# config term
*router(config)# interface serial2/0
*router(config-if)# encapsulation hdlc
*router(config-if)# ip address 132.4.2.2 255.255.0.0
*router(config-if)# clockrate 64000
Configure vrob B as follows:
*router# config term
*router(config-if)# encapsulation hdlc
*router(config-if)# ip address 132.4.2.1 255.255.0.0
*router(config-if)# clockrate 64000
Average Link Access LAPB
Procedure:
Enter the global configuration status config term
Enter port configuration Status interface serial slot/position
Set the lapb frame type. If the current node is used as the lapb dce, add the dce option encapsulation lapb [dce].
Set the ip address and its mask ip address ip-address netmask
If this port is used as the physical DCE ()
Article entry: csh responsible editor: csh