No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CLI-based Configuration Guide - AMI

AR500, AR510, AR531, AR550, AR1500, and AR2500 V200R010

This document describes the principles and configurations of the AMI features, and provides configuration examples of these features.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Example for Configuring AMI Through Uplink FE/SFP

Example for Configuring AMI Through Uplink FE/SFP

Networking Requirements

Figure 1-5 shows a residential area where meters are installed. The DCU (RouterA) functions as the data concentrator to manage all the meters in this area in a centralized manner. RouterA connects to a front-end processor (DCP) Through Uplink FE/SFP and connects to meters through RS485 channels.

Meters in this residential area need to be managed in a unified manner and automated meter data reading must be implemented.

Figure 1-5  Networking diagram of configuring AMI Through Uplink FE/SFP

Configuration Roadmap

The configuration roadmap is as follows:

  1. Configure RouterA to communicate with the front-end processor Through Uplink FE/SFP.
  2. Configure basic device information and connection between the device and front-end processor to enable the device to register with the front-end processor. Configure the authentication level and ensure that the device and front-end processor have the same authentication level so that the two devices can authenticate each other.
  3. Configure communication between the device and meters and use the RS485 communication mode for meter management.

Procedure

  1. Configure RouterA to communicate with the front-end processor in FE/SFP mode.

    # Configure RouterA.

    <Huawei> system-view
    [Huawei] sysname RouterA
    [RouterA] interface gigabitethernet 0/0/1
    [RouterA-GigabitEthernet0/0/1] undo portswitch
    [RouterA-GigabitEthernet0/0/1] ip address 192.168.30.4 24
    [RouterA-GigabitEthernet0/0/1] quit
    [RouterA] ip route-static 192.168.1.0 24 192.168.30.3
    

  2. Configure the connection between RouterA and the front-end processor.

    # Set the heartbeat interval and maximum number of report retries.

    [RouterA] ami
    [RouterA-ami] basic heart-interval 300
    [RouterA-ami] basic report-retry 5

    # Set the timeout period of the connection between RouterA and front-end processor.

    [RouterA-ami] set net timeout 20

    # Configure the authentication level that can be used by the front-end processor.

    [RouterA-ami] basic authorization-level 2

    # Configure a terminal ID and low-level authentication password Huawei123.

    [RouterA-ami] basic id HWT0AC853DDF0D13 password high
     Enter Password( Length: password<6-16> ):
     Confirm password: 
    [RouterA-ami] basic high-algorithm sha-256

    # Configure low-level authentication password Huawei123.

    [RouterA-ami] basic id HWT0AC853DDF0D13 password low
     Enter Password( Length: password<6-16> ):
     Confirm password: 

    # Configure the connection name.

    [RouterA-ami] connection dcp1

    # Set the local connection type of RouterA to TCP client.

    [RouterA-ami-connection-dcp1] parameter connection-type tcp-client remote 192.168.1.19 port 4040 time-out 10 retry-wait 15
    [RouterA-ami-connection-dcp1] quit

  3. Configure communication between RouterA and meters.

    # Configure meters.

    [RouterA-ami] meter 80
    [RouterA-ami-meter-80] parameter frz-template 80
    [RouterA-ami-meter-80] parameter protocol-type iec62056 address abcd authorization high
    [RouterA-ami-meter-80] parameter channel-type 1 baud-rate 9600
    [RouterA-ami-meter-80] parameter validity enable
    [RouterA-ami-meter-80] parameter rate-num 3
    [RouterA-ami-meter-80] parameter logic-device-name HWT1201404003620
    [RouterA-ami-meter-80] quit

    # Configure a meter data reading task.

    [RouterA-ami] frz-template 80 freezing-type month items 03FF7302,00FF7305,00FF7306
    

    # Set the timeout periods of the RS485 channels between RouterA and meters.

    [RouterA-ami] set channel-type rs485 timeout 10
    

    # Configure broadcast timing.

    [RouterA-ami] broadcast-timing auto enable schedule 08:00:00 synchronization enable
    [RouterA-ami] tool broadcast-timing
    [RouterA-ami] return

  4. Verify the configuration.

    # Run the ping command to verify the connectivity.

    <RouterA> ping 192.168.1.19
    PING 192.168.1.19: 56  data bytes, press CTRL_C to break
        Reply from 192.168.1.19: bytes=56 Sequence=1 ttl=128 time=3 ms
        Reply from 192.168.1.19: bytes=56 Sequence=2 ttl=128 time=1 ms
        Reply from 192.168.1.19: bytes=56 Sequence=3 ttl=128 time=1 ms
        Reply from 192.168.1.19: bytes=56 Sequence=4 ttl=128 time=1 ms
        Reply from 192.168.1.19: bytes=56 Sequence=5 ttl=128 time=1 ms
      --- 192.168.1.19 ping statistics ---
        5 packet(s) transmitted
        5 packet(s) received
        0.00% packet loss
        round-trip min/avg/max = 1/1/3 ms

    # Check configurations of the connection between RouterA and the front-end processor.

    <RouterA> display ami configuration connection dcp1
      Connection-dcp1 Connection config:                     
      Peer device name: dcp-master     
      Local connect type: tcp-client  
      Peer address: 192.168.1.19       
      Peer port: 4040                 
      Proto type: iec62056 
      Connect timeout: 10             
      Connect interval: 15
    

    # Check the basic configurations of RouterA.

    <RouterA> display ami configuration basic
      Basic config:                   
      TerminalID: HWT0AC853DDF0D13    
      HeartInterval: 300 second 
      MaxRetryNum: 5                  
      AuthLevel: 2                    
      HlsEncryptionAlgorithm: sha-256 
      LowPassword: %$%$:s}'5-K8",<h~56t3KK$,apR%$%$          
      HighPassword: %$%$5zDNO*WuGKZ8H|3,)pTN,aj#%$%$ 
    

    # Check the data request timeout period of RouterA.

    <RouterA> display ami configuration timeout
      AMI timeout para:                
      NET wait time: 20s               
      RS485 wait time: 10s             
      HI-PLC wait time: 15s              
      SFSK-PLC wait time: 15s         
      ZigBee wait time: 15s           
      RF wait time: 15s    
    

    # Check the AMI status of RouterA.

    <RouterA> display ami status
      AMI Version : V200R005C60B170 
    
      Station name: dcp-master        
      Peer address: 192.168.1.19       
      Peer port: 4040                 
      Connection status: login
      Connect times: 3
      Receive message Byte: 1279
      Send message Byte: 1627          
    

    # Check the frozen data item list of a specified meter type on RouterA.

    <RouterA> display ami configuration frz-template 80
      Frz-template-80:                    
      Curve item number: 0            
      Hour item number: 0            
      Day item number: 0              
      Month item number: 3            
      Month item is: 03FF7302, 00FF7305, 00FF7306  
    

    # Check the configurations of communication between RouterA and meters.

    <RouterA> display ami configuration meter 80
      Meter-80 parameter:             
      Enable: enable                  
      CommAddr: abcd                  
      ProtoId: iec62056               
      ProtoSubId: 1  
      Frz-template: 80
      PhaseType: 3-phase 
      ChannelId: RS485_1  
      BaudRate: 9600
      DataBits: 8 bits                
      Parity: none                    
      StopBits: 1 bit                  
      RateNum: 3                      
      AuthLevel: high                  
      LogicDeviceName: HWT1201404003620 
      CommId: 0x34 
    

    # Check the configurations of automatic and associated broadcast timing on RouterA.

    <RouterA> display ami configuration broadcast-timing
      TIME para:                      
      Auto bc-timing: enable          
      Schedule time: 08:00:00         
      Sync: enable

    # Check information about meter data reading performed on RouterA through the RS485 channel.

    <RouterA> display ami gather-status channel-type RS485-1
    ****************************** today ******************************             
    RS485-1 hour task:                
    RS485-1 day task:                 
    RS485-1 month task:               
    RS485-1 profile task:             
    RS485-1 idle copy task:           
      task info:                      
        task incept time:2014-04-29 10:15:1                   
      task state:                     
        start copy time:2014-04-29 10:15:1                    
        end copy time:00-00-00 0:0:0     
        supplement times:0(times)     
        used time:0(s)                
               
               
    **************************** yesterday ****************************             
    RS485-1 hour task:                
    RS485-1 day task:                 
    RS485-1 month task:               
    RS485-1 profile task:             
    RS485-1 idle copy task:           
    ********************* the day before yesterday *********************            
    RS485-1 hour task:                
    RS485-1 day task:                 
    RS485-1 month task:               
    RS485-1 profile task:             
    RS485-1 idle copy task:

Configuration Files

Configuration file of RouterA

#
 sysname RouterA
#                                                                               
 ami configuration file  flash:/ami_cfg.xml                                     
 meter configuration file  flash:/meter_cfg.xml                                 
 dlms configuration file  flash:/proto_dlms_cfg.xml                             
#                                                                               
interface GigabitEthernet0/0/1 
 undo portswitch                                                                      
 ip address 192.168.30.4 255.255.255.0                                          
#                                                                               
ip route-static 192.168.1.0 255.255.255.0 192.168.30.3                                               
#                                                                               
return                                                   
Translation
Download
Updated: 2019-03-07

Document ID: EDOC1100034224

Views: 10046

Downloads: 20

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next