Use the following CLI syntax to configure cHDLC:
config# port port-id
— tdm
— ds3 [sonet-sdh-index]
— channelized {ds1|e1}
— no shutdown
— ds1
— channel-group channel-group
— cisco-hdlc
— down-count down-count
— keepalive time-interval
— up-count up-count
— encap-type {bcp-null|bcp-dot1q|ipcp|ppp-auto|frame-relay|wan-mirror|cisco-hdlc}
— timeslots timeslots
— no shutdown
The following example shows SONET/SDH access mode configuration command usage:
A:ALA-29>config>port>tdm# ds3
— A:ALA-29>config>port>tdm>ds3# channelized ds1
— A:ALA-29>config>port>tdm>ds3# no shutdown
— A:ALA-29>config>port>tdm>ds3# exit
— A:ALA-29>config>port>tdm# ds1 1
— A:ALA-29>config>port>tdm>ds1# no shutdown
— A:ALA-29>config>port>tdm>ds1# channel-group 1
— A:ALA-29>config>port>tdm>ds1>channel-group# timeslots 1-20
— A:ALA-29>config>port>tdm>ds1>channel-group# encap-type cisco-hdlc
— A:ALA-29>config>port>tdm>ds1>channel-group# exit
— A:ALA-29>config>port>tdm>ds1# channel-group 1
— A:ALA-29>config>port>tdm>ds1>channel-group# no shutdown
— A:ALA-29>config>port>tdm>ds1>channel-group# exit
— A:ALA-29>config>port>tdm>ds1# exit
— A:ALA-29>config>port>tdm#
The following example shows a configuration:
A:ALA-29>config>port# inf
----------------------------------------------
tdm
ds3
channelized ds1
no shutdown
exit
ds1 1
channel-group 1
encap-type cisco-hdlc
timeslots 1-20
cisco-hdlc
exit
no shutdown
exit
no shutdown
exit
exit
no shutdown
----------------------------------------------
A:ALA-29>config>port#