Brocade Network OS NETCONF Operations Guide v4.1.1 Manuel d'utilisateur Page 465

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 622
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 464
Network OS NETCONF Operations Guide 433
53-1003231-02
Queueing
29
<dscp-in-values>12,14,16,18</dscp-in-values>
<to>20</to>
</mark>
<mark>
<dscp-in-values>2,4,6,8</dscp-in-values>
<to>10</to>
</mark>
</dscp-mutation>
</map>
</qos>
</rpc-reply>
2. Return a list of interfaces that are bound to a DSCP mutation QoS map using an xpath filter.
You must use an xpath filter and not a subtree filter in this case because the element to be
used for the selection criteria (<dscp-mutation>name</dscp-mutation>) resides at a lower
level in the hierarchy than the information to be retrieved (the interface name).
The following example returns the interface names to which the DSCP mutation QoS map
named “test” is bound. In this case, the map named “test” is bound to interfaces 0/59 and
0/60.
<?xml version="1.0" encoding="UTF-8"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="2313">
<get-config>
<source>
<running></running>
</source>
<filter type="xpath"
select="/interface/tengigabitethernet/qos[dscp-mutation='test']">
</filter>
</get-config>
</rpc>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="2613">
<data>
<interface xmlns="urn:brocade.com:mgmt:brocade-interface">
<tengigabitethernet>
<name>0/59</name>
<qos xmlns="urn:brocade.com:mgmt:brocade-qos">
<default-cos>0</default-cos>
<dscp-mutation>test</dscp-mutation>
</qos>
</tengigabitethernet>
<tengigabitethernet>
<name>0/60</name>
<qos xmlns="urn:brocade.com:mgmt:brocade-qos">
<default-cos>0</default-cos>
<dscp-mutation>test</dscp-mutation>
</qos>
</tengigabitethernet>
</interface>
</data>
</rpc-reply>
Vue de la page 464
1 2 ... 460 461 462 463 464 465 466 467 468 469 470 ... 621 622

Commentaires sur ces manuels

Pas de commentaire