1、在路由器上启用帧中继的功能
        frame-relay switching
 
2、在接口下分别配置帧中继的封装方式
       interface s0/0
       clock rate 128000
       no shutdown
       encapsulation frame-relay
 
3、在接口下配置LMI的类型
       interface s0/0
       frame-relay lmi-type {cisco |  ansi}
 
4、在接口下配置DCE/DTE
        interface s0/0
        frame-relay intf-type {dce  |  dte}
 
5、在接口下配置帧中继交换表
        interface s0/0
        frame-relay route 101 interface s1/1 301   /*如果从接口收到来自101的数据,那么从S1/1这个接口转发出去并把DLCI值换成301