Brocade Network OS NETCONF Operations Guide v4.1.1 Manual do Utilizador Página 497

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 622
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 496
Network OS NETCONF Operations Guide 465
53-1003231-02
Port-based Policier
29
</target>
<config>
<policy-map xmlns="urn:brocade.com:mgmt:brocade-policer">
<po-name>pmap1</po-name>
<class>
<cl-name>default</cl-name>
<police>
<cir>1000</cir>
<cbs>5000</cbs>
<eir>1000</eir>
<ebs>3000</ebs>
<set-priority>pmap1</set-priority>
<conform-set-dscp>61</conform-set-dscp>
<conform-set-tc>7</exceed-set-tc>
<exceed-set-dscp>63</exceed-set-dscp>
<exceed-set-tc>3</exceed-set-tc>
</police>
</class>
</policy-map>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2345" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Attaching a port shaper to the policy map
You can specify the shaping rate per port attached to the class for the policy map. You can use this
command to smooth out the traffic egressing an interface.
A policy map can contain multiple classification maps. Configure a policy map to associate QoS and
policing parameters to traffic belonging to these classification maps. You can apply only one policy
map per interface per direction (ingress and egress). The <port-shape> element is allowed for the
egress direction. Refer to “Configuring the policy map” on page 464.
The <port-shape> element is mutually exclusive of the scheduler and police elements.
1. Issue the <edit-config> RPC to configure the <policy-map> node in the
urn:brocade.com:mgmt:brocade-policer namespace.
2. Under the <policy-map> node, include the <po-name> leaf element and specify a name for the
policy map.
The name for the policy map must be a character string up to 64 characters.
To delete a policy map, include the delete operation in the <policy-map> element tag.
3. Under the <policy-map> node, include a <class> node element for each policy map you want
to configure.
4. Under the <class> node, include the <cl-name> node and specify a name for the class.
Note that the class map name in the following example matches the name provided when you
create the class map (refer to “Configuring a class map” on page 461).
5. Under the <class> node, include the <shaping-rate> node for the interface.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2345" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
Vista de página 496
1 2 ... 492 493 494 495 496 497 498 499 500 501 502 ... 621 622

Comentários a estes Manuais

Sem comentários