Brocade Network OS NETCONF Operations Guide v4.1.1 Manuale Utente Pagina 445

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 622
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 444
Network OS NETCONF Operations Guide 413
53-1003231-02
ACL configuration and management
28
3. Under the <extended> node, include the <name> element, and specify the name of the
standard ACL you want to delete.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2406" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<mac xmlns="urn:brocade.com:mgmt:brocade-mac-access-list">
<access-list>
<extended xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
operation="delete">
<name>test_02</name>
</extended>
</access-list>
</mac>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2406" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Obtaining the MAC ACL applied to an interface
You can query the MAC ACL applied to an interface using the <get-mac-acl-for-intf> custom RPC. By
omitting all input parameters, you can obtain the results for all interfaces, but only in the ingress
direction. If you specify an interface, you can request results for the ingress direction, the egress
direction, or both the ingress and egress directions.
<?xml version="1.0" encoding="UTF-8"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="2407">
<get-mac-acl-for-intf xmlns="urn:brocade.com:mgmt:brocade-mac-access-list">
<interface-type>l2vlan</interface-type>
<interface-name>50</interface-name>
<direction>all</direction>
</get-mac-acl-for-intf>
</rpc>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="2407">
<get-mac-acl-for-intf xmlns="urn:brocade.com:mgmt:brocade-mac-access-list">
<interface>
<interface-type>l2vlan</interface-type>
<interface-name>50</interface-name>
<ingress-policy>
<policy-name>test_02</policy-name>
</ingress-policy>
<egress-policy>
<policy-name>test_01</egress-policy>
</egress-policy>
</interface>
</get-mac-acl-for-intf>
</rpc-reply>
Vedere la pagina 444
1 2 ... 440 441 442 443 444 445 446 447 448 449 450 ... 621 622

Commenti su questo manuale

Nessun commento