Configuring vlan profiles – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 276

Advertising
background image

244

Network OS NETCONF Operations Guide

53-1003231-02

Configuring AMPP port-profiles

19

<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="1703" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<ok/>

</rpc-reply>

Configuring VLAN profiles

The VLAN profile defines the VLAN membership of the overall port-profile, which includes both the
tagged and untagged VLANs.

NOTE

Private VLAN port mode commands are not available for AMPP VLAN profiles.

To configure the VLAN profile, perform the following steps.

1. Deactivate the port-profile before modifying the VLAN profile.

AMPP profiles cannot be modified while active.

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

<rpc message-id="1704" 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 xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"

operation="delete"/>

</port-profile>

</port-profile-global>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

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

urn:brocade.com:mgmt:brocade-port-profile namespace and configure the following entities.

Advertising