Tuesday, September 13, 2016

GPON ONT Service Profile Configuration--mac-learning(pon profile)

Function

This command is used to enable or disable the MAC address learning function of an ONT. In the scenario (such as the private user scenario) where a large number of MAC addresses need to be learned, disable this function.

Format

mac-learning switch

Parameters

Parameter Description Value
mac-learning switch
Enables or disables the MAC address learning function.
  • After the MAC address learning function is disabled, the ONT (such as  

    HG8245H)does not learn the MAC address dynamically. In addition, the MAC addresses that were learned by the ONT are aged according to the aging period set through the mac-address timer command. Then, the data packets received by the ONT are broadcast in the VLAN.

  • After the MAC address learning function is enabled, the ONT can learn the MAC addresses again.
Enumerated type. Options: disable and enable.
Default value: enable.

Modes

ONT service profile config mode

Level

Operator level

Usage Guidelines

  • Run the config command to enter global config mode, and then run the ont-srvprofile gpon command to enter ONT service profile config mode.
  • After running this command, you need to run the commit command. Then, the configuration performed through this command can take effect.
  • You can run the display ont-srvprofile gpon command to query the status of the MAC address learning function of the ONT.

Example

To enable the MAC address learning function in ONT service profile 10, do as follows:
huawei(config-gpon-srvprofile-10)#mac-learning                              
{ switch<E><enable,disable> }:enable                                            
                                                                                
  Command:                                                                      
          mac-learning enable 

huawei(config-epon-srvprofile-10)#commit
To disable the MAC address learning function in ONT service profile 10, do as follows:
huawei(config-gpon-srvprofile-10)#mac-learning                              
{ switch<E><enable,disable> }:disable                                            
                                                                                
  Command:                                                                      
          mac-learning enable 

huawei(config-epon-srvprofile-10)#commit

System Response

  • The system does not display any message after the MAC address learning function of an ONT is enabled or disabled successfully.
  • For more information about the error message that the system displays against a command entered with incorrect syntax.

MORE BLOG:

No comments:

Post a Comment