Monday, December 5, 2016

EPON Access Port Management Function Description(port alarm-config(epon))

port alarm-config(epon)

Function

The port alarm-config command is used to bind an Ethernet passive optical network (EPON) alarm profile to an EPON port. An EPON alarm profile contains a series of threshold parameters used to measure and monitor the performance statistics of an EPON port. After the binding is successful, the system reports an alarm if a statistical item exceeds the threshold defined in the profile.
The undo port alarm-config command is used to unbind an EPON alarm profile from an EPON port. When an EPON alarm profile bound to an EPON port is not used any more, run this command to unbind it from the EPON port.

Format

port alarm-config { all | portid } { alarm { profile-id profile-id | profile-name profile-name } | { warning { profile-id profile-id | profile-name profile-name } } *
undo port alarm-config { all | portid } { alarm | warning } *

Parameters

Parameter Description Value
portid Indicates the EPON port ID. Please see Differences Between Shelves.
all Binds an EPON alarm profile to all the EPON ports, or unbinds an EPON alarm profile from all the EPON ports. -
portid Binds an EPON alarm profile to a specified EPON port, or unbinds an EPON alarm profile from a specified EPON port. Please see Differences Between Shelves.
alarm Binds an EPON alarm profile with the alarm severity to an EPON port. -
warning Binds an EPON alarm profile with the warning level to an EPON port. -
profile-id profile-id Indicates the ID of an EPON alarm profile. Numeral type. Range: 1-50.
profile-name profile-name Indicates the name of an EPON alarm profile. Character string type, a string of 1-32 characters.

Modes

EPON mode, MA5608T, MA5680T

Level

Operator level

Usage Guidelines

  • Run the config command to enter global config mode, and then run the interface epon command to enter EPON mode.
  • When you use parameter all, you can bind all the EPON-port-connected ONTs that are not bound to any profile to an EPON alarm profile, or unbind all the EPON-port-connected ONTs bound to profiles from their profiles.
  • When a port is bound to an EPON alarm profile, run this command to modify the alarm thresholds in the profile.
  • When you use parameter alarm, you can bind a port to an EPON alarm profile with the alarm severity, or unbind a port from an EPON alarm profile with the alarm severity.
  • When you use parameter warningm, you can bind a port to an EPON alarm profile with the warning level, or unbind a port from an EPON alarm profile with the warning level.
  • The EPBA board does not support this command.

Example

To bind EPON alarm profile 2 with the alarm severity and EPON alarm profile 1 with the warning level to port 0/3/0, do as follows:
huawei(config-if-epon-0/3)#port alarm-config                                    
{ all<K>|portid<U><0,7> }:0                                               
{ alarm<K>|warning<K> }:alarm
{ profile-id<K>|profile-name<K> }:profile-id
{ profile-id<U><1,50> }:2 
{ <cr>|warning<K> }:warning
{ profile-id<K>|profile-name<K> }:profile-id
{ profile-id<U><1,50> }:1 
 
  Command:
          port alarm-config 0 alarm profile-id 2 warning profile-id 1

To bind EPON alarm profile 2 with the alarm severity to all the 0/3 ports that are not bound to any profile, do as follows:
huawei(config-if-epon-0/3)#port alarm-config                        
{ all<K>|portid<U><0,7> }:all
{ alarm<K>|warning<K>}:alarm
{ profile-id<K>|profile-name<K> }:profile-id                                   
{ profile-id<U><1,50> }:2

Command:
         port alarm-config all alarm profile-id 2
Bind alarm profile, success: 8, failed: 0 
To unbind port 0/3/0 from the EPON alarm profile, do as follows:
huawei(config-if-epon-0/3)#undo port alarm-config            
{ all<K>|portid<U><0,7> }:0
{ alarm<K>|warning<K> }:alarm                                                            
{ <cr>|warning<K> }:warning

  Command:
          undo port alarm-config 0 alarm warning
To unbind all the 0/3 ports that are bound to EPON profile from their EPON profiles, do as follows:
huawei(config-if-epon-0/3)#undo port alarm-config             
{ all<K>|portid<U><0,7> }:all  
{ alarm<K>|warning<K> }:alarm
{ <cr>|warning<K> }:
                                                                                
  Command:                                                                      
          undo port alarm-config all alarm
Unbind alarm profile, success: 8, failed: 0

System Response

  • The system does not display any message after a single port is bound to an EPON alarm profile or unbind from an EPON alarm profile successfully.
  • The system displays the message "Bind alarm profile, success: x, failed: y" after all the ports on a board are bound to an EPON alarm profile successfully. "x" is the number of ports that are bound successfully, and "y" is the number of ports that fail to be bound.
More:

No comments:

Post a Comment