在POS接口上附加入方向的分類模板,疏導和開敞信道 SPAs 在接口配置上使用 plim qos input class-map {class-map index}命令。爲廣播信道SPA在接口上分配給越權值包低優先級,使用pim qos input weight {weight-value}命令。不使用就no 掉
plim qos input {class-map {class-map index}|weitht{weight-value}}
no plim qos input {class-map {class-map index}|weitht{weight-value}}
plim qos input {class-map {class-map index}|weitht{weight-value}}
no plim qos input {class-map {class-map index}|weitht{weight-value}}
-------------------------------------------------------------------
Syntax Description
class-map Maps the ingress classification template class map to the interface.
class-map index The index classification template number for which the classification criteria is applied to the interface.
weight Schedules the weight assigned to an interface to share excess bandwidth among low priority packets.
weight-value The weight value assigned to an interface to share excess bandwidth among low priority packets. The excess bandwidth assigned to the interface is relative and dependent on free bandwith assigned to other interfaces and the free bandwidth available. The valid range is 40 to 10000.
-------------------------------------------------------------------
默認: SIP0 使用模板 1 - 62 ,SIP1使用模板 63 - 124
配置模式: 主接口配置
-------------------------------------------------------------------
使用指南:
分類模板詳細細節定義在模板中,接口調用命令是 plim qos input class-map class-map-index , 適用於接口類型:POS SPA , channelized SPA , clear-channel SPA
plim qos input weight 命令用於共享低優先級包的額外帶寬 ,給接口分配權重,有分配給別的接口的權重有關,帶寬是在這些接口上共享的,額外的帶寬是保留給高優先級隊列的包,只適用於 clear-channel SPAs
Syntax Description
class-map Maps the ingress classification template class map to the interface.
class-map index The index classification template number for which the classification criteria is applied to the interface.
weight Schedules the weight assigned to an interface to share excess bandwidth among low priority packets.
weight-value The weight value assigned to an interface to share excess bandwidth among low priority packets. The excess bandwidth assigned to the interface is relative and dependent on free bandwith assigned to other interfaces and the free bandwidth available. The valid range is 40 to 10000.
-------------------------------------------------------------------
默認: SIP0 使用模板 1 - 62 ,SIP1使用模板 63 - 124
配置模式: 主接口配置
-------------------------------------------------------------------
使用指南:
分類模板詳細細節定義在模板中,接口調用命令是 plim qos input class-map class-map-index , 適用於接口類型:POS SPA , channelized SPA , clear-channel SPA
plim qos input weight 命令用於共享低優先級包的額外帶寬 ,給接口分配權重,有分配給別的接口的權重有關,帶寬是在這些接口上共享的,額外的帶寬是保留給高優先級隊列的包,只適用於 clear-channel SPAs
注:在接口上對“strict-priority”隊列配置最小帶寬是不允許的,如果用了,已存在的配置會拒絕產生錯誤
-------------------------------------------------------------------
舉例:POS口2.5G的光纖口
router(config)# int POS 0/2/0
router(if)# plim qos input class-map 2
-------------------------------------------------------------------
舉例:POS口2.5G的光纖口
router(config)# int POS 0/2/0
router(if)# plim qos input class-map 2
router(config)# int POS 0/2/0
router(if)# plim qos input weight 50
router(if)# plim qos input weight 50
實例:
interface Port-channel1
no ip address
no negotiation auto
plim qos input map ip dscp-based
plim qos input map ip dscp 32 queue strict-priority
plim qos input map ipv6 tc 32 queue strict-priority
no ip address
no negotiation auto
plim qos input map ip dscp-based
plim qos input map ip dscp 32 queue strict-priority
plim qos input map ipv6 tc 32 queue strict-priority
-------------------------------------------------------------------
plim qos input map cos (qos for VLAN) - 只適用於 Ethernet SPAs
plim qos input map cos (qos for VLAN) - 只適用於 Ethernet SPAs
Command to Classify the CoS Values for Inner VLAN as High Priority or Low Priority
plim qos input map cos {enable | inner-based | inner {cos-value | cos-range} queue {strict-priority | 0}}
no plim qos input map cos {enable | inner-based | inner {cos-value | cos-range} queue {strict-priority | 0}}
Command to Classify the CoS Values for Outer VLAN as High Priority or Low Priority
plim qos input map cos {enable | outer-based | outer {cos-value | cos-range} queue {strict-priority | 0}}
no plim qos input map cos {enable | outer-based | outer {cos-value | cos-range} queue {strict-priority | 0}}
-------------------------------------------------------------------
Systax Description
-------------------------------------------------------------------
Systax Description
strict-priority Classifies the specified CoS value or range as high priority (low latency).
0 Classifies the specified CoS value or range as low priority (queue 0).
enable Enables IEEE 802.1Q CoS based classification.
inner-based Enables an inner VLAN based configuration. To configure the CoS values for an inner VLAN, you must first enable the inner VLAN based configuration.
outer-based Enables an outer VLAN based configuration. To configure the CoS values for an outer VLAN, you must first enable the outer VLAN based configuration.
inner Allows you to configure the CoS value or range requiring strict-priority for inner VLANs.
cos-value The inner or outer VLAN CoS value for which you want to classify the packets mapping the CoS value as high priority or low priority.
cos-range The inner or outer VLAN CoS range for which you want to classify the packets mapping the CoS range as high priority or low priority.
queue Enables the classification of inner or outer VLAN CoS values or CoS range as high priority or low priority.
-------------------------------------------------------------------
默認: 外部VLAN的6-7級CoS作爲高優先級
模式:QinQ 子接口
-------------------------------------------------------------------
The following example shows how to classify a CoS value 3 of an inner VLAN as high priority:
0 Classifies the specified CoS value or range as low priority (queue 0).
enable Enables IEEE 802.1Q CoS based classification.
inner-based Enables an inner VLAN based configuration. To configure the CoS values for an inner VLAN, you must first enable the inner VLAN based configuration.
outer-based Enables an outer VLAN based configuration. To configure the CoS values for an outer VLAN, you must first enable the outer VLAN based configuration.
inner Allows you to configure the CoS value or range requiring strict-priority for inner VLANs.
cos-value The inner or outer VLAN CoS value for which you want to classify the packets mapping the CoS value as high priority or low priority.
cos-range The inner or outer VLAN CoS range for which you want to classify the packets mapping the CoS range as high priority or low priority.
queue Enables the classification of inner or outer VLAN CoS values or CoS range as high priority or low priority.
-------------------------------------------------------------------
默認: 外部VLAN的6-7級CoS作爲高優先級
模式:QinQ 子接口
-------------------------------------------------------------------
The following example shows how to classify a CoS value 3 of an inner VLAN as high priority:
Router# config
Router(config)# interface gigabitethernet 0/0/0.1
Router(config-subif)# plim qos input map inner-based
Router(config-subif)# plim qos input map inner-vlan cos 3 queue strict-priority
Router(config)# interface gigabitethernet 0/0/0.1
Router(config-subif)# plim qos input map inner-based
Router(config-subif)# plim qos input map inner-vlan cos 3 queue strict-priority
The following example shows how to classify a CoS value 3 of an outer VLAN as high priority:
Router# config
Router(config)# interface gigabitethernet 0/0/0.1
Router(config-subif)# plim qos input map outer-based
Router(config-subif)# plim qos input map outer-vlan cos 3 queue strict-priority
Router(config)# interface gigabitethernet 0/0/0.1
Router(config-subif)# plim qos input map outer-based
Router(config-subif)# plim qos input map outer-vlan cos 3 queue strict-priority