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.
Parameters
Parameter | Description | Value |
---|---|---|
mac-learning switch |
Enables or disables the MAC address learning function.
|
Enumerated type. Options: disable and enable. Default value: enable. |
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)#commitTo 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
No comments:
Post a Comment