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

Network OS NETCONF Operations Guide
307
53-1003231-02
VXLAN configuration and management
22
<vlan-action>add</vlan-action>
<vlan-list>5,15-17</vlan-list>
</statistics>
</enable>
</overlay-gateway>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="6" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
7. (optional) Within the <overlay-gateway> container, include the <monitor> node. Set the
element values for the <monitor> node as listed below:
•
Set the <session> element to 1. This SPAN session must be pre-configured. Refer to
Chapter 32, “Configuring Switched Port Analyzer”
.
•
Set the <direction> element to both.Set the <remote-endpoint> element to any.
•
Set the <vlan-add-remove> element to 41-43.
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="7">
<edit-config>
<target>
<running></running>
</target>
<config>
<overlay-gateway xmlns="urn:brocade.com:mgmt:brocade-tunnels">
<name>name1</name>
<monitor>
<session>1</session>
<direction>both</direction>
<remote-endpoint>any</remote-endpoint>
<vlan-add-remove>add</vlan-add-remove>
<vlan-range>5,14-17</vlan-range>
</monitor>
</overlay-gateway>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="7" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
8. Within the <overlay-gateway> container, include the <activate/> element. The presence of this
element activates the VXLAN gateway.
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="8">
<edit-config>
<target>
<running></running>
</target>
<config>
<overlay-gateway xmlns="urn:brocade.com:mgmt:brocade-tunnels">
<name>name1</name>
<activate></activate>
</overlay-gateway>
</config>
</edit-config>