Showing posts with label MCUD1. Show all posts
Showing posts with label MCUD1. Show all posts

Tuesday, January 17, 2017

The DHCP Option82 Configuration of dhcp option82 service-port(distributing-mode)

Function

This command is used to enable or disable the DHCP option82 feature of the service virtual port. The DHCP feature does not have any mechanism for authentication or security. Thus, the DHCP feature encounters many security problems when it is used in the network. To solve these problems, the DHCP option82 is introduced. After the DHCP option82 feature is enabled, the BRAS can authenticate IDs of access users. After the DHCP option82 feature is disabled, the device only transparently transmits DHCP packets and does not process packets.

Format

dhcp option82 service-port { service-portid | frameid/slotid/portid { stream | { user-vlan { untagged | priority-tagged | user-vlanid } [ user-encap user-encap ] | user-encap user-encap | user-8021p user-8021p [ user-vlan user-vlanid ] } } } { enable | disable }
dhcp option82 service-port frameid/slotid/portid { vpi vpi vci vci [ user-vlan { untagged | priority-tagged | user-vlanid } [ user-encap user-encap ] | user-encap user-encap | user-8021p user-8021p [ user-vlan user-vlanid ] ] | autosense } { enable | disable }
dhcp option82 service-port frameid/slotid/portid gemport gemport-id { stream | { user-vlan { untagged | priority-tagged | user-vlanid } [ user-encap user-encap ] | user-encap user-encap | user-8021p user-8021p [ user-vlan user-vlanid ] } } { enable | disable }

Parameters

Parameter Description Value
service-portid Indicates the service virtual port. When you need to enable or disable the DHCP option82 feature of the specified service virtual port, use this parameter.
Numeral type,Range:
  • SCUK/SCUL/SCUN:0-32767.
  • SCUB/SCUF:0-16383.
  • SCUH/SCUV:0-131071.
  • MCUD/MCUD1/MCUE:0-20479.
frameid/slotid/portid Indicates the subrack ID, slot ID, and port ID. Enter a slash (/) between the subrack, slot, and port IDs. When you need to enable or disable the DHCP option82 feature of the specified physical port on a board, use this parameter. Please see Differences Between Shelves.
user-vlan Indicate that when the users of the service virtual port are differentiated based on the user-side VLAN, this parameter is used. -
untagged Indicates that when the service virtual port needs to carry multiple services and the services are differentiated by the user-side VLAN, you can specify the packet type as untagged. -
priority-tagged Indicates that users are differentiated by the priority-tagged. When the user-side packets are tagged and this VLAN tag is 0, use this keyword. -
user-vlanid Indicates the VLAN ID. It identifies a VLAN uniquely. Numeral type. Range: 1-4095.
user-encap user-encap
Indicates the user-side encapsulation type. When the users of the service virtual port are differentiated based on the user-side encapsulation type, use this parameter.
  • If the user-side encapsulation type is IPoE, select ipoe.
  • If the user-side encapsulation type is PPPoE, select pppoe.
Enumerated type. Options: ipoe and pppoe.
user-8021p user-8021p Indicates the user-side priority. When the users of the service virtual port are differentiated based on the user-side priority, use this parameter. Numeral type. Range: 0-7.
vpi vpi Indicates the VPI value to be entered. It is used to identify a user when used with the VCI.
Numeral type. Range:
  • xDSL board. Range: 0-255.
  • Other boards. Range: 0-4095.
vci vci Indicates the VCI value to be entered. It is used to identify a user when used with the VPI.
  • Numeral type. xDSL board. Range: 32-255.
  • Numeral type. Other boards. Range: 32-65535.
gemport gemport-id Indicates the GEM port ID. Numeral type. Range: 128-3999.
stream Indicates the single traffic stream with the Ethernet access type. -
autosense Indicates the auto-sensing service virtual port. When the corresponding service virtual port needs to automatically learn user-side VPI/VCI, use this keyword. -
enable Indicates that the DHCP Option82 feature is enabled. Option 82 is an option of the DHCP packet. Its code is 82, which is used to identify the user. After the feature is enabled, the DHCP server can allocate IP addresses for users based on this DHCP Option82 option and avoid the spoofing attacks to the DHCP server, such as the DHCP IP exhaustion. -
disable Indicates that the DHCP Option82 feature is disabled. Option 82 is an option of the DHCP packet. Its code is 82, which is used to identify the user. After the feature is disabled, the DHCP server does not perform the Option82 processing for packets. -

Modes

Global config mode

Level

Operator level

Usage Guidelines

  • By default, the DHCP option82 feature of the service virtual port is enabled.
  • By default, the global DHCP option82 is disabled while the DHCP option82 feature of a port is enabled. If the global DHCP option82 is disabled, even if the DHCP option82 feature of a port is enabled, the DHCP option82 feature of the port is disabled. No vendor tag is added to the DHCP packets sent from the port. Only when the DHCP option82 feature is enabled globally and on a port, vendor tags are added to the DHCP packets sent from the port.
  • For connection-orientied service ports, if the network role of a port is not user, the DHCP Option82 feature does not take effect for the port. Specifically, vendor tag information is not added to DHCP packets received from the port regardless of whether the DHCP Option82 feature is enabled or disabled for the port.

Example

To disable the DHCP option82 feature of the service virtual port with VPI/VCI of 0/35 at ADSL port 0/3/0, do as follows:
huawei(config)#dhcp option82 service-port   
{ frameid/slotid/portid<S><Length 5-18>|integer<U><0,32767> }:0/3/0             
{ autosense<K>|gemport<K>|stream<K>|user-8021p<K>|user-encap<K>|user-vlan<K>|vpi<K> }:vpi                                                                       
{ vpi<U><0,4095> }:0                                                             
{ vci<K> }:vci                                                                  
{ vci<U><32,65535> }:35                                                           
{ disable<K>|enable<K>|user-8021p<K>|user-encap<K>|user-vlan<K> }:disable       
                                                                                
  Command:                                                                      
          dhcp option82 service-port 0/3/0vpi 0 vci 35 disable 
To enable the DHCP option82 feature of the service virtual port with GEM port ID of 128 at GPON port 0/3/0, do as follows:
huawei(config)#dhcp option82 service-port   
{ frameid/slotid/portid<S><Length 5-18>|integer<U><0,32767> }:0/3/0             
{ autosense<K>|gemport<K>|stream<K>|user-8021p<K>|user-encap<K>|user-vlan<K>|vpi<K> }:gemport                                                                   
{ integer<U><128,3999> }:128                                                 
{ stream<K>|user-8021p<K>|user-encap<K>|user-vlan<K> }:stream                   
{ disable<K>|enable<K> }:enable                                                 
                                                                                
  Command:                                                                      
          dhcp option82 service-port 0/3/0 gemport 128 stream enable          

System Response

  • The system does not display any message after the DHCP option82 feature of the service virtual port is enabled or disabled successfully.

More blog:

Monday, January 16, 2017

The xDSL Bonding Group Profile Configuration of xdsl bonding-group-profile delete

Function Description

This topic describes the commands related to xDSL bonding group profile configuration in TR165 mode. The commands can be used to add, delete, modify, and query an xDSL bonding group profile.

Function

This command is used to delete a specified bonding group profile. When a bonding group profile is unnecessary, run this command to delete it. After a bonding group profile is deleted, the configuration data is also deleted and cannot be restored.

Format

xdsl bonding-group-profile delete { profile-index | unused { all | first } }

Parameters

Parameter Description Value
profile-index Indicates the index of a bonding group profile.
Numeral type. Range:
unused Deletes the unused bonding group profiles. -
all Deletes all the unused bonding group profiles. -
first Deletes the first unused bonding group profiles. -

Modes

Global config mode

Level

Operator level

Usage Guidelines

  • The default bonding group profile (profile 1) cannot be deleted.
  • When a profile is being used by an activated bonding group, the profile cannot be deleted.

Example

To delete bonding group profile 2, do as follows:
huawei(config)#xdsl bonding-group-profile delete
{ profile-index<U><2,256>|unused<K> }:2 

 Command:
           xdsl bonding-group-profile delete 2
To delete the first unused bonding group profile, do as follows:
huawei(config)#xdsl bonding-group-profile delete
{ profile-index<U><2,256>|unused<K> }:unused 
{ all<K>|first<K> }: first
 Command:
           xdsl bonding-group-profile delete unused first
To delete all the unused bonding group profiles, do as follows:
huawei(config)#xdsl bonding-group-profile delete
{ profile-index<U><2,256>|unused<K> }:unused 
{ all<K>|first<K> }: all
 Command:
           xdsl bonding-group-profile delete unused all
The number of unused profiles which have been deleted: 2

System Response

  • The system does not display any message after a specified or the first unused bonding group profile is deleted successfully.
  • The system displays the message "The number of unused profiles which have been deleted: x" after all the unused bonding group profiles are deleted successfully. "x" is the number of unused profiles which have been deleted.

More blog:

What's the xDSL Bonding Group Profile Configurationxdsl bonding-group-profile add

Function Description

This topic describes the commands related to xDSL bonding group profile configuration in TR165 mode. The commands can be used to add, delete, modify, and query an xDSL bonding group profile.

Function

This command is used to add a bonding group profile and configure parameters, such as interleave delay, minimum impulse noise protection (INP), upstream and downstream maximum/minimum target rates, upstream and downstream rate monitoring thresholds, rate threshold alarm function, the function of reporting the incorrect CPE in the bonding group, and profile name. To configure such parameters, run this command. Then run the active bonding-group command to bind the profile to a bonding group. After the bonding group is activated, it is configured according to the configured parameters in the profile.

Format

xdsl bonding-group-profile add [ profile-index ] [ delay max-delay-ds max-delay-us | inp min-inp-ds min-inp-us | rate min-transmit-rate-ds max-transmit-rate-ds target-transmit-rate-ds monitoring-transmit-rate-ds min-transmit-rate-us max-transmit-rate-us target-transmit-rate-us monitoring-transmit-rate-us | monitoring-switch monitoring-switch | bonding-cpe-incorrect-alarm bonding-cpe-incorrect-alarm-switch ]* [ name profile-name ]

Parameters

Parameter Description Value
profile-index Indicates the index of a bonding group profile.
The system supports a maximum of bonding group profile:
Numeral type. Range:
  • SCUB: 128
  • SCUF: 128
  • SCUN/SCUK: 256
  • MCUD/MCUD1: 48
Numeral type. Range:
delay Indicates the interleave delay. -
max-delay-ds Indicates the downstream maximum interleave delay. The interleave delay refers to the delay that results from the interleave processing of a bit stream. It is related to the interleave depth, the symbol length, and the line rate. Numeral type. Range: 1-63.
Default value: 16.
Unit: ms.
max-delay-us Indicates the upstream maximum interleave delay. The interleave delay refers to the delay that results from the interleave processing of a bit stream. It is related to the interleave depth, the symbol length, and the line rate. Numeral type. Range: 1-63.
Default value: 16.
Unit: ms.
inp Indicates the minimum INP. -
min-inp-ds Indicates the downstream minimum INP. The INP defines how many consecutive discrete multi-tone (DMT) symbols can be protected, that is, how many consecutive error DMT symbols in a certain number of bytes can be corrected in the de-interleaving process. The upstream and the downstream parameters are configured separately. The following symbol lengths are available: no protection, 0.5 symbol, 1 symbol, 2 symbols, ..., 16 symbols. Numeral type. Range: 1-18.
  • 1: no protection
  • 2: half symbol
  • 3: single symbol
  • 4: two symbols
  • 5: three symbols
  • 6: four symbols
  • 7: five symbols
  • 8: six symbols
  • 9: seven symbols
  • 10: eight symbols
  • 11: nine symbols
  • 12: ten symbols
  • 13: eleven symbols
  • 14: twelve symbols
  • 15: thirteen symbols
  • 16: fourteen symbols
  • 17: fifteen symbols
  • 18: sixteen symbols
Unit: symbol.
Default value: 2.
min-inp-us Indicates the upstream minimum INP. The INP defines how many consecutive DMT symbols can be protected, that is, how many consecutive error DMT symbols in a certain number of bytes can be corrected in the de-interleaving process. The upstream and the downstream parameters are configured separately. The following symbol lengths are available: no protection, 0.5 symbol, 1 symbol, 2 symbols, ..., 16 symbols. Numeral type. Range: 1-18.
  • 1: no protection
  • 2: half symbol
  • 3: single symbol
  • 4: two symbols
  • 5: three symbols
  • 6: four symbols
  • 7: five symbols
  • 8: six symbols
  • 9: seven symbols
  • 10: eight symbols
  • 11: nine symbols
  • 12: ten symbols
  • 13: eleven symbols
  • 14: twelve symbols
  • 15: thirteen symbols
  • 16: fourteen symbols
  • 17: fifteen symbols
  • 18: sixteen symbols
Unit: symbol.
Default value: 2.
rate Indicates the line rate. -
min-transmit-rate-ds Indicates the downstream minimum transmission rate. When this parameter is set to 0, the transmission rate is not limited. Numeral type. Range: 0, 64-400000.
Default value: 0.
Unit: kbit/s.
max-transmit-rate-ds Indicates the downstream maximum transmission rate. When this parameter is set to 0, the transmission rate is not limited. Numeral type. Range: 0, 64-400000.
Default value: 0.
Unit: kbit/s.
target-transmit-rate-ds Indicates the target downstream transmission rate. Generally, the sum of rates does not exceed the target downstream transmission rate. If the sum of rates exceeds the target downstream rate, reduce the transmit power of the members, or decrease the rates of the members by increasing the signal to noise ratio (SNR) margin. This is to ensure that requirement of the target rate can be met. When the target rate is set to 0, the sum of the rates for all members in a group is not limited. Numeral type. Range: 0, 64-400000.
Default value: 0.
Unit: kbit/s.
monitoring-transmit-rate-ds Indicates the downstream rate monitoring threshold. Numeral type. Range: 0, 64-400000.
Default value: 0.
Unit: kbit/s.
0 kbit/s indicates that the system does not limit the downstream rate.
min-transmit-rate-us Indicates the upstream minimum transmission rate. When this parameter is set to 0, the transmission rate is not limited. Numeral type. Range: 0, 64-400000.
Default value: 0.
Unit: kbit/s.
max-transmit-rate-us Indicates the upstream maximum transmission rate. When this parameter is set to 0, the transmission rate is not limited. Numeral type. Range: 0, 64-400000.
Default value: 0.
Unit: kbit/s.
target-transmit-rate-us Indicates the target upstream transmission rate. Generally, the sum of rates does not exceed the target upstream transmission rate. If the sum of rates exceeds the target upstream rate, reduce the transmit power of the members, or decrease the rates of the members by increasing the SNR margin. This is to ensure that requirement of the target rate can be met. When the target rate is set to 0, the sum of the rates for all members in a group is not limited. Numeral type. Range: 0, 64-400000.
Default value: 0.
Unit: kbit/s.
monitoring-transmit-rate-us Indicates the upstream rate monitoring threshold. Numeral type. Range: 0, 64-400000.
Default value: 0.
Unit: kbit/s.
0 kbit/s indicates that the system does not limit the upstream rate.
monitoring-switch monitoring-switch Indicates the rate threshold alarm function. Enumerated type. Options: enable and disable.
  • enable: indicates that the corresponding event or alarm is generated when the sum of available upstream/downstream rates of a group is lower than or equal to the upstream/downstream threshold rate.
    NOTICE:
    In the running period of this time of startup, after the monitoring switch is enabled, the system monitors rate changes of the bounded group only when all member ports in the bounded group become activated.
  • disable: indicates that the corresponding event or alarm is not generated when the sum of available upstream/downstream rates of a group is lower than or equal to the upstream/downstream threshold rate.
Default value: disable.
bonding-cpe-incorrect-alarm bonding-cpe-incorrect-alarm-switch Indicates the function of reporting the incorrect CPE in the bounding group. Enumerated type. Options: enable and disable.
  • enable: indicates that the corresponding alarm is generated when the CPE in the bounding group is incorrect.
  • disable: indicates that the corresponding alarm is not generated when the CPE in the bounding group is correct.
Default value: enable.
name profile-name Indicates the name of a bonding group profile. Character string type, a string of 1-32 characters.

Modes

Global config mode

Level

Operator level

Usage Guidelines

  • Profile 1 is the system default profile. When the default profile cannot meet the requirements, add profiles as needed.
  • When a bonding group profile is added, the system automatically allocates an idle profile index to it, You can specify the profile index or not.

Example

Assume that:
  • The upstream and downstream maximum interleave delays are 16.
  • The upstream and downstream minimum INPs are 2.
  • The upstream and downstream minimum transmission rates are 64.
  • The upstream and downstream maximum transmission rates are 200000.
  • The upstream and downstream target transmission rates are 20000.
  • The upstream and downstream rate monitoring thresholds are 20000.
  • The rate threshold function alarm function is enabled.
  • The profile name is huawei.
To add such a bonding group profile without specifying the index, do as follows:
huawei(config)#xdsl bonding-group-profile add
{ <cr>|bonding-cpe-incorrect-alarm<K>|delay<K>|inp<K>|monitoring-switch<K>|name<
K>|profile-index<U><2,256>|rate<K> }:delay
{ max-delay-ds<U><1,63> }:16
{ max-delay-us<U><1,63> }:16
{ <cr>|bonding-cpe-incorrect-alarm<K>|inp<K>|monitoring-switch<K>|name<K>|rate<K
> }:inp
{ min-inp-ds<U><1,18> }:2
{ min-inp-us<U><1,18> }:2
{ <cr>|bonding-cpe-incorrect-alarm<K>|monitoring-switch<K>|name<K>|rate<K> }:rat
e
{ min-transmit-rate-ds<U><0,400000> }:64
{ max-transmit-rate-ds<U><0,400000> }:200000
{ target-transmit-rate-ds<U><0,400000> }:20000
{ monitoring-transmit-rate-ds<U><0,400000> }:20000
{ min-transmit-rate-us<U><0,400000> }:64
{ max-transmit-rate-us<U><0,400000> }:200000
{ target-transmit-rate-us<U><0,400000> }:20000
{ monitoring-transmit-rate-us<U><0,400000> }:20000
{ <cr>|bonding-cpe-incorrect-alarm<K>|monitoring-switch<K>|name<K> }:monitoring-
switch
{ monitoring-switch<E><enable,disable> }:enable
{ <cr>|bonding-cpe-incorrect-alarm<K>|name<K> }:bonding-cpe-incorrect-alarm
{ bonding-cpe-incorrect-alarm-switch<E><enable,disable> }:enable
{ <cr>|name<K> }:name
{ profile-name<S><"..."><Length 1-32> }:huawei

  Command:
          xdsl bonding-group-profile add delay 16 16 inp 2 2 rate 64 200000 2000
0 20000 64 200000 20000 20000 monitoring-switch enable bonding-cpe-incorrect-ala
rm enable name huawei
  Add profile 2 successfully

System Response

  • The system displays the message "Add profile x successfully" after a bonding group profile is added successfully. "x" is the index of the added bonding group profile.

More blog: