FAQ-Serial口的crc与controller口的frame-format crc4配置有什么区别

发布时间:  2013-11-27 浏览次数:  97 下载次数:  0
问题描述

Q:

PPP协议的serial接口下的crc 16(32)配置,与controller 接口下的frame-format crc4(no-crc4)配置有什么区别?

涉及设备版本信息:

NE40E&80E&CX600 V6R3C00SPCa00 、NE40E&80E&CX600 V6R5C00SPC900、NE40E&80E&CX600 V6R6C00SPC300

处理过程

NA

根因

解决方案

 A:
 前者指的是PPP报文的FCS字段采用的是CRC 16还是CRC 32,是链路层的概念。默认为CRC 32。
 配置CRC 16的命令为:
 [HUAWEI -Serial1/2/0/25:0]crc 16 
 [HUAWEI-Serial1/2/0/25:0]display this                                                                                                     
 #                                                                                                                                  
 interface Serial1/2/0/25:0                                                                                                         
  link-protocol ppp                                                                                                                 
  ip address 11.11.11.11 255.255.255.0                                                                                              
  crc 16                                                                                                                            
 #                                                                                                                                  
 return                                                                                                                             
 
 后者指的是E1的成帧模式是奇偶帧(no-crc4)还是复帧(crc4),是物理层的概念。默认配置为no-crc4。
 CPOS接口配置CRC4的命令为:
 [HUAWEI -Cpos1/2/0]e1 25 set frame-format crc4                                                                                           
 [HUAWEI -Cpos1/2/0]display this                                                                                                            
 #                                                                                                                                  
 controller Cpos1/2/0                                                                                                                                                                                                                               
  e1 25 channel-set 0 timeslot-list 1-31                                                                                                                                                                                          
  undo shutdown                                                                                                                     
  e1 25 set frame-format crc4                                                                                                                                                                                                               
 #                                                                                                                                  
 return                                                                                                                             
 
 E1接口下配置CRC4的命令为
 [HUAWEI -E1 1/1/0]frame-format crc4                                                                                                  
 [HUAWEI -E1 1/1/0]dis this                                                                                                            
 #                                                                                                                                  
 controller E1 1/1/0                                                                                                                                                                                                                                   
  channel-set 0 timeslot-list 1-31                                                                                                  
  undo shutdown                                                                                                                          
  frame-format crc4                                                                                                                                                                                                                     
 #                                                                                                                                  
 return       
                                                                                      

建议与总结

END