Function
The ont-lineprofile epon command is used to
create a EPON ONT line profile and enter EPON ONT line profile mode or enter
already created EPON ONT line profile mode. After being created, the profile can
be used when an ONT is added. If the profile does not exist, the system first
creates a specified ONT line profile and then enters the configuration mode of
this ONT line profile. If a specified profile already exists, the system
directly enters the configuration mode of this profile. When you need to
configure the attributes of an ONT line profile, run this command.
The undo ont-lineprofile epon command is used to delete a specified EPON ONT line profile. When an ONT line profile is not used any more, run this command to delete it.
The undo ont-lineprofile epon command is used to delete a specified EPON ONT line profile. When an ONT line profile is not used any more, run this command to delete it.
Format
ont-lineprofile
epon [ profile-id
profile-id |
profile-name profile-name ]*
undo ont-lineprofile epon [ profile-id profile-id | profile-name profile-name ]*
undo ont-lineprofile epon [ profile-id profile-id | profile-name profile-name ]*
Parameters
Parameter | Description | Value |
---|---|---|
profile-id profile-id | Indicates the ID of the EPON ONT line profile. It uniquely identifies a line profile. If you do not specify it, the system automatically allocates the smallest idle ID to the profile. | |
profile-name profile-name | Indicates the name of the EPON ONT line profile. The default profile name is line-profile_x. "x" is the profile ID. | Character string type, a string of 1-32 characters.The characters must be visible and cannot contain a question mark (?). A double quotation mark (") except the outer-layer double quotation mark (") cannot be followed by a space. If the start or end character is a double quotation mark (), the corresponding end or start character must also be a double quotation mark ("). |
Usage Guidelines
- All the parameters in a newly-added ONT line profile use the default values of the current profile. You can query these values by running the display ont-lineprofile epon command.
- By default, the configuration of an EPON ONT line profile is as follows:
- FEC status: disabled
- Bound DBA profile: DBA profile 9
- Encryption function: off
- Bound traffic table: traffic table 6
- After running this command, you need to run the commit command. Then, the configuration performed through this command can take effect.
- The attributes of the ONT line are configured in a line profile in batches. For the same ONTs, the line attributes can be configured once, reducing the workload.
- The EPON ONT line profile bound to an ONT the cannot be deleted.
Example
To create ONT line profile 10 that is to be used when an EPON ONT is added,
do as follows:
huawei(config)#ont-lineprofile epon
{ <cr>|profile-id<K>|profile-name<K> }:profile-id
{ profile-id<U><1,8192> }:10
{ <cr>|profile-name<K> }:
Command:
ont-lineprofile epon profile-id 10
huawei(config-epon-lineprofile-10)#
To delete an EPON ONT line profile 10 that already exists in the system, do
as follows:huawei(config)#undo ont-lineprofile epon
{ profile-id<K>|profile-name<K> }:profile-id
{ profile-id<U><1,8192> }:10
Command:
undo ont-lineprofile epon profile-id 10
System Response
- The system displays the prompt character of the ONT line profile mode after you create the profile or enter the configuration mode of the profile successfully.
- The system does not display any message after you delete the ONT line profile 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