Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 522

490
Network OS NETCONF Operations Guide
53-1003231-02
Flow-based sFlow
31
</access-list>
</mac>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="10" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
3. Create a class map and attach the ACL to the class map.
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="11">
<edit-config>
<target>
<running></running>
</target>
<config>
<class-map xmlns="urn:brocade.com:mgmt:brocade-policer">
<name>new_class_map</name>
</class-map>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="11" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="12">
<edit-config>
<target>
<running></running>
</target>
<config>
<class-map xmlns="urn:brocade.com:mgmt:brocade-policer">
<name>new_class_map</name>
<match>
<access-group>
<access-group-name>new_acl</access-group-name>
</access-group>
</match>
</class-map>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="12" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
4. Create a policy map and attach the class map to the policy map.
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="13">
<edit-config>
<target>
<running></running>
</target>
<config>
<policy-map xmlns="urn:brocade.com:mgmt:brocade-policer">