华为MA5616---常用操作命令

1、串口登录:
用户名:root 密码:mduadmin

从普通模式进入特权模式:
huawei>enable
huawei#  
从特权模式进入全局配置模式。
huawei#config                                                                                                                                                
huawei(config)# 

从全局配置模式进入到EPON NNI模式。

huawei(config)#interface eponnni                                             
{ frameid/slotid/portid<S><Length 5-15> }:0/0/1                                        
                                                                                
  Command:                                                                      
          interface eponnni 0/0/1                                               
                                                                                
huawei(config-if-eponnni-0/0/1)#  

从全局配置模式进入到VDSL模式。

huawei(config)#interface vdsl                                                   
{ frameid/slotid<S><1-15> }:0/1  
                                                                                
  Command:                                                                      
          interface vdsl 0/1    
                                                                                
huawei(config-if-vdsl-0/1)# 

查询MA5616的0号机框中所有单板的信息

huawei>display board
{ desc<K>|frameid[/slotid]<S><Length 1-15> }:0
Command:
          display board 0
  -------------------------------------------------------------------------
  SlotID  BoardName  Status         SubType0 SubType1    Online/Offline
  -------------------------------------------------------------------------
  0       H831CCUB   Active_normal  GP1A
  1       H835ADLE   Normal
  2       H835VDGE   Normal
  3       H838ASRB   Failed                              Offline
  4
  5       H831PDIA   Normal

查询MA5616中0/0槽位单板的信息。

huawei>display board
{ desc<K>|frameid[/slotid]<S><Length 1-15> }:0/0

  Command:
          display board 0/0

  ---------------------------------------                                       
  Board Name          : H832CCUB                                                
  Board Status        : Active normal                                           
  ---------------------------------------                                       
                                                                                
  Subboard[1]: H836ASDA                        Status: Normal                   
  ------------------------------------------------------------------------------
  Port Port COMBO    Optic    MDI    Speed      Duplex    Flow- Active   Link   
       Type Mode     Status          (Mbps)               Ctrl  State           
  ------------------------------------------------------------------------------
     0 GE   optic    absence  -      auto       auto      off   active   offline
  ------------------------------------------------------------------------------
  Note: For a 1000 M, electrical port in the full-duplex mode, setting MDI to   
        any value is invalid                                                    

复位整个系统。

huawei#reboot                                                                   
{ system<K> }:system                                    
                                                                                
  Command:                                                                      
          reboot system                                                         
  Please check whether data has saved, the unsaved data will lose if reboot     
system, are you sure to reboot system? (y/n)[n]:y

举例:查询0/1上的所有端口的端口状态。

huawei#display adsl port state                                                  
{ all<K>|frame/slot/port<S><Length 1-15>|frame/slot<S><Length 1-15> }:0/1
{ <cr>|active<K> }:

  Command:
          display adsl port state 0/1
  ------------------------------------------------------------------------
  Port         Status           Line_Profile   Alm_ProfileExt_Profile
                                线路模板

     0         Activating                1024             1            --
     1         Activating                1024             1            --
     2         Activating                1024             1            

在这里插入图片描述

举例:查询系统中所有的ADSL2+线路配置模板的信息。

huawei(config)#display adsl line-profile                                        
{ <cr>|info<K>|profile-index<U><1,1024> }:                                      
                                                                                
  Command:                                                                      
          display adsl line-profile                                             

在这里插入图片描述

Profile Index ADSL2+线路配置模板号。
Profile Name ADSL2+线路配置模板名称。
Operating Mode ADSL2+线路配置模板的传输模式。目前ADSL2+的工作模式有六种:G992.1,G992.2,G992.3,G992.4,G992.5和T1.413。
Channel Mode ADSL2+线路配置模板的通道工作模式。通道工作模式有交织方式和快速模式两种。
Min Down Rate ADSL2+线路配置模板的下行最小速率。
Max Down Rate ADSL2+线路配置模板的下行最大速率。
Min Up Rate ADSL2+线路配置模板的上行最小速率。
Max Up Rate ADSL2+线路配置模板的上行最大速率。

举例:使用线路模板2,激活0/1/0端口。

huawei(config-if-adsl-0/1)#activate
{ all<K>|PortID<U><0,31> }:0  
{ <cr>|profile-index<K>|profile-name<K> }:profile-index                         
{ profile-index<U><1,1024> }:2                                                  
                                                                                
  Command:                                                                      
          activate 0 profile-index 2                                            
                                                                                
huawei(config-if-adsl-0/1)# 
  Send the command to activate port 0 successfully    

整个MA5616配置详细文档见:》》》MA5616配置指南

猜你喜欢

转载自blog.csdn.net/weixin_42353331/article/details/86417266