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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 622
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 540
Network OS NETCONF Operations Guide 509
53-1003231-02
Configuring and activating an IP route policy
32
<target>
<running/>
</target>
<config>
<ip xmlns="urn:brocade.com:mgmt:brocade-common-def">
<hide-prefix-holder
xmlns="urn:brocade.com:mgmt:brocade-ip-policy>
<prefix-list>
<name>pretest</name>
<instance>2</instance>
<action-ipp>permit</action-ipp>
<prefix-ipp>1.1.0.0/24</prefix-ipp>
</prefix-list>
</hide-prefix-holder>
</ip>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="913"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
b. Create the route map instance.
The following example provides a route-map that permits routes allowed by the prefix list
named pretest.
<rpc message-id="913" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<hide-routemap-holder
xmlns="urn:brocade.com:mgmt:brocade-ip-policy>
<route-map>
<name>test</name>
<action-rm>permit</action-rm>
<instance>1</instance>
<content>
<match>
<ip>
<next-hop>
<prefix-list-rmm-n>pre-test
</prefix-list-rmm-n>
</next-hop>
</ip>
</match>
</content>
</route-map>
</hide-routemap-holder>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="913"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Vista de página 540
1 2 ... 536 537 538 539 540 541 542 543 544 545 546 ... 621 622

Comentários a estes Manuais

Sem comentários