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

No comments:

Post a Comment