Applying queue policies and profiles to subinterfaces

To apply the queue policies and profiles to a subinterface, use the buffer-allocation-profile, queue-management-profile, and scheduler-policy commands under the qos interfaces interface output context.

Apply queue policies and profiles to a subinterface

--{ candidate shared default }--[  ]--
# info with-context qos interfaces interface eth1.10
    qos {
        interfaces {
            interface eth1.10 {
                interface-ref {
                    interface ethernet-1/1
                    subinterface 10
                }
                output {
                    buffer-allocation-profile sub-if-buffer-profile
                    queues {
                        queue test-unicast-queue {
                            queue-management-profile wred-ecn-1
                        }
                    }
                    scheduler {
                        scheduler-policy subinterface-scheduler-policy
                    }
                }
            }
        }
    }