Adding a c-tag classification to a native vlan – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 280

248
Network OS NETCONF Operations Guide
53-1003231-02
Configuring AMPP port-profiles
19
<switchport>
<trunk>
<trunk-vlan-classification>
<allowed>
<vlan>
<add>
<trunk-vlan-id>5111</trunk-vlan-id>
<trunk-ctag-id>111</trunk-ctag-id>
</add>
</vlan>
</allowed>
</trunk-vlan-classification>
</trunk>
</switchport>
</vlan-profile>
</port-profile>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
Adding a C-TAG classification to a native VLAN
This tasks demonstrates adding a C-TAG range to an existing native VLAN port-profile. In this
example, the native VLAN port-profile named “PROFILE_1”.
1. Issue an <edit-config> RPC to configure the <interface> node in the
urn:brocade.com:mgmt:brocade-port-profile namespace.
2. Under the <port-profile> node, specify the <name> element.
3. Under the <vlan-profile> element, include the following elements:
a. In the <name> element, specify the profile name.
b. Include the <switchport> elements to configure the profile as a trunk VLAN using the
<trunk> element.
c. Add the <native-vlan-classification> element and include the <allowed> and <vlan>
elements.
d. Specify the <native-vlan-id> value and the <native-ctag-range> value.
The following example configures a native VLAN with a C-TAG range.
<?xml version="1.0" encoding="UTF-8"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
<edit-config>
<target>
<running/>
</target>
<config>
<port-profile xmlns="urn:brocade.com:mgmt:brocade-port-profile">
<name>PROFILE_1</name>
<vlan-profile>
<switchport>
<trunk>
<native-vlan-classification>