beautypg.com

Modifying mac acl rules – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 443

background image

Network OS NETCONF Operations Guide

411

53-1003231-02

ACL configuration and management

28

test_02

in

Modifying MAC ACL rules

You cannot modify the existing rules of a MAC ACL. However, you can remove the rule and then
recreate it with the desired changes.

Use a sequence number to specify the rule you wish to modify. Without a sequence number, a new
rule is added to the end of the list, and existing rules are unchanged.

Using the permit and deny keywords, you can create many different rules. The examples in this
section provide the basic knowledge needed to modify MAC ACLs.

To modify a MAC ACL, perform the following steps.

1. Issue the RPC to configure the node in the

urn:brocade.com:mgmt:brocade-mac-access-list workspace.

2. Under the node, include the / or /

hierarchy of node elements.

3. Under the or node, include the element and specify the

name of the ACL you want to modify.

4. Under the or node, include the node and include the delete

operation in the element tag.

5. Under the node, include the leaf element, and specify the sequence ID of the

rule you want to change.

This action deletes the rule. The following example deletes rule 100. It assumes that test_02
contains an existing rule number 100 with the “deny any any” options.

test_02

operation="delete">

100