Wednesday, January 25, 2017

The MSTP Configuration of

Function Description

The multiple spanning tree protocol (MSTP) applies to the redundant network. MSTP is an improvement of STP and RSTP. MSTP prevents the proliferation and infinite cycling of the packets in the loop network. In addition, MSTP provides multiple redundant paths for VLAN data transmission to achieve the load-sharing purpose. The MA5680T/MA5683T/MA5608T supports MSTP, which is compatible with the STP and RSTP. It supports MSTP loop network that helps meet various networking requirements.

Function

This command is used to set the mCheck variable to force a port to work in Multiple Spanning Tree Protocol (MSTP) mode. When you need to check whether there is any bridge running STP in the network segment connected to the current port, run this command. After you set the mCheck variable manually, the port work in MSTP mode.
NOTE:
This command can be configured only when the bridge works in MSTP mode. If the bridge is set to work in STP mode, this command does not take effect.

Format

stp port frameid/slotid/portid mcheck

Parameters

Parameter Description Value
frameid/slotid/portid Indicates the subrack ID, slot ID, and port ID. Enter a slash (/) between the subrack, slot, and port IDs. Only the Ethernet port is supported. When you need to force a specified port to work in MSTP mode, use this parameter. Please see Differences Between Shelves.

Modes

Global config mode

Level

Operator level

Usage Guidelines

  • If there is the bridge running STP in the network segment connected to the current port, the port mode transits to STP compatible mode.
  • When the network is stable, even if the bridge in the network segment which runs STP is disconnected, the related port still works in STP compatible mode. In this case, you can run the this command to force the port to work in MSTP mode. After that, you can check whether the port works in MSTP mode or STP compatible mode based on the type of the received packets.

Example

To set port 0/19/0 to work in MSTP mode, do as follows:
huawei(config)#stp port 
{ frameid/slotid/portid<S><Length 5-18> }:0/19/0
{ cost<K>|disable<K>|edged-port<K>|enable<K>|instance<K>|loop-protection<K>|mche
ck<K>|point-to-point<K>|port-priority<K>|root-protection<K>|transmit-limit<K> }:
mcheck

  Command:
          stp port 0/19/0 mcheck

System Response

  • The system does not display any message after the command is executed successfully.
More blog:

The MSTP Configuration of stp port loop-protection

Function Description

The multiple spanning tree protocol (MSTP) applies to the redundant network. MSTP is an improvement of STP and RSTP. MSTP prevents the proliferation and infinite cycling of the packets in the loop network. In addition, MSTP provides multiple redundant paths for VLAN data transmission to achieve the load-sharing purpose. The MA5680T/MA5683T/MA5608T supports MSTP, which is compatible with the STP and RSTP. It supports MSTP loop network that helps meet various networking requirements.

Function

This command is used to enable or disable the loop protection of an Ethernet port. When you need to enable the loop protection of a port to suppress the formation of loops, run this command. After the loop protection of an Ethernet port is enabled, the device suppresses the formation of loops.

Format

stp port frameid/slotid/portid loop-protection { enable | disable }

Parameters

Parameter Description Value
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 set the state of the Multiple Spanning Tree Protocol (MSTP), use this parameter. Please see Differences Between Shelves.
enable Enables the loop protection of a port. -
disable Disables the loop protection of a port. -

Modes

Global config mode

Level

Operator level

Usage Guidelines

  • By default, the loop protection of a port is disabled.
  • To avoid the switching network loop due to the link congestion or unidirectional link fault, MSTP provides the loop protection function to suppress the formation of such loop.
  • The loop protection prevents the root port and blocked port from switching to the forwarding state when ports are aging. Though these two types of ports can be the specified ports when they are aging, yet they keep in the discarding state and cannot perform the processing only after receiving the BPDU (excluding the TCN packet). This prevents the generation of Spanning Tree Protocol (STP) loop caused by link congestion or unidirectional link fault.
  • When you configure a port, only one of the loop protection function, root protection function and BPDU protection function takes effect.

Example

To enable the loop protection of port 0/19/0, do as follows:
huawei(config)#stp port
{ frameid/slotid/portid<S><Length 5-18> }:0/19/0
{ cost<K>|disable<K>|edged-port<K>|enable<K>|instance<K>|loop-protection<K>|mche
ck<K>|point-to-point<K>|port-priority<K>|root-protection<K>|transmit-limit<K> }:
loop-protection
{ disable<K>|enable<K> }:enable 

  Command:
          stp port 0/19/0 loop-protection enable
To disable the loop protection of port 0/19/0, do as follows:
huawei(config)#stp port
{ frameid/slotid/portid<S><Length 5-18> }:0/19/0
{ cost<K>|disable<K>|edged-port<K>|enable<K>|instance<K>|loop-protection<K>|mche
ck<K>|point-to-point<K>|port-priority<K>|root-protection<K>|transmit-limit<K> }:
loop-protection
{ disable<K>|enable<K> }:disable

  Command: 
          stp port 0/19/0 loop-protection disable

System Response

  • The system does not display any message after the command is executed successfully.

The MSTP Configuration of stp port edged-port?

Function Description

The multiple spanning tree protocol (MSTP) applies to the redundant network. MSTP is an improvement of STP and RSTP. MSTP prevents the proliferation and infinite cycling of the packets in the loop network. In addition, MSTP provides multiple redundant paths for VLAN. The MA5680T/MA5683T/MA5608T supports MSTP, which is compatible with the STP and RSTP. It supports MSTP loop network that helps meet various networking requirements.

Function

This command is used to set the current Ethernet port as an edge port or a non-edge port. When you need to enable a port to transit to the forwarding state rapidly and also ensure the network security, run this command. If a port is directly connected to the terminal, set the port as an edge port and enable the Bridge Protocol Data Unit (BPDU) protection function. After the current Ethernet port is set as an edge port, the device cannot receive the configuration message transmitted from other bridges.

Format

stp port frameid/slotid/portid edged-port { enable | disable }

Parameters

Parameter Description Value
frameid/slotid/portid Indicates the subrack ID, slot ID, and port ID. Enter a slash (/) between the subrack, slot, and port IDs. Only the Ethernet port is supported. When you need to set the specified port, use this parameter. Please see Differences Between Shelves.
enable Sets a specified Ethernet port as an edge port. Edge port refers to a port that is not directly connected to any switch or indirectly connected to any switch through the network connected to the port. -
disable Sets a specified Ethernet port as a non-edge port. -

Modes

Global config mode

Level

Operator level

Usage Guidelines

  • By default, all ports are non-edged.
  • Only the port connected to the terminal can be set as an edge port. The edge port cannot receive the configuration message (BPDU packets) transmitted from other bridges because the edge port is not connected to any other bridge.
  • When the BPDU protection function is disabled and the port receives BPDU, the actual running value of the edge port is a non-edge port even if you set the port as an edge port.
  • This setting takes effect on all spanning tree instances, that is, when a port is set as an edge port or a non-edge port, the port is set as an edge port or a non-edge port in all spanning tree instances.
  • If a port is connected to a terminal instead of to other bridges or a shared network segment, the port is an edge port. The edge port does not import temporary loops when the network topology changes. Thus, if you set a specified port as an edge port, the port can transit from the blocking state to the forwarding state rapidly without any delay.

Example

To set port 0/19/0 as an edge port, do as follows:
huawei(config)#stp port
{ frameid/slotid/portid<S><Length 5-18> }:0/19/0 
{ cost<K>|disable<K>|edged-port<K>|enable<K>|instance<K>|loop-protection<K>|mche
ck<K>|point-to-point<K>|port-priority<K>|root-protection<K>|transmit-limit<K> }:
edged-port  
{ disable<K>|enable<K> }:enable

  Command:
          stp port 0/19/0 edged-port enable
To set port 0/19/0 as a non-edge port, do as follows:
huawei(config)#stp port
{ frameid/slotid/portid<S><Length 5-18> }:0/19/0 
{ cost<K>|disable<K>|edged-port<K>|enable<K>|instance<K>|loop-protection<K>|mche
ck<K>|point-to-point<K>|port-priority<K>|root-protection<K>|transmit-limit<K> }:
edged-port
{ disable<K>|enable<K> }:disable

  Command: 
          stp port 0/19/0 edged-port disable

Monday, January 23, 2017

The MSTP Configuration of stp md5-key

Function

The stp md5-key command is used to set the MD5 key for the MD5 encryption algorithm in an MST region. When you need to encrypt the region to ensure the device security, run this command. After the MD5 key for the MD5 encryption algorithm in the region is set, two devices cannot communicate with each other unless their MD5 keys are the same.
The undo stp md5-key command is used to restore the default MD5 key for the MD5 encryption algorithm in the region. The default MD5 key is recommended. After the MD5 key is modified, you can run this command to restore the default MD5 key. After the default MD5 key for the MD5 encryption algorithm in the region is restored, the MD5 key is 0x13AC06A62E47FD51F95D2BA243CD0346.

Format

stp md5-key number
undo stp md5-key

Parameters

Parameter Description Value
number Indicates the encryption parameter. The string must be hexadecimal and in length of multiples of 2. Character string type, a string of 1-32 characters.
Default: 0x13AC06A62E47FD51F95D2BA243CD0346
Recommended value: 0x13AC06A62E47FD51F95D2BA243CD0346.

Modes

Global config mode, OSN 1500, OSN 2500

Level

Operator level

Usage Guidelines

  • For the device security, two devices in a same region cannot communicate with each other unless their MD5 keys are the same. Thus, it is recommended to use the default MD5 key in the settings.
  • Two devices that belong to a same MST region must meet the following requirements:
    • The MST region names are the same.
    • The revision levels of the MST region are the same.
    • The configuration digest are the same. The configuration digest is calculated by using the MD5 encryption algorithm based on the VLAN mapping table of all configured spanning trees in the MST region and the MD5 key.

Example

To set the MD5 key for the MD5 encryption algorithm in an MST region to 00e0fc042958, do as follows:
huawei(config)#stp md5-key                                                      
{ string<S><Length 1-32> }:00e0fc042958                                                
                                                                                
  Command:                                                                      
          stp md5-key 00e0fc042958
To restore the default MD5 key for the MD5 encryption algorithm in an MST region, do as follows:
huawei(config)#undo stp md5-key   

The MSTP Configuration of stp max-hops

Function

The stp max-hops command is used to set the maximum hops for an Multiple Spanning Tree (MST) region. To limit the network scale of the MST region, you need to set maximum hops. After the maximum hops for the MSTP region is set, the configuration message (BPDU packets) is forwarded from the root device of the spanning tree and the hop count in the BPDU packets decreases 1 by each hop from the maximum hops.
The undo stp max-hops command is used to restore the default maximum hops for an MST region. To limit the MST region in the default scale, run this command to restore the default maximum hops. After the default maximum hops for an MST region is restored, the maximum hops of the device is 20.

Format

stp max-hops hop-count
undo stp max-hops

Parameters

Parameter Description Value
hop-count Indicates the maximum hops for the MST region. Numeral type. Range: 1-40.
Default: 20.

Modes

Global config mode, OSN 2500, OSN 7500

Level

Operator level

Usage Guidelines

  • The larger the maximum hops for the MST region is, the larger the scale of the MST region is. Only the maximum hops for the MST region which is configured on the root device of the region can limit the scale of the region. The non root bridge in the MST region adopts the maximum hops of the root bridge.
  • The configuration message (BPDU packets) is forwarded from the root device of the spanning tree in the MST region. When the BPDU packets is forwarded by a switch each time, the hop count decreases one. The device discards the received BPDU packets whose hop count is 0 to limit the scale of the MST region.
  • If the current device becomes the Common and Internal Spanning Tree (CIST) root bridge device in the MST region or MSTI root bridge device, the maximum hop count configured for this bridge device becomes the network diameter of the spanning tree to limit the scale of the spanning tree in the current MST region.

Example

To set the maximum hops for MST region to 10, do as follows:
huawei(config)#stp max-hops                                                     
{ integer<U><1,40> }:10                                                         
                                                                                
  Command:                                                                      
          stp max-hops 10   
To restore the default maximum hops for MST region, do as follows:
huawei(config)#undo stp max-hops 

The MSTP Configuration of stp compliance

Function Description

The multiple spanning tree protocol (MSTP) applies to the redundant network. MSTP is an improvement of STP and RSTP. MSTP prevents the proliferation and infinite cycling of the packets in the loop network. In addition, MSTP provides multiple redundant paths for VLAN data transmission to achieve the load-sharing purpose. The MA5600T/MA5603T/MA5608T supports MSTP, which is compatible with the STP and RSTP. It supports MSTP loop network that helps meet various networking requirements.

Function

The stp compliance command is used to configure the protocol used by a port to transmit bridge protocol data unit (BPDU) packets. After this command is executed successfully, the port uses the configured protocol to transmit BPDU packets.
The undo stp compliance command is used to cancel the protocol used by a port to transmit BPDU packets. After this command is executed successfully, the protocol parameter used by the port to transmit BPDU packets is restored to the default value (auto).

Format

stp compliance port frameid/slotid/portid { auto | dot1w }
undo stp compliance port frameid/slotid/portid

Parameters

Parameter Description Value
port frameid/slotid/portid Indicates the shelf ID, slot ID, and port ID. Enter a slash (/) between the shelf, slot, and port IDs. Please see Differences Between Shelves.
auto
Indicates that a port will auto-negotiate the protocol with the peer port according to the protocol with which the peer port sending BPDUs complies.
  • If the peer port complies with the MSTP protocol when sending BPDUs, the port will also comply with the MSTP protocol.
  • If the peer port complies with the RSTP protocol when sending BPDUs, the port will comply with the RSTP protocol of the 802.1q 2005 version accordingly.
-
dot1w Indicates that the port complies with the 802.1w protocol when sending BPDUs. If the peer device connected to the port functions as a root bridge device, and the port of the peer device complies with the RSTP protocol when sending BPDUs, use this parameter. -

Modes

Global config mode, OSN 7500, OSN 3500

Level

Operator level

Usage Guidelines

You can run the display stp command to query the type of the protocol with which the current port sending BPDUs complies.

Example

To set the protocol used by port 0/19/0 to transmit BPDU packets to dot1w, do as follows:
huawei(config)#stp compliance
{ port<K> }:port 
{ frameid/slotid/portid<S><Length 5-18> }:0/19/0
{ auto<K>|do1w<k> }:dot1w

  Command:
          stp compliance port 0/19/0 dot1w
To restore the protocol used by port 0/19/0 to transmit BPDU packets to auto, do as follows:
huawei(config)#undo stp compliance 
{ port<K> }:port 
{ frameid/slotid/portid<S><Length 5-18> }:0/19/0

  Command:
          undo stp compliance port 0/19/0

System Response

IP Routing Basic Commands on debugging rm backup

Function

Using the debugging rm backup command, you can enable the debugging of RM backup.
Using the undo debugging rm backup command, you can disable the debugging of RM backup.
By default, the debugging of RM backup is disabled.

Format

debugging rm backup
undo debugging rm backup

Parameters

None

Modes

Privilege mode, GPBD,GPFD,ETHB

Level

Administrator level

Usage Guidelines

In general, if a standby board is inserted, batch backup is generated. After batch backup is generated, the real-time backup is generated if batch backup does not break. The batch backup covers only a part of data. The other parts of data are sent to the standby board through real-time backup, such as RM interface information.

IP Routing Basic Commands on debugging rm all

Function

Using the debugging rm all command, you can enable all the debugging of the RM module.
Using the undo debugging rm all command, you can disable all the debugging of the RM module.
By default, all the debugging of the RM module is disabled.

Format

debugging rm all
undo debugging rm all

Parameters

None

Modes

Privilege mode, MA5683T, MA5680T, MA5608T

Level

Administrator level

Usage Guidelines

The debugging rm all command enables debugging of all RM modules. This command displays internal debugging information about the RM module to help collect information for problem location.

IP Routing Basic Commands on debugging rm

Function

The debugging rm command enables route management debugging. After the function is enabled, debugging information about route management is output on a screen.
The undo debugging rm command disables route management debugging.

Format

debugging rm ip { { all | download | backup | producer | importer | subscriber } [ ip-prefix ip-prefix-name ] | event }
undo debugging rm ip { all | download | backup | producer | importer | subscriber | event }

Parameters

Parameter Description Value
ip Enables IP route debugging of the route management module. -
all Enables all debugging functions. -
event Enables information debugging for event handling processes defined in the route management module. -
download Enables information debugging for the route delivery process. -
backup Enables information debugging for the master/slave backup process. -
producer Enables information debugging for producer-related processes. -
importer Enables information debugging for importer-related processes. -
subscriber Enables information debugging for subscriber-related processes. -
ip-prefix ip-prefix-name Outputs only the debugging information corresponding to an IP address prefix. -

Modes

Privilege mode, MA5683T, MA5680T,MA5608T

Level

Administrator level

Usage Guidelines

Usage Scenario
To check an internal route management process, you can enable debugging for the process, so that information about the process is output to a screen.
Different debugging functions are designed for different processes. The following debugging options are available:
  • backup: If you select this option, debugging information about the master/slave backup process is displayed. This option can be selected to output relevant information for analysis when master/slave backup fails or data is inconsistent.
  • subscriber: If you select this option, debugging information about subscriber-related processes is displayed. This option can be selected to output relevant information for analysis when a route subscriber cannot subscribe to routes.
  • importer: If you select this option, debugging information about importer-related processes is displayed. This option can be selected to output relevant information for analysis when a route importer cannot import routes.
  • download: If you select this option, debugging information about the route delivery process is displayed. This option can be selected to output relevant information for analysis when routes forwarded by the bottom layer are inconsistent with routes in route management.
  • event: If you select this option, debugging information about event handling processes defined in the route management module is displayed. This option can be used with other options, so that event debugging is also enabled after debugging functions are enabled.
  • producer: If you select this option, debugging information about producer-related processes is displayed. This option can be selected to output relevant information for analysis when the routing protocol exists but the route management module does not contain information about a route.
  • all: If you select this option, debugging information about all processes is displayed. This option can be selected to output relevant information for analysis when you are not sure which option to select or the cause of a fault is not clear.
Prerequisites
Global terminal debugging must be simultaneously enabled for relevant debugging information to be output on the screen.

Example

# Enable all the debugging functions of the route management module.
huawei#debugging rm
{ ip<K> }:ip 
{ all<K>|backup<K>|download<K>|event<K>|importer<K>|producer<K>|subscriber<K> }:all
{ <cr>|ip-prefix<K> }:

  Command:
          debugging rm ip all 



More Blog:

When cannot ping the server through S5700HI VLL network.

Sunday, January 22, 2017

The ONT Broadband Service Management of display ont-learned-mac

Function Description

This topic provides the commands related to the ONT broadband service configuration.

Function

This command is used to query the information about the MAC addresses learned on the ONT that is connected to a PON port. To query the information about the MAC addresses learned on the ONT for problem location, run this command.

Format

display ont-learned-mac frameid/slotid/portid ontid [ port-type ont-portid [ vlanid ] | wlan ]

Parameters

Parameter Description Value
frameid/slotid/portid Indicates the shelf ID/slot ID/port ID of a PON port. Character string type, a string of 5-15 characters.
ontid Indicates the ONT ID. Numeral type. Range: varies with the board type.
port-type Indicates the ONT port type. Enumerated type. Options: ETH.
ont-portid Indicates the ONT port ID. Numeral type. Range: 1-8.
vlanid Indicates the VLAN ID. Numeral type. Range: 1-4094.
wlan Indicates the WLAN query mode. -

Modes

Privilege mode, GPFD, GPBD

Level

Operator level

Usage Guidelines

When the MAC addresses learned on the ONT that is connected to a PON port are queried, the system displays a maximum of 1000 MAC addresses that are first learned.

Example

To query the MAC addresses learned on Ethernet port 2 on ONT 10 that is connected to PON port 0/3/3, do as follows:
huawei#display ont-learned-mac 
{ frameid/slotid/portid<S><Length 5-15> }:0/3/3
{ ontid<U><0,127> }:10
{ <cr>|port-type<E><eth,vdsl>|wlan<K> }:eth
{ ont-portid<U><1,8> }:2
{ <cr>|vlanid<U><1,4094> }: 
    
  Command:            
          display ont-learned-mac 0/3/3 10 eth 2
  -----------------------------------------------------------------        
  F/S/P  ONTID    ONT        ONT       MAC-ADDRESS       VLAN
                  port-type  port-ID
  -----------------------------------------------------------------        
  0/ 3/3  10    ETH       2       00e0-fc20-47b9       200
  0/ 3/3  10    ETH       2       00e0-fc20-47ba       200
  -----------------------------------------------------------------
  Total: 2 
To query the MAC addresses learned in VLAN 200 on Ethernet port 2 on ONT 10 that is connected to PON port 0/3/3, do as follows:
huawei#display ont-learned-mac                 
{ frameid/slotid/portid<S><Length 5-15> }:0/3/3
{ ontid<U><0,127> }:10
{ <cr>|port-type<E><eth,vdsl>|wlan<K> }:eth
{ ont-portid<U><1,8> }:2
{ <cr>|vlanid<U><1,4094> }:200                            
                                                                                
  Command:                                                                      
          display ont-learned-mac 0/3/3 10 eth 2 200
  
  ---------------------------------------------------------------        
  F/S/P  ONTID    ONT        ONT       MAC-ADDRESS       VLAN
                  port-type  port-ID
  ---------------------------------------------------------------        
  0/ 3/3  10    ETH       2       00e0-fc20-47b9       200
  0/ 3/3  10    ETH       2       00e0-fc20-47ba       200
  ---------------------------------------------------------------
  Total: 2 
To query the MAC addresses learned in VLAN 200 on Ethernet port 2 on ONT 10 that is connected to PON port 0/3/3, do as follows:
huawei#display ont-learned-mac                 
{ frameid/slotid/portid<S><Length 5-15> }:0/3/3
{ ontid<U><0,127> }:10
{ <cr>|port-type<E><eth,vdsl>|wlan<K> }:wlan                         
                                                                                
  Command:                                                                      
          display ont-learned-mac 0/3/3 10 wlan
  
  ---------------------------------------------------------------        
  F/S/P  ONTID    ONT        ONT       MAC-ADDRESS       VLAN
                  port-type  port-ID
  ---------------------------------------------------------------        
  0/ 3/3  10    WLAN       1       00e0-fc20-47b9       -
  0/ 3/3  10    WLAN       2       00e0-fc20-47ba       -
  ---------------------------------------------------------------
  Total: 2 
  Note: When the ONT port-type is WLAN, the ONT port-ID indicates WLAN SSID index

System Response

  • The system displays the queried result when the command runs successfully.
  • Parameter Description
    F/S/P Indicates the shelf ID/slot ID/port ID of the ONT.
    ONT ID Indicates the ONT ID.
    ONT port-type Indicates the ONT port type.
    ONT port-ID Indicates the ONT port ID.
    MAC-ADDRESS Indicates the queried MAC address.
    VLAN Indicates the VLAN ID.
    WLAN Indicates the WLAN query mode. 
More blog:

The ONT Broadband Service Management of display ont mac-count

Function Description

This topic provides the commands related to the ONT broadband service configuration

Function

This command is used to query the ONT MAC address learning table.

Format

display ont mac-count portid ontid

Parameters

Parameter Description Value
portid Indicates the ID of the GPON port where the ONT to be queried is located. Please see Differences Between Shelves.
ontid Indicates the ID of the ONT to be queried. Numeral type. Range: varies with the board type.

Modes

GPON mode, GPBD, GPFD

Level

Operator level

Usage Guidelines

  • Before running this command, run the config command to enter global config mode, and then run theinterface gpon command to enter GPON mode.
  • The ONT must be online and working properly.

Example

To query the MAC address learning table of the ONT whose ID is 0 under GPON port 0/3/0, do as follows:
huawei(config-if-gpon-0/3)#display ont mac-count                                
{ portid<U><0,7> }:0                                                            
{ ontid<U><0,63> }:0                                                            
                                                                                
  Command:                                                                      
          display ont mac-count 0 0                                             
  --------------------------------------------------                            
  F/S/P                    : 0/3/0   
  ONT-ID                   : 0                                                 
  ONT MAC count            : 0                                                  
  --------------------------------------------------

System Response

  • The system displays the queried result when the command runs successfully.
  • The following table describes the parameters in response to the display ont mac-count command.
    Parameter Description
    F/S/P Indicates the shelf ID, slot ID, and port ID.
    ONT-ID
    S
    Indicates the ONT ID.
    ONT MAC count Indicates the number of the MAC addresses currently learned by the ONT.
More Blog:

The EPON LLID Management on ont llid

Function Description

This topic provides the commands related to the EPON Logical Link (Identity configuration LLID) configuration. The EPON LLID can be used to identify ONU in the system, and can be designated in ONU discovery process.

Function

The ont llid command is used to configure a DBA profile and stream control profile for the EPON ONT logical link identifier (LLID) in distributed mode. When you need to configure the upstream bandwidth, a DBA profile and stream control profile for the EPON ONT LLID in distributed mode, run this command.
The undo ont llid command is used to unbind a DBA profile and stream control profile from the EPON ONT LLID in distributed mode. When you need to unbind a DBA profile and stream control profile from the EPON ONT LLID in distributed mode, run this command.

Format

ont llid portid ontid llid-list {{ dba-profile-id profile-id | dba-profile-name profile-name } | ont-car { traffic-table-index | traffic-table-name traffic-table-name } }*
undo ont llid portid ontid llid-list { dba-profile | ont-car }*

Parameters

Parameter Description Value
portid Indicates the EPON port ID. Please see Differences Between Shelves.
ontid Indicates the ONT number. Numeral type. Range: varies with the board type.
llid-list Indicates the ONT LLID list. The ONT LLID list supports "," and "-". For example, the llid-list value 0, 2-3, indicates LLIDs 0, 2, and 3. Currently, LLID only supports 0. Character string type, a string of 1–13 characters.
The LLID is in the numeral type and ranges from 0–0.
dba-profile-id profile-id Indicates the DBA profile ID. To bind a DBA profile by specifying the profile ID, use this parameter. A DBA profile is used to configure the upstream bandwidth of the ONT. Numeral type. Range: 1–512.
dba-profile-name profile-name Indicates the DBA profile name. To bind a DBA profile by specifying the profile name, use this parameter. A DBA profile is used to configure the upstream bandwidth of the ONT. Character string type, a string of 1–33 characters.
ont-car traffic-table-index Indicates the traffic control profile ID. To set the CAR value in an ONT line profile, use this parameter. The traffic control profile is used to control downstream traffic of the ONT. Numeral type. Range: 0–1023.
traffic-table-name traffic-table-name Indicates the traffic control profile name. To set the CAR value in an ONT line profile, use this parameter. The traffic control profile is used to control downstream traffic of the ONT. Character string type, a string of 1–32 characters.

Modes

EPON mode, OSN 6800

Level

Operator level

Usage Guidelines

  • Run the config command to enter global config mode, and then run the interface epon command to enter EPON mode.
  • This command is used to configure a DBA profile and stream profile in distributed mode. This command and the command for configuring a DBA profile and stream control profile in service profile mode are mutually exclusive. If a DBA profile and stream profile have been configured in service profile mode and you need to run this command, run the undo llid command to cancel the default values of the DBA profile and stream control profile in service profile mode first. If this command has been executed and you need to bind the LLID with a DBA profile or CAR profile in service profile mode, run the undo ont llid command in the EPON mode to unbind the DBA profile and stream control profile from the LLID first.
  • When a DBA profile is not bound to the LLID in service profile mode or discrete mode, the default bandwidth is assured bandwidth and is 2 M.
  • The restrictions of the upstream bandwidth of PON port the ONT related to are as follows:
    • The fixed bandwidth and assured bandwidth of all the TCONT of all the ONTs reated to the PON port must be smaller than, or equal to the allocable bandwidth of the PON port. The added ONT will use bandwdth, and the allocable bandwidth of the PON port will decrease. You can run the display port info(gpon) command to query the maxium allocable bandwidth of the PON port. The queried result is the allacable bandwith minus the ONT fixed bandwidth cost, and the fixed bandwidth and assured bandwidth that have been allocated.
    • The maximum bandwidth configured in the DBA profile the ONT bound to must be smaller than, or equal to the maximum allocable bandwidth of the PON port that the ONT is related to. You can run the display port info(gpon) command about the PON port that has not been bound by an ONT to query the maximum allocable bandwidth of the PON port.

Example

To bind DBA profile 2 and traffic control profile 2 to ONT LLID 0, do as follows:
huawei(config-if-epon-0/3)#ont llid
{ portid<U><0,7> }:0
{ ontid<U><0,63> }:0
{ llid-list<S><Length 1-13> }:0
{ dba-profile-id<K>|dba-profile-name<K>|ont-car<K> }:dba-profile-id
{ profile-id<U><1,512> }:2
{ <cr>|ont-car<K> }:ont-car
{ traffic-table-index<U><0,1023>| traffic-table-name<K> }:2

  Command:
          ont llid 0 0 0 dba-profile-id 2 ont-car 2
To unbind DBA profile 2 and traffic control profile 2 to ONT LLID, do as follows:
huawei(config-if-epon-0/3)#undo ont llid
{ portid<U><0,63> }:0
{ ontid<U><0,63> }:0
{ llid-list<S><Length 1-13> }:0
{ dba-profile<K>|ont-car<K> }:dba-profile
{ <cr>|ont-car<K> }:ont-car

  Command:
          undo ont llid 0 0 0 dba-profile ont-car