Configuring an isolated pvlan – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 332

300
Network OS NETCONF Operations Guide
53-1003231-02
Private VLANs
21
<target>
<running/>
</target>
<config>
<interface-vlan xmlns="urn:brocade.com:mgmt:brocade-interface">
<interface>
<vlan>
<name>200</name>
<private-vlan>
<pvlan-type-leaf>community</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>
Configuring an isolated PVLAN
This procedure configures an isolated PVLAN.
1. Issue an <edit-config> RPC to configure the <vlan> node in the
urn:brocade.com:mgmt:brocade-vlan namespace.
2. Under the <vlan> node, specify the <private-vlan>/<pvlan-type-leaf> hierarchy of node
elements.
3. Under the <pvlan-type-leaf> element, give it the string value “isolated”.
<?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>200</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>