Brocade Network OS NETCONF Operations Guide v4.1.1 Uživatelský manuál Strana 451

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 622
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 450
Network OS NETCONF Operations Guide 419
53-1003231-02
IP ACL
28
6. Under the <access-group> node, include the <ip-access-list> or <ipv6-access-list> leaf node,
and specify the name of the access list.
The following example applies stdV6ACL1 to the 101/0/1 interface.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="2410" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<interface xmlns="urn:brocade.com:mgmt:brocade-interface">
<tengigabitethernet>
<name>101/0/1</name>
<ip-acl-interface>
<access-group
xmlns="urn:brocade.com:mgmt:brocade-ipv6-access-list">
<ipv6-access-list>stdV6ACL1</ipv6-access-list>
</access-group>
</ip-acl-interface>
</tengigabitethernet>
</interface>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2410" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Binding an ACL in standalone mode or fabric cluster mode
In standalone or fabric cluster mode, an ACL can be applied to any node present in the cluster by
specifying its RBridge ID. One ACL per IPv4 and one ACL per IPv6 can be applied to the
management interface. Applying a new ACL replaces the ACL that was previously applied.
Removing the active ACL results in default behavior of “permit any.”
You can bind an IP ACL in the ingress direction for the management interface, and you are not
required to create an ACL before binding it to the management interface.
On a management interface, the default action of “permit any” is inserted at the end of an ACL that
has been bound.
NOTE
Before downgrading firmware, you must unbind any ACLs on the management interface, or the
downgrade will be blocked.
Obtaining the IP or IPv6 ACL configuration
To obtain the IP or IPv6 ACL configuration, issue the <get-config> RPC to retrieve the access list.
Set up the filter to restrict the output to the part of the configuration you want to retrieve.
The following example returns the entire IP ACL configuration.
?xml version="1.0" encoding="UTF-8"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="2411">
Zobrazit stránku 450
1 2 ... 446 447 448 449 450 451 452 453 454 455 456 ... 621 622

Komentáře k této Příručce

Žádné komentáře