Showing posts with label MA5608T. Show all posts
Showing posts with label MA5608T. Show all posts

Saturday, February 4, 2017

The MSTP Configuration of stp priority

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/MA5683T/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 priority command is used to set the priority of a device in the specified spanning tree instance. The device priority decides that whether the device can be selected as the root bridge of the spanning tree. When you need to set the device priority to realize the goal of specifying a device as the root bridge of the spanning tree, run this command. After the device priority is set, the set value serves as the criterion for deciding whether to select the device as the root bridge of the spanning tree.
The undo stp priority command is used to restore the default priority of a device in the specified spanning tree instance. After the default priority of a device is restored, the priority of the device in the specified spanning tree instance is 32768.
NOTE:
In the process of selecting the root of the spanning tree, among the devices with same priority, the device with the smallest MAC address will be selected as the tree root.

Format

stp [ instance instance-id ] priority priority
undo stp [ instance instance-id ] priority

Parameters

Parameter Description Value
instance instance-id Indicates the spanning tree instance ID. The value 0 indicates the Common And Internal Spanning Tree (CIST) instance and other value indicate the Multiple Spanning Tree Instance (MSTI). Numeral type. Range: 0-16.
priority priority Indicates the device priority, in steps of 4096. The smaller the set value is, the higher device priority is. Numeral type. Range: 0-61440.
Default: 32768.

Modes

Global config mode

Level

Operator level

Usage Guidelines

  • The device with smaller priority value is more possible to be selected as the root bridge of the spanning tree.
  • Device priority participates in the calculation of the spanning tree. The device priority can be set separately based on the spanning tree instance to which it belongs, and different instances can be configured with different priorities.
  • If you do not configure parameter instance instance-id, the configuration takes effect only on the CIST instance.
  • The device supporting Multiple Spanning Tree Protocol (MSTP) can have different priorities in different spanning tree instances.

Example

To set the priority of the device in spanning tree instance 1 to 4096, do as follows:
huawei(config)#stp instance                                                     
{ INTEGER<0-16> }:1                                                          
{ priority<K>|root<K> }:priority                                                
{ integer<U><0,61440> }:4096                                                    
                                                                                
  Command:                                                                      
          stp instance 1 priority 4096 
To restore the default priority of the device in spanning tree instance 1, do as follows:
huawei(config)#undo stp instance                                                
{ INTEGER<0-16> }:1                                                          
{ priority<K>|root<K> }:priority                                                
                                                                                
  Command:                                                                      
          undo stp instance 1 priority  

System Response

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

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.

Thursday, January 12, 2017

The Ethernet OAM Configuration of display cfm mip(distributing-mode)

Function Description

Operation Administration & Maintenance (OAM) is an effective method used to reduce the cost of network maintenance. The MA5680T/MA5683T/MA5608T connects to the access convergence network through the upstream network port. OAM management packets start from or terminate at the upstream network port. You can perform OAM configuration management through NMS. NMS maintains the network based on the reported information of OAM status and alarms.

Function

This command is used to query the configuration of the connectivity fault management (CFM) MIP.

Format

display cfm mip vlan vlanid frameid/slotid/portid [ gemportid gemportid-value ] [ vlantag1 vlantag1-value [ vlantag2 vlantag2-value ] ]
display cfm mip vlan vlanid { frameid/slotid/portid | l2vpn }
display cfm mip vlan vlanid frameid/slotid/portid [ vpi vpi vci vci ] [ vlantag1 vlantag1–value [ vlantag2 vlantag2–value ] ]

Parameters

Parameter Description Value
vlan vlanid Indicates that the configuration of the CFM MIP is queried by VLAN. Numeral type. Range: 1-4094.
frameid/slotid/portid Indicates the subrack ID, slot ID, and port ID. Enter a slash (/) between the subrack, slot, and port IDs. Please see Differences Between Shelves.
gemportid gemportid-value Indicates the ID of the GEM port. To create a maintenance end point (MEP) for a GEM port, use this parameter. Numeral type. Range: 128-3999.
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.
vlantag1 vlantag1-value Indicates VLAN tag 1, representing an outer VLAN receiving or sending packets. Numeral type. Range: 1-4095.
vlantag2 vlantag2-value IIndicates VLAN tag 2, representing an inner VLAN receiving or sending packets. Numeral type. Range: 1-4095.
l2vpn Indicates the MPLS Layer 2 virtual channel. -

Modes

Privilege mode

Level

Operator level

Usage Guidelines

None

Example

To query the configuration of the CFM MIP of VLAN 2 in the 0/19/0 port, do as follows:
huawei#display cfm mip vlan 2 0/19/0
  MIP Level           : 0
  MIP MAC             : 00E0-FC00-0142

System Response

  • The system displays the queried result when the command runs successfully.
  • The following table describes the parameters in response to this command.
    Parameter Description
    MIP level Indicates the MIP level. You can run the cfm md command to set the parameter.
    MIP MAC Indicates the MIP MAC address. When you run the cfm disable command to disable the CFM function, the system displays "-".
More blog:

Wednesday, January 11, 2017

The Multicast Configuration of display igmp multicast-vlan member(distributing-mode)


Function Description

Multicast refers to the point-to-multipoint communication between a certain node and all other nodes in the network. The core of the multicast technology is to duplicate the packets at the place nearest to the receiver, thus lowering the multicast traffic on the network.
Controllable multicast allows an access device to determine if a user has the authority to watch programs by identifying the user request packets. In this way, the access device controls and forwards the multicast services. The MA5680T/MA5683T/MA5608T provides the IPTV service by using the multicast technology. By using controllable multicast, the access device manages and controls multicast users. This helps to meet the requirements of the carriers for video services provisioning, and to enable the multicast services to be operable and manageable.

Function

This command is used to query the information about the members in a multicast VLAN, or the information about the multicast VLAN pertaining to the multicast members. When you need to know the mapping between multicast users and multicast VLANs, run this command.

Format

display igmp multicast-vlan member { service-port index | port frameid/slotid/portid [ gemport gemport-id ] | vlan vlanid }

Parameters

Parameter Description Value
port 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 multicast VLANs to which multicast users belong based on the port ID, use this parameter. Please see Differences Between Shelves.
service-port index Indicates the ID of the service port.
Numeral type,Range:
  • SCUK/SCUL/SCUN:0-32767.
  • SCUB/SCUF:0-16383.
  • SCUH/SCUV:0-131071.
  • MCUD/MCUD1/MCUE:0-20479.
gemport gemport-id GEM port number. GEM ports of each PON port are numbered in a centralized way. GEM ports 0-127 are reserved for the private use of OMCI and GEM ports 4000-4095 serve as channels for special use. Numeral type. Range: 128-3999.
vlan vlanid Indicates the multicast VLAN ID. When you need to query all members in a multicast VLAN based on VLAN ID, use this parameter. Numeral type. Range: 1-4093.

Modes

Privilege mode, BTV mode, MVLAN mode

Level

Operator level

Usage Guidelines

  • Run the config command to enter global config mode, and then run the btv command to enter BTV mode.
  • Run the config command to enter global config mode, and then run the multicast-vlan command to enter MVLAN mode. Or in BTV mode, run the multicast-vlan command to enter MVLAN mode.
  • Only a multicast user can be added as the member of a multicast VLAN by running command igmp multicast-vlan member(profile-mode). You can run the display igmp user(profile-mode) command to query the information about a multicast user.

Example

To query the multicast VLAN to which the multicast users at port 0/3/0 belong, do as follows:
huawei#display igmp multicast-vlan member port 0/3/0               
 User service port: 10
 Multicast VLAN(s) the user joined :
 -------------------------------------------------
 100
 -------------------------------------------------
 Total: 1
To query all the multicast user members in multicast VLAN 20, do as follows:
huawei#display igmp multicast-vlan member vlan 20
  BTV user(s) that join(s) the multicast VLAN :
  ------------------------------------------------------------------------
  0/14/7/14         0/15/7/15         0/15/7/1572       0/17/7/1772
  ------------------------------------------------------------------------
  Total: 4
  Note: for GPON   Frame ID/Slot ID/Port ID/Gemport ID
        others     Frame ID/Slot ID/Port ID/Service-Port ID

System Response

  • The system displays the queried result when the command runs successfully.
  • The following table describes the parameter in response to the command.
    Parameter Description
    100 Indicates the multicast VLAN index of the port.
    0/14/7/14
    Indicates the multicast user index.
    • For GPON access user: Indicates the Frame ID/Slot ID/Port ID/Gemport ID of the multicast user.
    • For other access user: Indicates the Frame ID/Slot ID/Port ID/service port ID of the multicast user.
More blog:

Monday, January 9, 2017

QoS Configuration of car-port cos-group-table(distributing-mode)

Function Description

QoS refers to quality of service. The settings of different QoS parameters, such as service availability, throughput, time delay, jitter, and loss rate, provide users with high quality services. QoS processes the packets filtered by the ACL according to the requirements. The MA5680T/MA5683T/MA5608T can ensure high QoS for user services based on the traffic rule classification, measurement and scheduling policies.

Function

The car-port cos-group-table command is used to bind a GEM port to a CoS group profile. After a GEM port is bound to the CoS group profile, committed access rate (CAR) can be performed based on the CoS group.
The undo car-port command is used to unbind a GEM port from a CoS group profile.

Format

car-port portid gemport gemportid cos-group-table table-index
undo car-port portid gemport gemportid

Parameters

Parameter Description Value
portid To set a specified port, use this parameter. Please see Differences Between Shelves.
gemport gemportid GEM port number. GEM ports of each PON port are numbered in a centralized way. GEM ports 0-127 are reserved for the private use of OMCI and GEM ports 4000-4095 serve as channels for special use.
Numeral type. Range: 128-3999.
cos-group-table table-index Indicates a CoS group profile. Numeral type. Range: 0-15.

Modes

GPON mode

Level

Operator level

Usage Guidelines

  • Run the config command to enter global config mode, and then run the interface gpon command to enter GPON mode.
  • When you need to limit the rate of packets with various priorities, set these priorities into the same CoS group and then limit the rate of the CoS group, do as follows:
    1. Run the traffic table ip command to configure the traffic profile.
    2. Run the cos-group-table command to set CoS combination in a CoS group profile.
    3. Run the car-mode command to set the CAR mode to port-based or priority-based.
    4. Run the car-port cos-group-table(profile-mode) or car-port cos-group-table(distributing-mode) command to bind a GEM port to a CoS group profile.
    5. Run the car-port cos-group(profile-mode) or car-port cos-group(distributing-mode) command to bind a CoS group to a traffic profile.
  • The traffic profile can be used to limit the rate for the CoS group only after the GEM port is bound to the CoS-group profile. By default, a GEM port cannot be bound to a CoS group profile.
  • If the CoS-based CAR is configured by running the car-port(profile-mode) or car-port(distributing-mode) command, existing configurations are deleted when a CoS group profile is bound. If a GEM port is bound to a CoS group profile, CoS-based CAR cannot be configured until the binding is deleted.
  • Run the display car-port cos-group-table(profile-mode) or display car-port cos-group-table(distributing-mode) command to query binding between a GEM port and a CoS group profile.

Example

Assume that the index of the CoS group profile is 2 and the ID of the CoS group is 2. To limit the rate of upstream or downstream packets with priorities 2 and 3 to be less than or equal to 2 Mbit/s on GEM port 1 of GPON port 0/3/0, do as follows:
huawei(config)#traffic table ip index 10 cir 2048 priority user-cos 2 priority-policy 
tag-In-package
huawei(config)#cos-group-table
{ index<K> }:index
{ table-index<U><0,15> }:2
{ cos0<K>|cos1<K>|cos2<K>|cos3<K>|cos4<K>|cos5<K>|cos6<K>|cos7<K> }:cos3
{ groupid3<U><0,7> }:2
{ <cr>|cos0<K>|cos1<K>|cos2<K>|cos4<K>|cos5<K>|cos6<K>|cos7<K> }:

  Command:
          cos-group-table index 2 cos3 2
huawei(config)#interface gpon 0/3
huawei(config-if-gpon-0/3)#car-mode port-cos
huawei(config-if-gpon-0/3)#car-port
{ portid<U><0,7> }:0
{ gemport<K> }:gemport
{ gemportid<U><128,3999> }:128
{ cos-group-table<K>|cos-group<K>|cos<K> }:cos-group-table
{ table-index<U><0,15> }:2

  Command:
          car-port 0 gemport 128 cos-group-table 2

huawei(config-if-gpon-0/3)#car-port
{ portid<U><0,7> }:0
{ gemport<K> }:gemport
{ gemportid<U><128,3999> }:128
{ cos-group-table<K>|cos-group<K>|cos<K> }:cos-group
{ group-id<U><0,7> }:2
{ inbound<K> }:inbound
{ ip-traffic-table-index<U><0,1023>|traffic-table<K> }:10
{ outbound<K> }:outbound
{ ip-traffic-table-index<U><0,1023>|traffic-table<K> }:10

  Command:
          car-port 0 gemport 128 cos-group 2 inbound 10 outbound 10
To unbind GEM port 128 on GPON port 0/3/0 from CoS group profile 2, do as follows:

huawei(config-if-gpon-0/3)#undo car-port                                           
{ portid<U><0,7> }:0
{ gemport<K> }:gemport
{ gemportid<U><128,3999> }:128
                                                                                
  Command:                                                                      
          undo car-port 0 ont 0 gemport 128 

System Response

QoS Configuration of car-port cos-group(distributing-mode)

Function Description

QoS refers to quality of service. The settings of different QoS parameters, such as service availability, throughput, time delay, jitter, and loss rate, provide users with high quality services. QoS processes the packets filtered by the ACL according to the requirements. The MA5680T/MA5683T/MA5608T can ensure high QoS for user services based on the traffic rule classification, measurement and scheduling policies.

Function

The car-port cos-group command is used to limit the rate of the specified class of service (CoS) group on a GEM port. After this command is successfully executed, if the CoS of the packets passing the GEM port belongs to the specified CoS group, the system limits the rate of packets using the traffic profile referenced by the CoS group.
The undo car-port cos-group command is used to cancel rate limitation of the specified CoS group on a GEM port.

Format

car-port portid gemport gemportid cos-group group-id
undo car-port portid gemport gemportid [ cos-group group-id ]

Parameters

Parameter Description Value
portid Indicates the port ID. To set the rate limitation for a specified port, use this parameter. Please see Differences Between Shelves.
gemport gemportid Indicates the GEM port ID. To configure a specified GEM port, use this parameter. Numeral type. Range: 128-3999.
inbound Indicates the inbound direction of a port. The direction is from the user access side to the network side in the case of user port or cascade port; the direction is from the network side to the user access side in the case of network port. Numeral type. Range: 0-1023.
outbound
Indicates the outbound direction of a port. The direction is from the network side to the user access side in the case of user port or cascade port; the direction is from the user access side to the network side in the case of network port.
NOTE:
The outbound parameter takes effect only on the known unicast packets.
Numeral type. Range: 0-1023.
traffic-table index Indicates the index key of the traffic profile. To set the traffic profile by index, use this parameter. -
ip-traffic-table-index Indicates the index of the traffic profile. To set the traffic profile by index, use this parameter. Numeral type. Range: 0-1023.
traffic-table name ip-traffic-table-name Indicates the name of the traffic profile. To set the traffic profile by name, use this parameter. Character string type, a string of 1-32 characters.
The 92 characters allowed by the system are as follows:
  • English letters: case sensitive
  • Numbers: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9
  • ! # $ % & ' ( ) * + , - . / : ; < = > @ [ \ ] ^ _ ` { | } ~
cos-group group-id Indicates the index of the CoS group. Numeral type. Range: 0-7.

Modes

GPON mode

Level

Operator level

Usage Guidelines

  • Run the config command to enter global config mode, and then run the interface gpon command to enter GPON mode.
  • When you need to limit the rate of packets with various priorities, set these priorities into the same CoS group and then limit the rate of the CoS group, do as follows:
    1. Run the traffic table ip command to configure the traffic profile.
    2. Run the cos-group-table command to set CoS combination in a CoS group profile.
    3. Run the car-mode command to set the CAR mode to port-based or priority-based.
    4. Run the car-port cos-group-table(profile-mode) or car-port cos-group-table(distributing-mode) command to bind a GEM port to a CoS group profile.
    5. Run the car-port cos-group(profile-mode) or car-port cos-group(distributing-mode) command to bind a CoS group to a traffic profile.
  • The traffic profile can be used to limit the rate for the CoS group only after the GEM port is bound to the CoS-group profile. By default, a GEM port cannot be bound to a CoS group profile.
  • If the CoS-based CAR is configured by running the car-port(profile-mode) or car-port(distributing-mode) command, existing configurations are deleted when a CoS group profile is bound. If a GEM port is bound to a CoS group profile, CoS-based CAR cannot be configured until the binding is deleted.
  • Run the display car-port cos-group-table(profile-mode) or display car-port cos-group-table(distributing-mode) command to query binding between a GEM port and a CoS group profile.

Example

Assume that the index of the CoS group profile is 2 and the ID of the CoS group is 2. To limit the rate of upstream or downstream packets with priorities 2 and 3 to be less than or equal to 2 Mbit/s on GEM port 1 of GPON port 0/3/0, do as follows:
huawei(config)#traffic table ip index 10 cir 2048 priority user-cos 2 priority-policy 
tag-In-package
huawei(config)#cos-group-table
{ index<K> }:index
{ table-index<U><0,15> }:2
{ cos0<K>|cos1<K>|cos2<K>|cos3<K>|cos4<K>|cos5<K>|cos6<K>|cos7<K> }:cos3
{ groupid3<U><0,7> }:2
{ <cr>|cos0<K>|cos1<K>|cos2<K>|cos4<K>|cos5<K>|cos6<K>|cos7<K> }:

  Command:
          cos-group-table index 2 cos3 2
huawei(config)#interface gpon 0/3
huawei(config-if-gpon-0/3)#car-mode port-cos
huawei(config-if-gpon-0/3)#car-port
{ portid<U><0,7> }:0
{ gemport<K> }:gemport
{ gemportid<U><128,3999> }:128
{ cos-group-table<K>|cos-group<K>|cos<K> }:cos-group-table
{ table-index<U><0,15> }:2

  Command:
          car-port 0 gemport 128 cos-group-table 2

huawei(config-if-gpon-0/3)#car-port
{ portid<U><0,7> }:0
{ gemport<K> }:gemport
{ gemportid<U><128,3999> }:128
{ cos-group-table<K>|cos-group<K>|cos<K> }:cos-group
{ group-id<U><0,7> }:2
{ inbound<K> }:inbound
{ ip-traffic-table-index<U><0,1023>|traffic-table<K> }:10
{ outbound<K> }:outbound
{ ip-traffic-table-index<U><0,1023>|traffic-table<K> }:10

  Command:
          car-port 0 gemport 128 cos-group 2 inbound 10 outbound 10
To cancel the rate limitation for packets with CoS-group index 5 on GEM port 128 of GPON port 0/4/0, do as follows:
huawei(config-if-gpon-0/3)#undo car-port                                           
{ portid<U><0,7> }:0
{ gemport<K> }:gemport
{ gemportid<U><128,3999> }:128
{ <cr>|cos-group<K>|cos<K> }:cos-group
{ group-id<U><0,7> }:5
                                                                                
  Command:                                                                      
          undo car-port 0 gemindex 128 cos-group 5 

QoS Configuration of car-port(distributing-mode)

Function Description

QoS refers to quality of service. The settings of different QoS parameters, such as service availability, throughput, time delay, jitter, and loss rate, provide users with high quality services. QoS processes the packets filtered by the ACL according to the requirements. The MA5680T/MA5683T/MA5608T can ensure high QoS for user services based on the traffic rule classification, measurement and scheduling policies.

Function

The car-port command is used to configure the port rate limitation by using a traffic profile. Operators prioritize user packets by CoS values based on service requirements. To implement committed access rate (CAR) policies on the packets with CoS values to avoid traffic burst, run this command.
The undo car-port command is used to delete the configuration of port rate limitation.

Format

In the ADSL mode, VDSL mode, SHDSL mode, OPF mode, and OPG mode:
car-port portid cos cos-value inbound { [ traffic-table index ] ip-traffic-table-index | traffic-table name ip-traffic-table-name } outbound { [ traffic-table index ] ip-traffic-table-index | traffic-table name ip-traffic-table-name }
undo car-port portid [ cos cos-value ]
In the GPON mode:
car-port portid gemport gemportid cos cos-value inbound { [ traffic-table index ] ip-traffic-table-index | traffic-table name ip-traffic-table-name } outbound { [ traffic-table index ] ip-traffic-table-index | traffic-table name ip-traffic-table-name }
undo car-port portid gemport gemportid [ cos cos-value ]
In the ETH OPG mode:
car-port portid vlan { vlanid [ to end-vlanid ] | vlan-list | unaware } inbound { [ traffic-table index ] ip-traffic-table-index | traffic-table name ip-traffic-table-name } outbound { [ traffic-table index ] ip-traffic-table-index | traffic-table name ip-traffic-table-name }
undo car-port portid vlan { vlanid [ to end-vlanid ] | vlan-list | unaware }

Parameters

Parameter Description Value
portid Indicates the ID of the port on which the CAR policies are implemented. Please see Differences Between Shelves.
gemport gemportid GEM port number. GEM ports of each PON port are numbered in a centralized way. GEM ports 0-127 are reserved for the private use of OMCI and GEM ports 4000-4095 serve as channels for special use. Numeral type. Range: 128-3999.
cos cos-value Indicates the 802.1p priority in the specified packets. After setting this parameter, specify the inbound or outbound parameter to further bind the packets with CoS values to the traffic profile. Numeral type. Range: 0-7.
vlan vlanid Indicates the VLAN ID, which uniquely identifies a VLAN. You can specify this parameter to implement CAR policies for user-specific packets or service-specific packets on a port to achieve more intensive QoS control.
NOTE:
Only the SPUA, OPGE, SPUC board allows you to limit the rate of the packets in a specified VLAN on the port.
Numeral type. Range: 1-4093.
to end-vlanid This parameter is used with vlanid to specify the VLAN range. Numeral type. Range: 1-4093.
end-vlanid must be larger than or equal to vlanid
vlan-list Indicates the VLAN list. To configure or cancel the VLAN attributes in batches, use this parameter. For example, VLAN list "2,4-6,10" indicates VLANs 2, 4, 5, 6, and 10. Character string type, a string of 1-256 characters.
unaware Indicates that VLAN is not specified. To not configure VLAN values during CAR port configurations, use this parameter. -
inbound
To implement rate limitation for the inbound direction of a port.
NOTE:
  • The inbound direction is from the user access side to the network side in the case of user port or cascade port.
  • The inbound direction is from the network side to the user access side in the case of network port.
-
outbound
To implement rate limitation for the outbound direction of a port.
NOTE:
  • The outbound direction is from the network side to the user access side in the case of user port or cascade port
  • The outbound direction is from the user access side to the network side in the case of network port.
-
traffic-table { index ip-traffic-table-index | name ip-traffic-table-name }
Indicates the traffic profile. You can specify this parameter either by profile index or by profile name to bind a traffic profile to the packets with the CoS value specified by cos cos-value:
  • index ip-traffic-table-index: Indicates the index of the traffic profile.
  • name ip-traffic-table-name: Indicates the name of the traffic profile.
You can run the traffic table ip command to create a traffic profile.
indexip-traffic-table-index
Numeral type. Range: 0-1023.
name ip-traffic-table-name
Character string type, a string of 1-32 characters.
The 92 characters allowed by the system are as follows:
  • English letters: case sensitive
  • Numbers: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9
  • ! # $ % & ' ( ) * + , - . / : ; < = > @ [ \ ] ^ _ ` { | } ~

Modes

ADSL mode, SHDSL mode, VDSL mode, GPON mode, ETH mode, OPF mode, OPG mode

Level

Operator level

Usage Guidelines

  • Run the config command to enter the global config mode, and then run the interface adsl command to enter the ADSL mode.
  • Run the config command to enter the global config mode, and then run the interface shl command to enter the SHDSL mode.
  • Run the config command to enter the global config mode, and then run the interface vdsl command to enter the VDSL mode.
  • Run the config command to enter the global config mode, and then run the interface opf command to enter the OPF mode.
  • Run the config command to enter the global config mode, and then run the interface opg command to enter the OPG mode.
  • Run the config command to enter the global config mode, and then run the interface eth command to enter the ETH mode.
  • Run the config command to enter the global config mode, and then run the interface gpon command to enter the GPON mode.
  • Before setting the rate limitation on the packet with a specified priority on the port, run the car-mode command to set the rate limitation to be based on port and priority, and then run the traffic table ip command to create the traffic profile to be referenced. When you need to limit the rate of the packets in a specified VLAN on the port, you do not need to set the rate limitation mode because such a case is irrelevant to the rate limitation mode.
  • The following table lists CAR specifications and granularities for CoS packets on different boards.
    NOTE:
    The value of a CAR specification indicates the number of rules that can be configured by running the car-port command.
    Board types Specifications for CAR Granularities for CAR
    SCUN/SCUH control board 5120 -
    Other control board 1024 -
    GPON board 1024 The rate is limited based on GEM port+CoS and all rates configured for each GEM port only occupies one specification.
    Other board It is limited by the specification of control board. The rate is limited based on port+CoS and all rates configured for each port only occupies one specification.

Example

To limit the rate of the packet with priority 5 on port 0/3/0 through traffic profile 5, do as follows:
huawei(config-if-gpon-0/3)#car-port
{ portid<U><0,7> }:0
{ gemport<K> }:gemport
{ gemportid<U><128,3999> }:128
{ cos-group-table<K>|cos-group<K>|cos<K> }:cos
{ cos-value<U><0,7> }:5
{ inbound<K> }:inbound
{ ip-traffic-table-index<U><0,1023>|traffic-table<K> }:5
{ outbound<K> }:outbound
{ ip-traffic-table-index<U><0,1023>|traffic-table<K> }:5

  Command:
          car-port 0 gemport 128 cos 5 inbound 5 outbound 5
To cancel rate limitation on the packets of GEM port 128 on GPON port 0/3/0, do as follows:
huawei(config-if-gpon-0/3)#undo car-port
{ portid<U><0,7> }:0
{ gemport<K> }:gemport
{ gemportid<U><128,3999> }:128
{ <cr>|cos-group<K>|cos<K> }:

  Command:
          undo car-port 0 gemport 128

System Response

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

More blog:

How to change the OLT type device?