Configuring a private vlan, Configuring a community pvlan – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 331

Network OS NETCONF Operations Guide
299
53-1003231-02
Private VLANs
21
An isolated VLAN is a secondary VLAN whose distinctive characteristic is that all hosts connected to
its ports are isolated at Layer 2. A community VLAN is a secondary VLAN that is associated to a
group of ports that connect to a designated community of end devices with mutual trust
relationships.
Configuring a private VLAN
This procedure configures the PVLAN and associates the secondary VLAN with the primary VLAN.
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 “primary”.
<?xml version="1.0" encoding="UTF-8"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="2"
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>primary</pvlan-type-leaf>
</private-vlan>
</vlan>
</interface>
</interface-vlan>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="2" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Configuring a community PVLAN
This procedure configures a community 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 “community”.
<?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>