Showing posts with label SUCN. Show all posts
Showing posts with label SUCN. Show all posts

Monday, August 22, 2016

display ont-srvprofile epon

Function

This command is used to query the information about an EPON ONT service profile. The EPON ONT service profile is used to configure the actual ONT capability and the parameters related to the service, and provides the service configuration channel for the ONT that is managed by using operation, administration and maintenance (OAM). You can run this command to query the EPON ONT service profile that meets the real service needs. After an ONT is added and binds the EPON ONT service profile, the ONT will carry the corresponding service according to the parameter configured in the EPON ONT service profile.

Format

display ont-srvprofile epon { profile-id profile-id | profile-name profile-name | all }

Parameters

Parameter Description Value
profile-id profile-id Queries the detailed information oabout EPON ONT service profile by profile ID.
Numeral type. Range:
  • SCUL/SCUN/SCUK/SCUB/SCUF: 1-8192
  • SCUH: 1-8192
  • MCUD/MCUD1: 1-1024
profile-name profile-name Queries the detailed information about EPON ONT service profile by profile name. Character string type, a string of 1-32 characters.
all Queries the basic information about all the ONT service profiles. including the ID, name and bound times of the ONT service profiles. -

Modes

Privilege mode, EPON mode, diagnose mode

Level

Operator level

Usage Guidelines

  • Run the configcommand to enter the global config mode, and then run the interface epon command to enter EPON mode.
  • In the privilege mode or global config mode, run the diagnose command to enter the Diagnose mode.
  • This command and the display ont-srvprofile current(epon profile) command can both query the information about the existed EPON ONT service profile, the differences are as follows:
    • This command is used to query the information about the EPON ONT service profile that has taken effect by running the commit.
    • The display ont-srvprofile current(epon profile) command is used to query the information about the EPON ONT service profile that has not taken effect by running the commit.

Example

To query the information about all the ONT service profiles, do as follows:
huawei#display ont-srvprofile epon                                
{ all<K>|bound-info<K>|profile-id<K>|profile-name<K> }:all                               
                                                                                
  Command:                                                                      
          display ont-srvprofile epon all                                       
  -----------------------------------------------------------------------------
  Profile-ID  Profile-name                                Binding times
  -----------------------------------------------------------------------------
  1           srv-profile_1                               0        
  10          srv-profile_10                              0        
  -----------------------------------------------------------------------------
  Total: 2
To query the detailed information about ONT service profile 10, do as follows:
huawei#display ont-srvprofile epon                              
{ all<K>|bound-info<K>|profile-id<K>|profile-name<K> }:profile-id                        
{ profile-id<U><1,8192> }:10  
                                                                                
  Command:                                                                      
          display ont-srvprofile epon profile-id 10
                            
  -----------------------------------------------------------------------------
  Profile-ID  : 10                                                              
  Profile-name: srv-profile_10                                                  
  Access-type : EPON                                                            
  -----------------------------------------------------------------------------
  Port-type     Port-number                                                     
  -----------------------------------------------------------------------------
  POTS          0                                                               
  ETH           adaptive                                                          
  TDM           0                                                               
  -----------------------------------------------------------------------------
  TDM type                    : E1                                              
  Multicast fast leave switch : Unconcern                                       
  Ring check switch           : Unconcern                                       
  -----------------------------------------------------------------------------
  Port Port Up-traffic Down-traffic MAC-learn Class
  Type ID   CAR-ID     CAR-ID       count     profile-ID
  -----------------------------------------------------------------------------
  ETH  1    Unconcern  Unconcern    Unlimited -
  ETH  2    Unconcern  Unconcern    Unlimited -
  ETH  3    Unconcern  Unconcern    Unlimited -
  ETH  4    Unconcern  Unconcern    Unlimited -
  ETH  5    Unconcern  Unconcern    Unlimited -
  ETH  6    Unconcern  Unconcern    Unlimited -
  ETH  7    Unconcern  Unconcern    Unlimited -
  ETH  8    Unconcern  Unconcern    Unlimited -
  -----------------------------------------------------------------------------
  Notes: Run the display traffic table ip command to query                      
         traffic table configuration                                            
  -----------------------------------------------------------------------------
  Port Port-ID Multicast-S-VLAN Multicast-C-VLAN Multicast   Multicast
  Type                                           tag-strip   group-num
  -----------------------------------------------------------------------------
  ETH  1       -                -                Tag         Unlimited
  ETH  2       -                -                Tag         Unlimited
  ETH  3       -                -                Tag         Unlimited
  ETH  4       -                -                Tag         Unlimited
  ETH  5       -                -                Tag         Unlimited
  ETH  6       -                -                Tag         Unlimited
  ETH  7       -                -                Tag         Unlimited
  ETH  8       -                -                Tag         Unlimited
  -----------------------------------------------------------------------------
  Port-Type Port-ID Service-type Index S-VLAN C-VLAN
  -----------------------------------------------------------------------------
  ETH       1       -            -     -      -
  ETH       2       -            -     -      -
  ETH       3       -            -     -      -
  ETH       4       -            -     -      -
  ETH       5       -            -     -      -
  ETH       6       -            -     -      -
  ETH       7       -            -     -      -
  ETH       8       -            -     -      -
  -----------------------------------------------------------------------------
  Binding times : 0                                                      
  -----------------------------------------------------------------------------

System Response

  • The system displays the queried result when the command runs successfully.
  • The following table describes the parameters in response to the command.
    NOTE:
    In the interface, "-" indicates that the item is not supported.
    Parameter Description
    Meaning Remark(Configuration Command)
    Profile-ID Indicates the ID of an ONT service profile. It can be spicified in the ont-srvprofile epon command when configuring an EPON ONT service profile.
    Profile-name Indicates the name of an ONT service profile.
    Binding times Indicates the bound times of the ONT service profile.
    There are two methods to bind an ONT to an EPON ONT service profile.
    • Run the ont add(epon) command to add an ONT offline, and bind the ONT to an EPON ONT service profile.
    • Run the ont confirm(epon) command to confirm an automatically discovered ONT, and bind the ONT to an EPON ONT service profile.
    Total Indicates the total number of ONT service profiles. -
    Access-type Indicates the access type of an EPON ONT service profile. Option: EPON. -
    Port-type Indicates the port type. Options: POTS, ETH, and TDM. Run the ont-port(epon profile) command to configure this parameter.
    Port-number Indicates the number of ports.
    TDM type Indicates the TDM port type.
    Multicast fast leave switch Indicates the multicast fast leave function. Run the multicast fast-leave command to configure this parameter.
    Ring check switch Indicates the status of the ring network detection. Run the ring check(epon profile) command to configure this parameter.
    Port-Type /Port Type Indicates the port type. -
    Port ID/Port-ID Indicates the port ID. -
    Up-traffic CAR-ID Indicates the ID of the upstream traffic profile. Run the port eth(epon profile) command to configure this parameter.
    Down-traffic CAR-ID Indicates the ID of the downstream traffic profile.
    MAC-learn count Indicates the number of learned MAC addresses.
    Class profile-ID Indicates the ID of the traffic classification profile. Run the port classification command to configure this parameter.
    Multicast-S-VLAN Indicates the service VLAN ID used in the multicast service. Run the port eth(epon profile) command to configure this parameter.
    Multicast-C-VLAN Indicates the customer VLAN ID used in the multicast service.
    Multicast tag-strip Indicates the processing mode of the multicast tag.
    Multicast group-num Indicates the number of multicast programs.
    Service-type Indicates the service type. Run the port vlan(epon profile) command to configure this parameter.
    Index Indicates theVLAN index.
    S-VLAN Indicates the service VLAN.
    C-VLAN Indicates the customer VLAN.
  • For more information about the error message that the system displays against a command entered with incorrect syntax.
MORE BLOG:

Monday, May 16, 2016

Pipe Character of Huawei MA5683T?

To filter based on the query conditions, use this character. The pipe character filter function can be enabled only after you run the undo smart command. After the pipe character filter function is enabled, the pipe character is added to all query commands.
The expression in the command format is: [ | count ] [ | { begin | include | exclude } text ]
  • |: Selecting this parameter means to use the pipe character to filter based on the query conditions.
  • count: Indicates the number of matched lines.
  • begin: Matches the start string of the regular expression. The string will not be displayed until it matches the specified string, which is case sensitive. The following strings of the matching string will all be displayed.
  • include: Matches the string that includes the regular expression. The string will be displayed if it includes the specified string, which is case sensitive. Otherwise, the string will not be displayed.
  • exclude: Matches the string that excludes the regular expression. The string will be displayed if it does not include the specified string, which is case sensitive. Otherwise, the string will not be displayed.
  • text: Regular expression. It indicates the conditional string specified for filtering. For the expression modes and the corresponding meanings, see the following table.
Table 3 Regular expression modes
Mode Description Example
^ Matches the starting position within the string. In the line-based mode, it matches the starting position of any line. "^foo" matches "foo" and the last three characters of "bar\nfoo".
$ Matches the ending position of the string. In the line-based mode, it matches the ending position of any line. "foo$" matches "foo" and the first three characters of "foo\nbar".
+ "+" is attached after a single character and matches the preceding element one or more times. "ab+c" matches "abc", "abbc", and "abbbc", and so on, but not "ac".
? Matches the preceding element zero or one time. "ba?" matches "b" or "ba".
* "*" is attached after a single character and matches the preceding element zero or more times. "ab*c" matches "ac", "abc", "abbc", "abbbc", and so on.
. Matches any single character. "a.b" matches any three-character string starting with "a" and ending with "b".
() "()" is used to define a subexpression. The subexpression in the parentheses can be used for grouping. "(ab)" matches "abcab".
\n Matches what the nth marked subexpression (may be empty) matched, where n is a digit from 1 to 9, indicating the nth subexpression (starting with the nth "\(" and ending with the matching "\)"). If the number of subexpressions before \n is less than n, this expression is invalid. "(a) \ 1" matches "aa".
| The choice (alternation or set union) operator matches either the expression before or the expression after the operator. For example, "abc|def" matches "abc" or "def".
{x,y} Matches the preceding element at least x and not more than y times. "a\{3,5\}" matches only "aaa", "aaaa", and "aaaaa".
\ Imports an escape and references the characters that may be explained as escapes. Therefore, "\\" matches a single "\" and "\{" matches "{". -
Pay attention to the following points when using pipe characters to set filtering conditions:
  • The first line of the displayed information starts with the complete message containing the specified character string, not with the specified string itself.
  • The character string that you input must not contain any Chinese character.
  • To search for the special characters of the C language, such as "\r", "\t", "\v", "\b", "\r", and "\f", use the escape characters "\\r", "\\t", "\\v", "\\b", "\\r", and "\\f". For example, if you need to search for "\r", you must input "\\r" instead of "\r".
  • The characters that you specify for searching can be added with or without double quotation marks. For example, if you want to search for characters "abc", you can input "abc" or abc directly. To search for character strings such as abc with the space in the front, you can input the character string with the double quotation marks, for example, " abc".
To redirect the output of query commands to the server or a specified file in the system, use this character. The redirection function can be enabled only after you run the undo smart command. After the redirection function is enabled, the redirect character is added to all query commands.
NOTE:
Huawei provides the redirection function for carriers to use, obtain, and store live network configurations for the purpose of network operation and service insurance . Huawei does not collect or store these configurations. Carriers can use the corresponding redirection function only under any applicable laws and regulations. When you use and store the live network configurations, adopt sufficient measures to protect the configurations.
Parameter Description Value
> Indicates the redirection symbol. When is parameter is selected, the output of query commands is redirected to the server or a specified file in the system. -
file Indicates that the output of query commands is redirected to a specified file in the system. -
tftp Indicates that output of query commands is uploaded through the network port using the Trivial File Transfer Protocol (TFTP). When the transfer mode of the server is set to the TFTP, use this parameter. In the TFTP loading mode, no password is needed. -
ftp Indicates that output of query commands is uploaded through the network port using the File Transfer Protocol (FTP). When the server uses the FTP transmission mode, use this parameter and enter username and password the same as those configured in the FTP server tool. -
sftp Indicates that output of query commands is uploaded through the network port using the Secure File Transfer Protocol (SFTP). When the server uses the SFTP transmission mode, use this parameter and enter username and password the same as those configured in the SFTP server tool. When the SFTP mode is used for uploading files, instructions and data are encrypted during the transmission. SFTP is recommended. -
port Indicates the port ID of the SFTP protocol. Numeral type. Range: 0-65535.
Default value: 22.
username Indicates the user name of the server. Character string type, a string of 1-40 characters.
password Indicates the password of the server. Character string type, a string of 1-40 characters.
server-ip Indicates the IP address of the server. IPv4 address format. Dotted decimal notation.
filename Indicates the name of the file redirected to the server or the system. Character string type. A string of 1-128 characters if the output of the query command is redirected to a server. A string of 1-40 characters if the output of query command is redirected to a specific file in the system.
Pay attention to the following when using the redirection character:
  • When the redirection function is used, output of query commands is not displayed in the terminal.
  • Only SCUH and SCUV support the redirection to a specific file in the system.
  • Only operators or users with higher authorities have the right to direct query command output to a specific file in the system.
  • Examples of query commands are provided when the redirection function is disabled. 
You can find Huawei OSN3500, Huawei MA5683T from us.
More related: