Provides instructions for applying QoS policies to bundle interfaces, including prerequisites, bundle configuration, inherited policy behavior, and examples for ingress and egress service policies.
Before you begin
When you attach a QoS policy to a bundle interface, the policy is inherited by member interfaces as applicable. The enforcement behavior depends on the QoS action, direction, and supported platform. Review the bundle-specific usage guidelines for shaping, queuing, and policing behavior before you configure the policy. Complete these prerequisites before you begin this procedure.
-
Prepare your class and policy definitions.
For more information on how to configure class maps and policy maps, see Classify Packets to Identify Specific Traffic in the Modular QoS Configuration Guide for Cisco 8000 Series Router.
-
Create the link bundle.
Procedure
|
1. |
Configure an Ethernet link bundle and attach the traffic policy to it.
Example:
Router(config)#interface Bundle-Ether 12000
Router(config-if)#mtu 9100
Router(config-if)#service-policy input ingress
Router(config-if)#service-policy output egress
Router(config-if)#ipv4 address 100.12.0.0 255.255.255.254
Router(config-if)#bundle maximum-active links 64
Router(config-if)#commit
This running configuration example shows how a queuing policy is applied on an Ethernet link bundle. The policy is applied to all interfaces that are members of the Ethernet link bundle.
/* Policy-map */
policy-map ingress
class inet4-classifier-af1
set qos-group 1
!
class inet4-classifier-af2
set qos-group 2
!
class inet4-classifier-af3
set qos-group 3
!
class inet4-classifier-af4
set qos-group 4
!
class inet4-classifier-be1
set qos-group 5
!
class inet4-classifier-nc1
set qos-group 6
!
class class-default
!
end-policy-map
!
/* Ether Bundle */
interface Bundle-Ether12000
mtu 9100
service-policy input ingress
service-policy output egress
ipv4 address 100.12.0.0 255.255.255.254
load-interval 30
!
|
|
2. |
Verify that the bundle status is up.
Example:
router#show bundle bundle-ether 1200
Wed Dec 16 19:55:49.974 PST
Bundle-Ether12000
Status: Up
Local links <active/standby/configured>: 35 / 0 / 35
Local bandwidth <effective/available>: 3500000000 (3500000000) kbps
MAC address (source): ea3b.745f.c4b0 (Chassis pool)
Inter-chassis link: No
Minimum active links / bandwidth: 1 / 1 kbps
Maximum active links: 64
Wait while timer: 2000 ms
Load balancing: Default
LACP: Operational
Flap suppression timer: Off
Cisco extensions: Disabled
Non-revertive: Disabled
mLACP: Not configured
IPv4 BFD: Not configured
Port Device State Port ID B/W, kbps
-------------------- --------------- ----------- -------------- ----------
Hu0/4/0/0 Local Active 0x8000, 0x0009 100000000
Link is Active
Hu0/4/0/1 Local Active 0x8000, 0x000a 100000000
Link is Active
- - -
- - -
Hu0/4/0/35 Local Active 0x8000, 0x002b 100000000
Link is Active
|
|
3. |
Verify the bundle statistics.
Example:
router#show policy-map interface bundle-ether 12000
Bundle-Ether12000 input: ingress
Class inet4-classifier-af1
Classification statistics (packets/bytes) (rate - kbps)
Matched : 4647401962/21236124455654 26403040
Transmitted : 4647401962/21236124455654 26403040
Total Dropped : 0/0 0
Class inet4-classifier-af2
Classification statistics (packets/bytes) (rate - kbps)
Matched : 4502980177/20576584333939 25571493
Transmitted : 4502980177/20576584333939 25571493
Total Dropped : 0/0 0
Class inet4-classifier-af3
Classification statistics (packets/bytes) (rate - kbps)
Matched : 4647404125/21236213667880 26389086
Transmitted : 4647404125/21236213667880 26389086
Total Dropped : 0/0 0
Class inet4-classifier-af4
Classification statistics (packets/bytes) (rate - kbps)
Matched : 9291188840/42456120548683 52771168
Transmitted : 9291188840/42456120548683 52771168
Total Dropped : 0/0 0
Class inet4-classifier-be1
Classification statistics (packets/bytes) (rate - kbps)
Matched : 4647413429/21235847852686 26393414
Transmitted : 4647413429/21235847852686 26393414
Total Dropped : 0/0 0
Class inet4-classifier-nc1
Classification statistics (packets/bytes) (rate - kbps)
Matched : 9294887621/42473100149807 52778258
Transmitted : 9294887621/42473100149807 52778258
Total Dropped : 0/0 0
Class class-default
Classification statistics (packets/bytes) (rate - kbps)
Matched : 0/0 0
Transmitted : 0/0 0
Total Dropped : 0/0 0
Bundle-Ether12000 output: egress
Class c1
Classification statistics (packets/bytes) (rate - kbps)
Matched : 16665494532/75878118942463 8760591
Transmitted : 16655834643/75834136022017 8760591
Total Dropped : 9659889/43982920446 0
Queueing statistics
Queue ID : None (Bundle)
Taildropped(packets/bytes) : 9659889/43982920446
Class c2
Classification statistics (packets/bytes) (rate - kbps)
Matched : 16665421959/75877849543188 8718687
Transmitted : 16665421959/75877849543188 8718687
Total Dropped : 0/0 0
Queueing statistics
Queue ID : None (Bundle)
Taildropped(packets/bytes) : 0/0
Class c3
Classification statistics (packets/bytes) (rate - kbps)
Matched : 16665247833/75877509455458 8703470
Transmitted : 16665187414/75877234624197 8703470
Total Dropped : 60419/274831261 0
Queueing statistics
Queue ID : None (Bundle)
Taildropped(packets/bytes) : 60419/274831261
Class c4
Classification statistics (packets/bytes) (rate - kbps)
Matched : 33330896131/151755393012945 17470745
Transmitted : 33330745421/151754709368565 17470745
Total Dropped : 150710/683644380 0
Queueing statistics
Queue ID : None (Bundle)
Taildropped(packets/bytes) : 150710/683644380
Class c5
Classification statistics (packets/bytes) (rate - kbps)
Matched : 16878910340/76849791869834 8833394
Transmitted : 16878849464/76849514633309 8833394
Total Dropped : 60876/277236525 0
Queueing statistics
Queue ID : None (Bundle)
Taildropped(packets/bytes) : 60876/277236525
Class c6
Classification statistics (packets/bytes) (rate - kbps)
Matched : 33330898844/151756094112925 17456785
Transmitted : 33330752668/151755427708382 17456785
Total Dropped : 146176/666404543 0
Queueing statistics
Queue ID : None (Bundle)
Taildropped(packets/bytes) : 146176/666404543
Class c7
Classification statistics (packets/bytes) (rate - kbps)
Matched : 244106/79922040 74
Transmitted : 244106/79922040 74
Total Dropped : 0/0 0
Queueing statistics
Queue ID : None (Bundle)
Taildropped(packets/bytes) : 0/0
Class class-default
Classification statistics (packets/bytes) (rate - kbps)
Matched : 267075066180/1215993441123215 139917482
Transmitted : 267075066180/1215993441123215 139917482
Total Dropped : 0/0 0
Queueing statistics
Queue ID : None (Bundle)
Taildropped(packets/bytes) : 0/0
|