Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 349

Network OS NETCONF Operations Guide
317
53-1003231-02
Virtual Fabric configuration with NETCONF overview
23
1. Create classification rules for the primary and isolated or community VLANs at the respective
primary and host ports.
a. Use the <private-vlan-trunk> and <trunk-promiscuous/> nodes to configure interface
tengigabitethernet 11/0/1 as the primary promiscuous trunk port.
<?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">
<tengigabitethernet>
<name>11/0/1</name>
<switchport-basic>
<basic/>
</switchport-basic>
<switchport>
<mode>
<private-vlan>
<private-vlan-trunk>
<trunk-promiscuous/>
</private-vlan-trunk>
</private-vlan>
</mode>
</switchport>
</tengigabitethernet>
</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>
b. Use the <private-vlan-trunk> and <trunk-host/> nodes to configure interface
tengigabitethernet 11/0/2 as the isolated trunk port.
<?xml version="1.0" encoding="UTF-8"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="5"
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">
<tengigabitethernet>
<name>11/0/2</name>
<switchport-basic>
<basic/>
</switchport-basic>
<switchport>
<mode>
<private-vlan>