Configuring a vlan classifier rule – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 322

290
Network OS NETCONF Operations Guide
53-1003231-02
Configuring protocol-based VLAN classifier rules
21
NOTE
For complete information on all available VLAN classifier rule options, refer to the Network OS
Command Reference.
Configuring a VLAN classifier rule
To configure an ARP-based VLAN classifier rule, perform the following steps.
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, include the <classifier>/<rule> hierarchy of node elements.
3. Under the <rule> node, include the <ruleid> element, and set it to an integer representing the
rule ID.
4. Under the <rule> element, specify the <proto> node element.
5. Under the <proto> node element, include the <proto-val> leaf element and set its value to
“arp” to specify ARP.
6. Under the <proto> node element, include the <encap> element and set its value to “ethv2”.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="1915" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<vlan xmlns="urn:brocade.com:mgmt:brocade-vlan">
<classifier>
<rule>
<ruleid>5</ruleid>
<proto>
<proto-val>arp</proto-val>
<encap>ethv2</encap>
</proto>
</rule>
</classifier>
</vlan>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="1915" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
NOTE
Refer to the Network OS Command Reference for complete information on all the protocols available
for specifying VLAN classifier rules.
Configuring MAC address-based VLAN classifier rules
To configure a MAC address-based VLAN classifier rule, perform the following steps.