Parameter Classification
Depending on whether containing a keyword, parameters are classified into two types: parameters with keywords and parameters without keywords.- In the case of a parameter with a keyword, both the keyword and the
parameter value must be input, and the parameter value following the keyword
must be input. Example:
huawei(config-aaa)#local-user huawei { password<K>|service-type<K> }:password { string<S><Length 1-16> }:huawei123
The parameter format is password password (password represents the string in the actual environment). Input password huawei123 on the CLI, where huawei123 is an example of the parameter value. - Certain parameters are only keywords without parameter values. In this
case, you only need to input the keyword. Example:
huawei#display frame { desc<K>|info<K> }:info
The parameter format is info. Input info on the CLI. - In the case of a parameter without a keyword, you only need to input
the parameter value. Example:
huawei(config)#multicast-vlan { vlanid<U><1,4093> }:10
The parameter format is vlanid and you only need to input the specified parameter value 10.
Parameter Type
The parameter type is represented by characters in the CLI environment. In addition, characters must be recognizable for the system. Table 1 lists the parameter character, and its meaning and input mode defined by Huawei.Character | Description | Input Mode |
---|---|---|
<K> | Indicates the keyword type. |
Input the exact keyword. That is, it must be the same as displayed in the
environment.
Example:
huawei>history-command { max-size<K> }:max-sizeMax-size is the keyword. You need to input the exact keyword. |
<E> | Indicates the enumerated type. Items following it are the available options. |
Input one of the available options, which are separated by ",". The contents
between two "," is an option.
Example:
huawei#baudrate { baudrate-value<E><9600,19200,38 400,57600,115200> }:576009600, 19200, 38400, 57600, and 115200 are options. |
<U> | Indicates the unsigned LONG (ULONG) type. The information in the brackets following it is the permitted value range. The value can be only zero or a positive integer. |
The information in the brackets is separated by ",", indicating the value
range. Only an integer can be input.
Example:
huawei>idle-timeout { minutes<U><1,255> }:23An integer from 1 to 255 can be input. |
<L> | Indicates the LONG type. The information in the brackets following it is the permitted value range. The value can be zero or an integer (a negative or positive integer). |
The information in the brackets is separated by ",", indicating the value
range. Only an integer can be input.
Example:
huawei#patch withdraw { patchno<L><1,99>|all<K> }:1An integer from 1 to 99 can be input. |
<S> | Indicates the character string type. The information in the brackets following it is the permitted length range of the character string. |
A valid character string consists of the upper-case and lower-case English
alphabets and Arabic numerals 0-9.
Example:
huawei#sysname { prompt<S><Length 1-50> }:GuangTongZ011 to 50 characters can be input. |
<I> | Indicates the IP address type. |
Input an IP address in the dotted decimal notation.
Example:
huawei(config-if-vlanif10)#ip address { ip_addr<I><X.X.X.X> }:10.10.10.10 |
<M> | Indicates the mask type, such as the mask of an IP address. |
Input a mask in the dotted decimal notation. It must be a decimal number
converted from consecutive 1s.
Example:
huawei(config-if-gpon-0/3)# ont ipconfig 0 0 static ip-address 10.10.10.10 mask { mask<M><X.X.X.X> }:255.255.255.0 |
<P> | Indicates the MAC address type. |
Input a hexadecimal number.
Example:
huawei(config)#arp 10.10.10.10 { mac_addr<P><XXXX-XXXX-XXXX> }: 00e0-fc01-0000 |
<H> | Indicates the hexadecimal number type. The system supports the input of hexadecimal numbers starting with "0x". If 0x is not input before a number, the system automatically considers the number as a decimal number. |
Input a hexadecimal number.
Example:
huawei#trap convert alarm-to-event { id<H><0x...><0x0,0xffffffff> }: 0x02310000 |
<D><yyyy-mm-dd> | Indicates the date type. |
Input a date in the format of yyyy-mm-dd.
Example:
huawei(config)#time { date<D><yyyy-mm-dd>|dst<K>|time -stamp<K>|time<T><hh:mm:ss> }: 2009-06-05 |
<T><hh:mm:ss> | Indicates the time type. |
Input the time in the format of hh:mm:ss.
Example:
huawei(config)#time { date<D><yyyy-mm-dd>|dst<K>|time -stamp<K>|time<T><hh:mm:ss> }: 10:14:30 |
You can find Huawei MA5683T, Huawei OSN3500 at www.thunder-link.com
More related:
No comments:
Post a Comment