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
- The profile configuration takes effect after you run the commit command to submit the configuration.
- If the EPON ONT line profile is bound to the ONT, it can be modified but cannot be deleted.
- You can run the display ont-lineprofile epon(dpoe) command to query the configuration information about the EPON ONT line profile.
Example
To create ONT line profile 10, 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 ONT line profile 10, 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 configuration mode of the EPON ONT profile successfully.
- The system does not display any message after you delete the EPON 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