Wednesday, November 22, 2017

Huawei OLT Hardware Commissioning | SNMP communication on Huawei OLT

  • Local User Authentication
huawei-olt>enable
huawei-olt#config
huawei-olt(config)#terminal user name
User Name(length<6,15>):<put user name>
User Password(length<6,15>): <put user password>
Confirm Password(length<6,15>): <confirm password>
User profile name(<=15 chars)[root]: root
User's Level: 2
     1. Common User  2. Operator:

  • Enable SNMP
//normally snmp community default write: private & read: public 
for security purpose don't use default community 

To see default community:
Huawei-OLT>enable
Huawei-OLT#config
Huawei-OLT(config)#display snmp-agent community write 
   Community name: private
   Storage type: nonVolatile
   View name: ViewDefault

   Total number is 1
Huawei-OLT(config)#display snmp-agent community read
   Community name: public
   Storage type: nonVolatile
   View name: ViewDefault

   Total number is 1

To add more community  or configure community 
huawei-olt>enable
huawei-olt#config
huawei-olt(config)# snmp-agent community read public@123
huawei-olt(config)# snmp-agent community write private@123
huawei-olt(config)# snmp-agent sys-info version v2c
huawei-olt(config)# snmp-agent target-host trap-hostname huawei address <U2000 address> udp-port 162 trap-paramsname <community trap name>
huawei-olt(config)# snmp-agent target-host trap-hostname huawei address <Server trap log address> udp-port 162 trap-paramsname <community trap name>
huawei-olt(config)# snmp-agent target-host trap-paramsname <community trap name> v2C securityname private@123

As we know for security purpose we don't use default SNMP community
To delete default SNMP community 

Noted: before we delete the default snmp community please make sure we have done change snmp community on node in U2000 to our new community (ex: private@123 / public@123). If community on node in U2000 different with our snmp community we configure mean that U2000 could not communicate between OLT, it will show alarm device offline in U2000.

To change SNMP community on U2000
Go to U2000-client Application => choose node we want to change community => right click => NE Access Protocol Parameter

Double click on snmp name then see below information appear => change to our new community
Get community = read is public@123
Set community = write is private@123
Then click test = if it successfully it mean our configure is right => click Apply


Delete the default SNMP community
Huawei-OLT(config)#undo snmp-agent community private

Huawei-OLT(config)#undo snmp-agent community public
  • Create VLAN management
huawei-olt>enable
huawei-olt#config
huawei-olt(config)#vlan 32 smart
huawei-olt(config)#vlan desc 32 description gepon-management
huawei-olt(config)#port vlan 32 0/2 0

  • Set IP Management

huawei-olt(config)#interface vlanif 32
huawei-olt(config-if-vlanif32)# ip address 10.10.10.218 255.255.255.0

  • Configure Interface Description

huawei-olt(config)#port desc 0/2/0 description “TO~DistributeSW(Gi1/1)”
huawei-olt(config)# port desc 0/2/1 description “TO~DistributeSW(Gi1/2)”

2 comments:

  1. Replies
    1. https://techtrickszone.com/2017/01/24/olt-gpon-onu-optical-fiber-network

      Delete

How to Backup and Recover Data configuration on Huawei OLT

I. Backup configuration by manually  Go to U2000 application => Administration => NE Software Management => NE Data Backup/Restora...