技术
成就梦想!

华为MA5626和MA5620 ONU设备配置Telnet、SSH、SNMP远程管理

1、配置管理地址

MA5626-8-POE#switch language-mode    #切换语言
  当前语言模式已切换到本地语种
MA5626-8-POE(config)#vlan 3 smart    #创建管理vlan
interface vlanif3                    #配置管理VLAN_IP地址和描述
description "Home_network"
ip address 10.0.0.233 255.255.255.0

2、配置Telnet、SSH服务

MA5626-8-POE(config)#terminal user  name    #配置telnet用户,根据引导配置用户即可
  请输入用户名(长度<6,15>):linuser
  请输入用户密码(长度<6,15>):
  请确认密码(长度<6,15>):
  模板名称(<=15位)[root]:
  请输入用户权限:3                    #选择3管理员
     1、普通用户  2、操作者  3、管理者:3
  请输入用户可重复登录数(0--4):4
  请输入用户的附加信息(<=30位):Guanli_lintengfei
  用户添加成功
  重复该操作? (y/n)[n]:n

MA5626-8-POE(config)#ssh user linuser authentication-type password    #配置用户linuser支持SSH

3、配置SNMP

MA5626-8-POE(config)#snmp-agent community write 12345678   #配置snmp写团子字为12345678

4、检查测试保存配置

MA5626-8-POE(config)#save            #保存设备配置

MA5626-8-POE(config)#display current-configuration    #查看设备配置
{ <cr>|section<K>|simple<K>||<K> }:

  命令:
        display current-configuration 
[MA562XV800R308: 3600]
#
[global-config]
  <global-config>
 sysname MA5626-8-POE
 terminal user name buildrun_new_password 597362588 *[%SM<IP3YUANMUUKMEG9L`9M!* 1 2014:02:04:05:39:54 2014:02:04:05:39:54 root 2 15 "Guanli_lintengfei"
 trap convert event-to-alarm 0x3721000a
 alarm alarmlevel 0x0a11a106 warning
 alarm alarmlevel 0x0a11a109 warning
 alarm alarmlevel 0x0a310112 warning
 alarm alarmlevel 0x0a310142 warning
#
[device-config]
  <device-config>
 port port-index 0/0/1 port-type GE-PORT
 port port-index 0/0/2 port-type GE-PORT
#
[public-config]
  <public-config>
  <public-config>
 port mode 0/0/1 ge                    
 port mode 0/0/2 ge
 snmp-agent local-engineid 800007DB035C4CA9127DAF
 snmp-agent community write 12345678
#
[vlan-config]
  <vlan-config>
 vlan 3 smart
 vlan 5 smart
 port vlan 3 0/0 1
 port vlan 3 0/0 2
 port vlan 5 0/0 1
 port vlan 5 0/0 2
#
[vlan-srvprof]
  <vlan-srvprof>
 vlan service-profile profile-id 3 profile-name "srvprof-3"
 user-bridging enable
  commit
 vlan service-profile profile-id 5 profile-name "srvprof-5"
 user-bridging enable
  commit
 vlan bind service-profile 3 profile-id 3
 vlan bind service-profile 5 profile-id 5
 vlan bind service-profile 5 profile-id 5
#                                      
[eth]
  <eth-0/1>
interface eth 0/1
 port 1 enable mode signal priority critical max-power 30000
 port 2 enable mode signal priority critical max-power 30000
 port 3 enable mode signal priority critical max-power 30000
 port 4 enable mode signal priority critical max-power 30000
 port 5 enable mode signal priority critical max-power 30000
 port 6 enable mode signal priority critical max-power 30000
 port 7 enable mode signal priority critical max-power 30000
 port 8 enable mode signal priority critical max-power 30000
#
[bbs-config]
  <bbs-config>
 service-port 0 vlan 5 eth 0/1/1 multi-service user-vlan untagged  rx-cttr 6 
tx-cttr 6
 service-port 1 vlan 3 eth 0/1/2 multi-service user-vlan untagged  rx-cttr 6 
tx-cttr 6
 service-port 2 vlan 3 eth 0/1/3 multi-service user-vlan untagged  rx-cttr 6 
tx-cttr 6
 service-port 3 vlan 3 eth 0/1/4 multi-service user-vlan untagged  rx-cttr 6 
tx-cttr 6
 service-port 4 vlan 3 eth 0/1/5 multi-service user-vlan untagged  rx-cttr 6 
tx-cttr 6                              
 service-port 5 vlan 3 eth 0/1/6 multi-service user-vlan untagged  rx-cttr 6 
tx-cttr 6
 service-port 6 vlan 3 eth 0/1/7 multi-service user-vlan untagged  rx-cttr 6 
tx-cttr 6
 service-port 7 vlan 3 eth 0/1/8 multi-service user-vlan untagged  rx-cttr 6 
tx-cttr 6
#
[abs-config]
  <abs-config>
 config
#
[prevlanif]
  <prevlanif>
 interface vlanif3
 interface vlanif5
#
[vlanif]
  <vlanif3>
interface vlanif3
 description "Home_network"
 ip address 10.0.0.233 255.255.255.0
#
  <vlanif5>
  <vlanif5>
interface vlanif5                      
 description "Siwai_AP_network"
#
[meth]
  <meth0>
interface meth0
 ip address 10.11.104.2 255.255.255.0
#
[null]
  <null0>
interface null0
#
[post-system]
  <post-system>
 ip route-static 0.0.0.0 0.0.0.0 10.0.0.1
 ssh user 597362588 authentication-type password
#
return

 

image

赞(7)
未经允许不得转载:未来往事 » 华为MA5626和MA5620 ONU设备配置Telnet、SSH、SNMP远程管理

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址