Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 347

Advertising
background image

Network OS NETCONF Operations Guide

315

53-1003231-02

Virtual Fabric configuration with NETCONF overview

23

</private-vlan>

</vlan>

</interface>

</interface-vlan>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

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

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

xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

<edit-config>

<target>

<running/>

</target>

<config>

<interface-vlan xmlns="urn:brocade.com:mgmt:brocade-interface">

<interface>

<vlan>

<name>7000</name>

<private-vlan>

<pvlan-type-leaf>isolated</pvlan-type-leaf>

</private-vlan>

</vlan>

</interface>

</interface-vlan>

</config>

</edit-config>

</rpc>

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

<ok/>

</rpc-reply>

3. Using the <private-vlan>/<association> node, associate the secondary PVLANs (isolated and

community) with the primary PVLAN using the <sec-assoc-add> node.

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

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

<edit-config>

<target>

<running/>

</target>

<config>

<interface-vlan xmlns="urn:brocade.com:mgmt:brocade-interface">

<interface>

<vlan>

<name>5000</name>

<private-vlan>

<association>

<sec-assoc-add>6000</sec-assoc-add>

</association>

</private-vlan>

</vlan>

</interface>

Advertising