Configuring a Parameter Definition for QoS Downstream Rate
To associate a parameter instance with the QoS downstream rate application:
- Configure traffic classes.
- host1(config)#traffic-class voice
- host1(config-traffic-class)#exit
- host1(config)#traffic-class best-effort
- host1(config-traffic-class)#exit
- Create a parameter definition for the QoS downstream rate
application.
- Configure the QoS parameter name and the application.
- host1(config)#qos-parameter-define downstreamVLAN application qos-downstream-rate
- Configure controlled-interface types.
- host1(config-qos-parameter-define)#controlled-interface-type vlan
- host1(config-qos-parameter-define)#controlled-interface-type ip
- Configure subscriber-interface types.
- host1(config-qos-parameter-define)#subscriber-interface-type vlan
- Configure the QoS parameter name and the application.
- Do one of the following:
- For VLANs, configure the shaping mode by creating a parameter
definition with the QoS cell mode application. Ensure that you specify
a subscriber-interface type.
See Configuring a Parameter Definition to Shape Ethernet Traffic Using Cell Mode.
- For ATM VCs, configure the shaping mode by issuing the qos-shaping-mode command.
- For VLANs, configure the shaping mode by creating a parameter
definition with the QoS cell mode application. Ensure that you specify
a subscriber-interface type.
- Enable QoS adaptive mode for the system by issuing the qos-adaptive-mode command in L2C Configuration mode.
- host1(config)#l2c
- host1(config-l2c)#qos-adaptive-mode
- Enable the QoS downstream rate application to use downstream
rates obtained from the Actual-Data-Rate-Downstream [26-130] DSL Forum
VSA.
- host1(config)#aaa qos downstream-rate
- Configure the scheduler profile for the shaping rate.
- host1(config)#scheduler-profile vlan1
- host1(config-scheduler-profile)#shared-shaping-rate downstreamVLAN * 5 auto
- Configure the QoS profile for the shaping rate.
- host1(config)#qos-profile vlan1
- host1(config-qos-profile)#vlan node scheduler-profile vlan1
- Attach the QoS profile to a logical Ethernet interface.
ANCP or AAA dynamically creates the parameter instances for the QoS downstream rate application, and if applicable, the QoS cell mode application; therefore, you do not need to specify them.
- host1(config)#interface gigabitEthernet 6/0/2
- host1(config-if)#encapsulation vlan
- host1(config-if)#interface gigabitEthernet 6/0/2.1
- host1(config-if)#vlan id 1
- host1(config-if)#qos-profile vlan1
- host1(config-if)#ip address 6.10.10.10 255.255.255.255