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

Network OS NETCONF Operations Guide
501
53-1003231-02
Configuring RSPAN
32
4. Under the <vlan> node, set the value to <remote-span> to make the VLAN remote.
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="11">
<edit-config>
<target>
<running></running>
</target>
<config>
<interface-vlan xmlns="urn:brocade.com:mgmt:brocade-interface">
<interface>
<vlan>
<name>1010</name>
<remote-span xmlns="urn:brocade.com:mgmt:brocade-span">
</remote-span>
</vlan>
</interface>
</interface-vlan>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="11" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
5. Issue the <edit-config> RPC to configure the <monitor> node in the
urn:brocade.com:mgmt:brocade-span namespace.
6. Under the <monitor> node, include the <session> node element.
7. Under the <session> node, include the following leaf elements.
a. In the <session-number> field, identify the session with a unique session number.
b. Optional: In the <description> field, provide a descriptive text for the session.
8. Under the <session> node, include the <span-command> node element.
9. Under the <span-command> node, include the following leaf elements.
a. In the <source> element, specify “source” to designate subsequent parameters as
pertaining to the source port.
b. In the <src-tengigabitethernet> element, specify “tengigabitethernet”,
“fortygigabitethernet”, or “gigabitethernet”, depending on the source port type.
c. In the <src-tengigabitethernet-val> element, specify the source port in
[rbridge-id/]slot/port format.
d. In the <destination> element, specify “destination” to designate subsequent parameters
as pertaining to the destination port.
e. In the <dest-tengigabitethernet> element, specify “tengigabitethernet”,
“fortygigabitethernet”, or “gigabitethernet”, depending on the destination port type.
f.
In the <dest-vlan-val> element, specify the destination port in VLAN format.
g. In the <direction> element, specify “both” to configure bidirectional SPAN.