Deleting a port-profile-port – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 297

Advertising
background image

Network OS NETCONF Operations Guide

265

53-1003231-02

Configuring a port-profile-port

19

<ok/>

</rpc-reply>

Association of multiple port-profiles with an interface

The port-profile-port command allows a user to associate a profiled-port to a single port-profile or to
a port-profile domain that contains multiple port-profiles. The result is that all VLANs specified
therein are configured onto the port.

When neither the profile nor the domain keyword is used, the default is to apply only the 802.1Q
VLANs that exist in any port-profile that is configured on the switch. This is shown the following
example.

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

<rpc message-id="1720" 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>domain vDC1</name>

<port-profile-port/>

</tengigabitethernet>

</interface>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

Deleting a port-profile-port

To delete a port-profile-port assignment from an interface, issue the <edit-config> RPC to configure
the <interface> node in the urn:brocade.com:mgmt:brocade-interface namespace and specify the
following elements.

1. Under the <interface> node, specify the <gigabitethernet>, <tengigabitethernet>,

<fortygigabitethernet>, <hundredgigabitethernet>, or <port-channel> element, depending on
the type of interface you want to work on.

2. Under the <gigabitethernet>, <tengigabitethernet>, <fortygigabitethernet>,

<hundredgigabitethernet>, or <port-channel> element, use the <name> element to specify
the interface for which you want to remove the association with a port-profile.

3. Under the <gigabitethernet>, <tengigabitethernet>, <fortygigabitethernet>,

<hundredgigabitethernet>, or <port-channel> element, specify the <port-profile-port> element
and include the delete operation in the opening element tag.

The following example deletes the port-profile assignment from interface 1/0/1.

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

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

<edit-config>

<target>

Advertising