OC QoS

Querying Output Queuing Policy Stats

Querying Output Queuing Policy Stats
<nc:rpc xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:ff001f9d-55a9-4019-8050-5d077a8637a9">
  <nc:get>
    <nc:filter>
      <qos xmlns="http://openconfig.net/yang/qos">
        <interfaces>
          <interface>
            <interface-id>eth1/1</interface-id>
            <output>
              <queues/>
            </output>
          </interface>
        </interfaces>
      </qos>
    </nc:filter>
  </nc:get>
</nc:rpc>

Response:
<?xml version="1.0" ?>
<rpc-reply message-id="urn:uuid:ff001f9d-55a9-4019-8050-5d077a8637a9" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
  <data>
    <qos xmlns="http://openconfig.net/yang/qos">
      <interfaces>
        <interface>
          <interface-id>eth1/1</interface-id>
          <output>     
            <queues>       
              <queue>          
                <name>c-out-8q-q-default</name>
                <state>           
                  <name>c-out-8q-q-default</name>
                  <dropped-pkts>0</dropped-pkts>
                  <transmit-octets>0</transmit-octets>
                  <transmit-pkts>0</transmit-pkts>
                </state>    
              </queue>     
              <queue>           
                <name>c-out-8q-q1</name>
                <state>            
                  <name>c-out-8q-q1</name>
                  <dropped-pkts>0</dropped-pkts>
                  <transmit-octets>0</transmit-octets>
                  <transmit-pkts>0</transmit-pkts>
                </state>   
              </queue>     
              <queue>         
                <name>c-out-8q-q2</name>
                <state>           
                  <name>c-out-8q-q2</name>
                  <dropped-pkts>0</dropped-pkts>
                  <transmit-octets>0</transmit-octets>
                  <transmit-pkts>0</transmit-pkts>
                </state>  
              </queue>     
              <queue>          
                <name>c-out-8q-q3</name>
                <state>           
                  <name>c-out-8q-q3</name>
                  <dropped-pkts>0</dropped-pkts>
                  <transmit-octets>0</transmit-octets>
                  <transmit-pkts>0</transmit-pkts>
                </state>  
              </queue>     
              <queue>          
                <name>c-out-8q-q4</name>
                <state>           
                  <name>c-out-8q-q4</name>
                  <dropped-pkts>0</dropped-pkts>
                  <transmit-octets>0</transmit-octets>
                  <transmit-pkts>0</transmit-pkts>
                </state>   
              </queue>     
              <queue>          
                <name>c-out-8q-q5</name>
                <state>            
                  <name>c-out-8q-q5</name>
                  <dropped-pkts>0</dropped-pkts>
                  <transmit-octets>0</transmit-octets>
                  <transmit-pkts>0</transmit-pkts>
                </state>   
              </queue>     
              <queue>          
                <name>c-out-8q-q6</name>
                <state>          
                  <name>c-out-8q-q6</name>
                  <dropped-pkts>0</dropped-pkts>
                  <transmit-octets>0</transmit-octets>
                  <transmit-pkts>0</transmit-pkts>
                </state>   
              </queue>   
              <queue>        
                <name>c-out-8q-q7</name>
                <state>          
                  <name>c-out-8q-q7</name>
                  <dropped-pkts>0</dropped-pkts>
                  <transmit-octets>0</transmit-octets>
                  <transmit-pkts>0</transmit-pkts>
                </state
              </queue> 
            </queues>
          </output>
        </interface>
      </interfaces>
    </qos>
  </data>
</rpc-reply>

Note: This example was added in Release 9.3(5).


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right.

show policy-map interface ethernet 1/1 input type queuing

Querying Input Queuing Policy Stats

Querying Input Queuing Policy Stats
<nc:rpc xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:dd544266-6c2a-4af1-90b7-652a3c07f441">
  <nc:get>
    <nc:filter>
      <qos xmlns="http://openconfig.net/yang/qos">
        <interfaces>
          <interface>
            <interface-id>eth1/1</interface-id>
            <input>
              <queues/>
            </input>
          </interface>
        </interfaces>
      </qos>
    </nc:filter>
  </nc:get>
</nc:rpc>

Response:
<rpc-reply message-id="urn:uuid:dd544266-6c2a-4af1-90b7-652a3c07f441" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
  <data>
    <qos xmlns="http://openconfig.net/yang/qos">
      <interfaces>
        <interface>
          <interface-id>eth1/1</interface-id>
          <input>
            <queues>
              <queue>
                <name>c-in-q5</name> 
                <state>
                  <name>c-in-q5</name>
                  <dropped-pkts>0</dropped-pkts>
                </state>
              </queue>
            </queues>
          </input>
        </interface>
      </interfaces>
    </qos>
  </data>
</rpc-reply>

Note: This example was added in Release 9.3(5).


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right.

show queuing interface ethernet 1/1

Querying Output Classifier Stats

Querying Output Classifier Stats
<nc:rpc xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:657ae591-b57e-4f3e-94e2-dd773ab43c8f">
  <nc:get>
    <nc:filter>
      <qos xmlns="http://openconfig.net/yang/qos">
        <interfaces>
          <interface>
            <interface-id>eth1/2</interface-id>
            <output>
              <classifiers/>
            </output>
          </interface>
        </interfaces>
      </qos>
    </nc:filter>
  </nc:get>
</nc:rpc>

Response:
<rpc-reply message-id="urn:uuid:657ae591-b57e-4f3e-94e2-dd773ab43c8f" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
  <data>
    <qos xmlns="http://openconfig.net/yang/qos">
      <interfaces>
        <interface>
          <interface-id>eth1/2</interface-id>
          <output>
            <classifiers>
              <classifier>
                <terms>
                  <term>
                    <id>dscp3</id>
                    <state>
                      <id>dscp3</id>
                      <matched-octets>86127836037376</matched-octets>
                      <matched-packets>1345762612797</matched-packets>
                    </state>
                  </term>
                </terms>
                <state>
                  <name>pol_dscp_out</name>
                </state>
              </classifier>
            </classifiers>
          </output>
        </interface>
      </interfaces>
    </qos>
  </data>
</rpc-reply>

Note: This example was added in Release 9.3(5).


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right.

show policy-map interface ethernet1/2 output type qos

Querying Input Classifier Stats

Querying Input Classifier Stats
<nc:rpc xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:a2a23a78-cd1f-4c19-aab1-61a7f2fb51f3">
  <nc:get>
    <nc:filter>
      <qos xmlns="http://openconfig.net/yang/qos">
        <interfaces>
          <interface>
            <interface-id>eth1/1</interface-id>
            <input>
              <classifiers/>
            </input>
          </interface>
        </interfaces>
      </qos>
    </nc:filter>
  </nc:get>
</nc:rpc>

Response:
<rpc-reply message-id="urn:uuid:a2a23a78-cd1f-4c19-aab1-61a7f2fb51f3" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
        <data>
                <qos xmlns="http://openconfig.net/yang/qos">
                        <interfaces>
                                <interface>
                                        <interface-id>eth1/1</interface-id>
                                        <input>
                                                <classifiers>
                                                        <classifier>
                                                                <terms> 
                                                                       <term>
                                                                                <id>dscp3</id>
                                                                                <state>
                                                                                        <id>dscp3</id>
                                                                                        <matched-packets>0</matched-packets>
                                                                                  </state>
                                                                          </term>
                                                                        <term>
                                                                                <id>class-default</id>
                                                                                <state>
                                                                                        <id>class-default</id>
                                                                                        <matched-octets>109116</matched-octets>
                                                                                        <matched-packets>433</matched-packets>
                                                                                  </state>
                                                                          </term>
                                                                        <term>
                                                                                <id>dscp6</id>
                                                                                <state>
                                                                                        <id>dscp6</id>
                                                                                        <matched-packets>0</matched-packets> 
                                                                                 </state>
                                                                          </term>
                                                                  </terms>
                                                                <state>
                                                                        <name>pol_dscp</name>
                                                                  </state>
                                                          </classifier>
                                                  </classifiers>
                                          </input>
                                  </interface>
                          </interfaces> 
                 </qos>
          </data>
  </rpc-reply>

Note: This example was added in Release 9.3(5).


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right.

show policy-map interface ethernet1/1 input type qos

Querying Output Scheduler Policy Stats

Querying Output Scheduler Policy Stats
<nc:rpc xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:239e83b8-85c5-4c95-a67b-ed8cbc414fb4">
  <nc:get>
    <nc:filter>
      <qos xmlns="http://openconfig.net/yang/qos">
        <interfaces>
          <interface>
            <interface-id>eth1/2</interface-id>
            <output>
              <scheduler-policy/>
            </output>
          </interface>
        </interfaces>
      </qos>
    </nc:filter>
  </nc:get>
</nc:rpc>

Response:
<?xml version="1.0" ?>
<rpc-reply message-id="urn:uuid:239e83b8-85c5-4c95-a67b-ed8cbc414fb4" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
  <data>
    <qos xmlns="http://openconfig.net/yang/qos">
      <interfaces>
        <interface>
          <interface-id>eth1/2</interface-id>
          <output>
            <scheduler-policy>
              <schedulers>
                <scheduler>
                  <sequence>dscp3</sequence>
                  <state>
                    <conforming-octets>42462770462080</conforming-octets>
                    <violating-octets>43802305075968</violating-octets>
                    <sequence>dscp3</sequence>
                  </state>
                </scheduler>
              </schedulers>
              <state>
                <name>pol_dscp_out</name>
              </state>
            </scheduler-policy>
          </output>
        </interface>
      </interfaces>
    </qos>
  </data>
</rpc-reply>

Note: This example was added in Release 9.3(5).


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right.

show policy-map interface ethernet 1/2 output type qos

Querying Input Scheduler Policy Stats

Input Scheduler Policy Stats
<nc:rpc xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:6f8f95ad-bcc5-4533-b0fc-f1064fb96e1e">
  <nc:get>
    <nc:filter>
      <qos xmlns="http://openconfig.net/yang/qos">
        <interfaces>
          <interface>
            <interface-id>eth1/1</interface-id>
            <input>
              <scheduler-policy/>
            </input>
          </interface>
        </interfaces>
      </qos>
    </nc:filter>
  </nc:get>
</nc:rpc>

Response:
<?xml version="1.0" ?>
<rpc-reply message-id="urn:uuid:6f8f95ad-bcc5-4533-b0fc-f1064fb96e1e" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
  <data>
    <qos xmlns="http://openconfig.net/yang/qos">
      <interfaces>
        <interface>
          <interface-id>eth1/1</interface-id>]
          <input>
            <scheduler-policy>
              <schedulers>    
                <scheduler>        
                  <sequence>class-default</sequence>
                  <state>              
                    <conforming-octets>118188</conforming-octets>
                    <exceeding-octets>0</exceeding-octets>
                    <violating-octets>0</violating-octets>
                    <sequence>class-default</sequence>
                  </state>     
                </scheduler>  
                <scheduler>        
                  <sequence>dscp3</sequence>
                  <state>              
                    <conforming-octets>0</conforming-octets>
                    <exceeding-octets>0</exceeding-octets>
                    <violating-octets>0</violating-octets>
                    <sequence>dscp3</sequence>
                  </state>    
                </scheduler>
              </schedulers>
              <state>
                <name>pol_dscp</name>
              </state>
            </scheduler-policy>
          </input>
        </interface>
      </interfaces>
    </qos>
  </data>
</rpc-reply>

Note: This example was added in Release 9.3(5).


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right.

show policy-map interface ethernet 1/1 input type qos