Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 534

Advertising
background image

502

Network OS NETCONF Operations Guide

53-1003231-02

Configuring RSPAN

32

The following example configures an RSPAN session. It designates 1/0/11 as the source port and
VLAN 1010 as the destination.

<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">

<edit-config>

<target>

<running></running>

</target>

<config>

<monitor xmlns="urn:brocade.com:mgmt:brocade-span">

<session>

<session-number>1</session-number>

<span-command>

<source>source</source>

<src-tengigabitethernet>tengigabitethernet

</src-tengigabitethernet>

<src-tengigabitethernet-val>1/0/11

</src-tengigabitethernet-val>

<destination>destination</destination>

<dest-tengigabitethernet>rspan-vlan</dest-tengigabitethernet>

<dest-vlan-val>1010</dest-vlan-val>

<direction>both</direction>

</span-command>

</session>

</monitor>

</config>

</edit-config>

</rpc>

Advertising