Adding static addresses to the mac address table, Private vlans – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 330

298
Network OS NETCONF Operations Guide
53-1003231-02
Private VLANs
21
Adding static addresses to the MAC address table
To add a static address to the MAC address table, perform the following steps.
1. Issue an <edit-config> RPC to configure the <mac-address-table> node in the
urn:brocade.com:mgmt:brocade-mac-address-table namespace.
2. Under the <mac-address-table> node, specify the <static> node element.
3. Under the <static> node element, specify the following leaf elements.
a. In the <mac-address> element, specify a MAC address in the format nnnn.nnnn.nnnn.
b. In the <forward> element, specify “forward”.
c. In the <interface-type> element, specify the type of interface—For example
“tengigabitethernet”.
d. In the <interface-name> element, specify the name of the interface in the form
[rbridge-id/]slot/port.
e. In the <vlan> element, specify “vlan”.
f.
In the <vlan-id> element, set an integer that identifies the VLAN.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="1925" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<mac-address-table
xmlns="urn:brocade.com:mgmt:brocade-mac-address-table">
<static>
<mac-address>0011.2222.3333</mac-address>
<forward>forward</forward>
<interface-type>tengigabitethernet</interface-type>
<interface-name>66/0/1</interface-name>
<vlan>vlan</vlan>
<vlan-id>100</vlan-id>
</static>
</mac-address-table>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1925" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Private VLANs
A private VLAN (PVLAN) domain is built with at least one pair of VLAN IDs; one (and only one)
primary VLAN ID plus one or more secondary VLAN IDs. A primary VLAN is the unique and common
VLAN identifier of the whole private VLAN domain and of all its VLAN ID pairs. Secondary VLANs can
be configured as one of two types; either isolated VLANs or community VLANs. Only one isolated
VLAN can be part of one PVLAN domain.