得过且过 发表于 2018-7-23 07:04:17

华为 MA5605 配置相关命令

--------------------------------------------------------------------------------  MA5605配置操作手册
  相关命令:show time
  show version
  show board 0
  show running-config
  1:改名字
  MA5605(config)#hostname xiaowei
  2:改用户密码
  MA5605#user password
  >old password: admin
  > New password(<20 chars): adminmin(改后新密码,如果不需要设置此步不需要做)
  > Confirm new password:adminmin
  3:改时间
  MA5605#time (一般不用配置)
  4. 进入LAN 配置模式设置LAN 端口状态
  int lan 0/0
  MA5605(config-LAN-0/0)#port mode
  <tagged-mode>{tagged,untagged}:tagged
  {negotiate,non-negotiate}:non-negotiate
  {full-duplex}:full-duplex
  <speed>{100m}:100m
  Set successfully.
  5.MA5605(config-LAN-0/0)#vlan %d (业务VLAN)
  <vlanId>{1-4095}:1554
  Add VLAN successfully, VLANID =
  MA5605(config-LAN-0/0)#vlan %d (管理VLAN)
  <vlanId>{1-4095}:1000
  Add VLAN successfully, VLANID =
  5. 设置VLAN (打开带内通道)
  MA5605(config)#nms
  <vlanId>{1-4095}:1000(网关vlan)
  Are you sure to set the inband VLAN to 1? (y/n) :y
  6. 设置级联转发VLAN (注意如果是级连要此步,不是侧不要)
  MA5605(config-LAN-0/0)#cascade
  {forward,number}:number
  <num>{0-3}:1
  Set cascading number successfully.
  MA5605(config-LAN-0/0)#cascade
  {forward,number}:forward
  {vlan,all}:all
  <start-vlanId>{1-4095}:
  <end-vlanId>{1-4095}:
  Set 16 cascading VLAN successfully.
  注意:
  ?? 如果有级联设备,则上级设备需要设置转发(下级设备的)VLAN和级联层数(
  设置FE接口级联转发功能”);

  ?? 级联MA5605 下级的VLAN>  7. 设置设备IP 地址
  MA5605(config)#atmlan ip-address ethernet
  <ip-addr>:218.92.157.150
  <netmask>:255.255.255.248
  Set successfully
  8. 配置到上连设备的系统路由
  MA5605(config)#atmlan ip-route
  <ip-addr>:0.0.0.0
  <netmask>:0.0.0.0
  <gateway>:218.92.157.145
  Add route successfully.
  9. 配置可接受访问列表
  MA5605(config)#atmlan ip-access
  <start-ip>:218.92.157.145    (路游地址)
  <end-ip>:218.92.157.137
  <mask>:255.255.255.255
  (可把县局要维护的计算机、交换机地址配置进去)
  10. 设置ADSL 线路模板参数
  WA_SL_MA5605(config)#adsl line-profile add 8
  During input,press 'Q' to quit,then settings at this time are neglected.
  > Select the line profile type 1-adsl 2-adsl2+(1~2) : (2加模板)
  > Will you set basic configuration for modem? (y/n) :y
  Note: Setting to these mode of G992.3~5 will lead that the adsl ports that are
  not support adsl2+ not be activated
  > ADSL operating mode:
  > 0: All(G992.1~3, G992.5, T1.413)
  > 1: Full rate(G992.1/3/5 or T1.413)
  > 2: g.lite(G992.2) (ADLI can not support )
  > 3: T1.413 (ADLI can not support )
  > 4: g.dmt(G992.1/3/5)
  > 5: g.hs(G992.1~3, G992.5, G992.5 is prior)
  > 6: G992.1
  > 7: G992.2 (ADLI can not support )
  > 8: G992.3
  > 9: G992.5
  Please select (0~9) :
  > Trellis coding 0-disable 1-enable (0~1) :
  > Upstream channel bit swap 0-disable 1-enable (0~1) :
  > Downstream channel bit swap 0-disable 1-enable (0~1) : 0
  > Will you set channel mode? (y/n) : y
  Please select channel mode 0-interleaved 1-fast (0~1) :
  > Will you set interleave delay? (y/n) : y
  > Max down stream interleaved delay(0~255 ms) :
  > Max up stream interleaved delay(0~255 ms) :
  > Please select form of transmit rate adaptation in downstream:
  > 0-fixed 1-adaptAtStartup 2-adaptAtRuntime (0~2) :
  > Will you set noise margin for modem? (y/n) :y
  > Target noise margin in down stream (0~15 dB) :
  > Min noise margin in down stream (0~6 dB) :
  > Max noise margin in down stream (6~31 dB) :
  > Target noise margin in up stream (0~15 dB) :
  > Min noise margin in up stream (0~6 dB) :
  > Max noise margin in up stream (6~31 dB) :
  > Will you set parameters for rate? (y/n) : y
  > Min bit rate in down stream (32~32000 Kbps) :
  > Max bit rate in down stream (32~32000 Kbps) : 7168(下行用户速率)
  > Min bit rate in up stream (32~3000 Kbps) :
  > Max bit rate in up stream (32~3000 Kbps) : 512(上行速率)
  > Please input the profile's name : 9M
  Add profile 9 successfully.
  12. 激活ADSL 端口
  MA5605(config)#interface adsl 0/1
  MA5605(config-ADSL-0/1)#detactivate all
  MA5605(config-ADSL-0/1)#activate
  {<all>}{all}:all
  [<lineprofileindex>]{1-20}:5
  13. 设置从ADSL 1 端口到VLAN 10 的业务PVC pvc adsl 0/1/1 8 81 lan 0/0 2335 1483b 1 off off 2 2 (批量生成)
  MA5605(config)#pvc
  {adsl,shdsl,lan}:adsl
  <FrameId/SlotId/PortId>{(0)/(1-4)/(1-16)}:0/1/1
  {<vpi>}{0-127}:0
  {<vci>}{32-127}:100
  {adsl,shdsl,lan}:lan
  <FrameId/SlotId>{(0)/(0-4)}:0/0
  {untagged,tagged}:tagged
  <vlanId>{1-4095}:10
  {1483b,ipoa}:1483b
  <priority>{0-7}:1
  <rx-car>{off,on}ff
  <tx-car>{off,on}ff
  <rx-cttr>{1-20}:2
  <tx-cttr>{1-20}:2
  15: 保存
  MA5605(config)#save
页: [1]
查看完整版本: 华为 MA5605 配置相关命令