Disassociating a port-profile from a mac address – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 288

Advertising
background image

256

Network OS NETCONF Operations Guide

53-1003231-02

Configuring AMPP port-profiles

19

<static>

<mac-address>0050.56bf:0002</mac-address>

</static>

</port-profile>

<port-profile>

<name>vm1-port-profile</name>

<static>

<mac-address>0050.56bf:0003</mac-address>

</static>

</port-profile>

<port-profile>

<name>vm1-port-profile</name>

<static>

<mac-address>0050.56bf:0004</mac-address>

</static>

</port-profile>

<port-profile>

<name>vm1-port-profile</name>

<static>

<mac-address>0050.56bf:0005</mac-address>

</static>

</port-profile>

</port-profile-global>

</config>

</edit-config>

</rpc>

<rpc-reply message-id="1718" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<ok/>

</rpc-reply>

Disassociating a port-profile from a MAC address

A significant step in creating a port-profile is associating the port-profile with the MAC address of
host. In the event a MAC address must be changed, perform this task for the port profile, and then
repeat the steps for associating the port-profile to the MAC address. Refer to

“Configuring VLAN

profiles”

,

“Configuring FCoE profiles”

,

“Configuring QoS profiles”

, and

“Configuring security

profiles”

.

NOTE

You may delete multiple MAC addresses from a single port-profile in a NETCONF cal.

1. Issue the <edit-config> RPC to configure the <port-profile-global> node in the

urn:brocade.com:mgmt:brocade-port-profile namespace.

2. In the <name> element, specify the port-profile you want to modify,

3. In the <static> element, include the delete operation in the opening tag.

4. Specify <mac-address> you want to delete.

<?xml version="1.0" encoding="UTF-8"?>

<rpc message-id="1719" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<edit-config>

<target>

<running/>

</target>

<config>

<port-profile-global

Advertising