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

Network OS NETCONF Operations Guide
255
53-1003231-02
Configuring AMPP port-profiles
19
<port-profile xmlns="urn:brocade.com:mgmt:brocade-port-profile">
<name>vm1-port-profile</name>
<security-profile>
<mac>
<access-group>
<access-group-name>vm1-acl</access-group-name>
<in/>
</access-group>
</mac>
</security-profile>
</port-profile>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1716" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
3. Activate the profile.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="1717" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<port-profile-global
xmlns="urn:brocade.com:mgmt:brocade-port-profile">
<port-profile>
<name>vm1-port-profile</name>
<activate/>
</port-profile>
</port-profile-global>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1717" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
4. Associate the profile with the MAC address for each host.
<rpc message-id="1718" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<port-profile-global
xmlns="urn:brocade.com:mgmt:brocade-port-profile">
<port-profile>
<name>vm1-port-profile</name>
<static>
<mac-address>0050.56bf:0001</mac-address>
</static>
</port-profile>
<port-profile>
<name>vm1-port-profile</name>